-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
84 lines (84 loc) · 2.07 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
{
"name": "@knighted/duel",
"version": "2.0.0-rc.2",
"description": "TypeScript dual packages.",
"type": "module",
"main": "dist/esm/duel.js",
"bin": "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": ">=20.11.0"
},
"engineStrict": true,
"scripts": {
"prettier": "prettier -w *.js src/*.js test/*.js",
"lint": "eslint src/*.js test/*.js",
"test:integration": "node --test --test-reporter=spec test/integration.js",
"test:monorepos": "node --test --test-reporter=spec test/monorepos.js",
"test": "c8 --reporter=text --reporter=text-summary --reporter=lcov node --test --test-reporter=spec test/integration.js test/monorepos.js",
"build": "node src/duel.js --dirs",
"prepack": "npm run build"
},
"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": "https://github.com/knightedcodemonkey/duel.git"
},
"bugs": {
"url": "https://github.com/knightedcodemonkey/duel/issues"
},
"peerDependencies": {
"typescript": ">=5.5.0-dev || >=5.6.0-dev || >=5.7.0-dev || next"
},
"devDependencies": {
"@eslint/js": "^9.6.0",
"@types/node": "^22.7.4",
"c8": "^10.1.2",
"eslint": "^9.5.0",
"eslint-plugin-n": "^17.9.0",
"globals": "^15.6.0",
"prettier": "^3.2.4",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vite": "^5.4.8"
},
"dependencies": {
"@knighted/module": "^1.0.0-alpha.4",
"@knighted/specifier": "^2.0.0-rc.1",
"find-up": "^6.3.0",
"glob": "^10.3.3",
"jsonc-parser": "^3.2.0",
"read-package-up": "^11.0.0"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 90,
"semi": false,
"singleQuote": true
}
}