-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.3 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 3.3 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@knighted/duel",
"version": "4.1.0",
"description": "TypeScript dual packages.",
"type": "module",
"main": "dist/esm/duel.js",
"bin": {
"duel": "dist/esm/duel.js"
},
"exports": {
".": {
"import": "./dist/esm/duel.js",
"require": "./dist/cjs/duel.cjs",
"default": "./dist/esm/duel.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=22.21.1 <23 || >=24 <25 || >=26 <27"
},
"engineStrict": true,
"scripts": {
"prettier": "prettier -w *.js *.md *.json *.yml docs/*.md src/*.js test/*.js scripts/*.js",
"prettier:check": "prettier --check --ignore-unknown *.js *.md *.json *.yml docs/*.md src/*.js test/*.js scripts/*.js",
"lint": "eslint src/*.js test/*.js scripts/*.js",
"test:unit": "c8 --reporter=text --reporter=text-summary --reporter=lcov node --test --test-reporter=spec test/unit.js",
"test:integration": "node --test --test-reporter=spec test/integration.js",
"test:monorepos": "node --test --test-reporter=spec test/monorepos.js",
"test:cleanup": "node --test --test-reporter=spec test/cleanup.integration.js",
"test": "c8 --reporter=text --reporter=text-summary --reporter=lcov node --trace-deprecation --test --test-reporter=spec test/*.js",
"clean:fixtures": "node scripts/clean-fixtures.js",
"pretest": "npm run clean:fixtures",
"build": "node src/duel.js --dirs --mode globals",
"prepack": "npm run build",
"prepare": "husky"
},
"keywords": [
"node",
"typescript",
"dual package",
"es module",
"commonjs",
"esm",
"cjs",
"build",
"tsc",
"cts",
"mts",
"mjs"
],
"files": [
"dist"
],
"author": "KCM <knightedcodemonkey@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/knightedcodemonkey/duel.git"
},
"bugs": {
"url": "https://github.com/knightedcodemonkey/duel/issues"
},
"peerDependencies": {
"typescript": ">=5.5.0 <8",
"typescript-next": "npm:typescript@next",
"typescript-rc": "npm:typescript@rc"
},
"peerDependenciesMeta": {
"typescript-next": {
"optional": true
},
"typescript-rc": {
"optional": true
}
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@tsconfig/recommended": "^1.0.10",
"@types/node": "^25.9.1",
"c8": "^11.0.0",
"cross-spawn": "^7.0.6",
"eslint": "^10.4.0",
"eslint-plugin-n": "^18.0.1",
"globals": "^17.6.0",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"node-module-type": "^1.0.4",
"prettier": "^3.6.2",
"tsx": "^4.22.3",
"typescript": "^6.0.3",
"vite": "^8.0.16"
},
"dependencies": {
"@jridgewell/gen-mapping": "^0.3.13",
"@jridgewell/trace-mapping": "^0.3.31",
"@knighted/module": "^1.6.0",
"find-up": "^8.0.0",
"get-tsconfig": "^4.14.0",
"magic-string": "^0.30.21",
"read-package-up": "^12.0.0"
},
"overrides": {
"c8": {
"yargs": ">17.7.2 <19"
}
},
"lint-staged": {
"*.{js,mjs,cjs,ts,cts,mts,jsx,tsx}": [
"eslint --max-warnings=0 --no-warn-ignored",
"prettier --check --ignore-unknown"
],
"*.{md,json,yml,yaml}": [
"prettier --check --ignore-unknown"
]
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 90,
"semi": false,
"singleQuote": true
}
}