-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.19 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
{
"name": "@knighted/module",
"version": "1.0.0-alpha.4",
"description": "Converts module differences in source files between ES and CommonJS.",
"type": "module",
"main": "dist/module.js",
"exports": {
".": {
"import": {
"types": "./dist/module.d.ts",
"default": "./dist/module.js"
},
"require": {
"types": "./dist/cjs/module.d.cts",
"default": "./dist/cjs/module.cjs"
},
"default": "./dist/module.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=20.11.0"
},
"engineStrict": true,
"scripts": {
"prettier": "prettier -w .",
"lint": "eslint --ignore-pattern dist .",
"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 --extensions .ts",
"build": "npm run build:types && npm run build:dual",
"prepack": "npm run build"
},
"keywords": [
"transform",
"es module",
"commonjs",
"module",
"require",
"import.meta",
"__dirname",
"__filename",
"conversion",
"tool",
"build"
],
"files": [
"dist"
],
"author": "KCM <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/knightedcodemonkey/module.git"
},
"bugs": {
"url": "https://github.com/knightedcodemonkey/module/issues"
},
"devDependencies": {
"@babel/preset-env": "^7.24.6",
"@babel/preset-typescript": "^7.24.6",
"@babel/types": "^7.24.6",
"@eslint/js": "^9.3.0",
"@types/babel__traverse": "^7.20.6",
"@types/node": "^20.12.12",
"babel-dual-package": "^1.1.3",
"c8": "^9.1.0",
"eslint": "^9.3.0",
"eslint-plugin-n": "^17.7.0",
"prettier": "^3.2.5",
"tsx": "^4.11.2",
"typescript": "^5.4.5",
"typescript-eslint": "^8.0.0-alpha.26"
},
"dependencies": {
"@babel/parser": "^7.24.6",
"@babel/traverse": "^7.24.6",
"@knighted/specifier": "^2.0.0-rc.1",
"magic-string": "^0.30.10"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 119,
"semi": false,
"singleQuote": true
}
}