-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.37 KB
/
package.json
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "@knighted/specifier",
"version": "2.0.0-rc.1",
"description": "Node.js tool for updating your ES module and CommonJS specifiers.",
"type": "module",
"main": "dist",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"types": "./dist/index.d.cts",
"engines": {
"node": ">=20"
},
"engineStrict": true,
"scripts": {
"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": [
"specifier",
"es module",
"commonjs",
"esm",
"cjs",
"import",
"export",
"dynamic import",
"require",
"javascript",
"typescript",
"jsx",
"update",
"edit",
"change",
"map"
],
"files": [
"dist"
],
"author": "KCM <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/knightedcodemonkey/specifier.git"
},
"bugs": {
"url": "https://github.com/knightedcodemonkey/specifier/issues"
},
"dependencies": {
"@babel/parser": "^7.24.6",
"@babel/traverse": "^7.24.6",
"magic-string": "^0.30.10"
},
"devDependencies": {
"@babel/preset-env": "^7.24.6",
"@babel/preset-typescript": "^7.24.6",
"@babel/types": "^7.24.6",
"@eslint/js": "^9.3.0",
"@knighted/dump": "^1.0.2",
"@types/babel__traverse": "^7.20.6",
"@types/node": "^20.12.12",
"babel-dual-package": "^1.1.2",
"c8": "^9.1.0",
"eslint": "^9.3.0",
"eslint-plugin-n": "^17.7.0",
"prettier": "^3.2.5",
"tsx": "^4.11.0",
"typescript": "^5.4.5",
"typescript-eslint": "^8.0.0-alpha.18"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 90,
"semi": false,
"singleQuote": true
}
}