-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.09 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "@knighted/specifier",
"version": "2.0.9",
"description": "Node.js tool for updating your ES module and CommonJS specifiers.",
"type": "module",
"main": "dist",
"exports": {
".": {
"import": {
"types": "./dist/specifier.d.ts",
"default": "./dist/specifier.js"
},
"require": {
"types": "./dist/specifier.d.cts",
"default": "./dist/specifier.cjs"
},
"default": "./dist/specifier.js"
},
"./package.json": "./package.json"
},
"types": "./dist/specifier.d.cts",
"engines": {
"node": ">=20"
},
"engineStrict": true,
"scripts": {
"check-types": "tsc --noEmit",
"prettier": "prettier -w src/*.ts test/*.ts",
"lint": "eslint --ignore-pattern dist --ignore-pattern test/__fixtures__/syntaxError.js .",
"test": "c8 --reporter=text --reporter=text-summary --reporter=lcov tsx --test --test-reporter=spec test/*.ts",
"build:types": "tsc --emitDeclarationOnly",
"build:dual": "babel-dual-package src --copy-files --no-cjs-dir --extensions .ts",
"prebuild": "rm -rf ./dist",
"build": "npm run build:types && npm run build:dual",
"prepack": "npm run build"
},
"keywords": [
"parse imports",
"parse exports",
"rewrite specifiers",
"esm",
"cjs"
],
"files": [
"dist"
],
"author": "KCM <knightedcodemonkey@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/knightedcodemonkey/specifier.git"
},
"bugs": {
"url": "https://github.com/knightedcodemonkey/specifier/issues"
},
"dependencies": {
"@knighted/walk": "^1.0.1",
"magic-string": "^0.30.21",
"oxc-parser": "^0.99.0"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/node": "^24.10.1",
"babel-dual-package": "^1.2.2",
"c8": "^10.1.3",
"eslint": "^9.39.1",
"eslint-plugin-n": "^17.23.1",
"prettier": "^3.6.2",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.0"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 90,
"semi": false,
"singleQuote": true
}
}