-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.33 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
{
"name": "@knighted/specifier",
"version": "2.0.0-rc.2",
"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 <knightedcodemonkey@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/knightedcodemonkey/specifier.git"
},
"bugs": {
"url": "https://github.com/knightedcodemonkey/specifier/issues"
},
"dependencies": {
"@babel/parser": "^7.26.10",
"@babel/traverse": "^7.26.10",
"magic-string": "^0.30.17"
},
"devDependencies": {
"@babel/preset-env": "^7.26.9",
"@babel/preset-typescript": "^7.26.0",
"@babel/types": "^7.26.10",
"@eslint/js": "^9.3.0",
"@types/babel__traverse": "^7.20.6",
"@types/node": "^20.17.25",
"babel-dual-package": "^1.1.4",
"c8": "^9.1.0",
"eslint": "^9.22.0",
"eslint-plugin-n": "^17.7.0",
"prettier": "^3.5.3",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"typescript-eslint": "^8.27.0"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 90,
"semi": false,
"singleQuote": true
}
}