-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 3.08 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
95
{
"name": "yet-another-typescript-package-template",
"version": "0.0.1",
"main": "./lib/index.cjs",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": {
"default": "./lib/index.mjs",
"types": "./lib/index.d.ts"
},
"require": {
"default": "./lib/index.cjs",
"types": "./lib/index.d.ts"
}
},
"./package.json": "./package.json"
},
"module": "./lib/index.mjs",
"type": "module",
"files": [
"lib"
],
"scripts": {
"benchmark:js": "node ./benchmarks/benchmark.mjs",
"benchmark:ts": "tsimp ./benchmarks/benchmark.ts",
"build": "npm run clean:dist && concurrently npm:build:*",
"build:docs": "typedoc",
"build:rollup": "rollup -c",
"build:types": "tsc -d --noEmit false --emitDeclarationOnly --declarationDir ./lib",
"clean": "concurrently npm:clean:*",
"clean:cover": "rimraf --verbose .nyc_output coverage",
"clean:dist": "rimraf --verbose lib",
"check-all": "concurrently npm:lint npm:test npm:prettier:check",
"fix-all": "concurrently -m 1 npm:prettier npm:lint-fix:*",
"lint": "concurrently npm:lint:*",
"lint:eslint": "eslint **/*.{js,json,jsonc,ts}",
"lint:md": "markdownlint-cli2",
"lint-fix:eslint": "eslint --fix --fix-type layout **/*.{js,json,jsonc,ts}",
"lint-fix:md": "markdownlint-cli2 --fix",
"prettier": "prettier --write .",
"prettier:check": "prettier --check .",
"prepublishOnly": "npm run checkAll",
"test": "concurrently npm:test:*",
"test:ava": "ava --timeout=15s",
"test:tsc": "tsc --noEmit --project tsconfig.tsc.json",
"test-cover:ava": "c8 --reporter=lcov --reporter=text-summary ava",
"watch:ava": "ava --watch",
"watch:eslint": "onchange -v -f add -f change \"**/*.{js,json,jsonc,ts}\" -- eslint --fix --fix-type layout {{file}}",
"watch:md": "onchange -v -f add -f change \"**/*.md\" -- markdownlint --fix {{file}}",
"watch:prettier": "onchange -v -f add -f change \"**/*\" -- prettier --write --ignore-unknown {{file}}",
"watch-all": "concurrently npm:watch:*"
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"@rollup/plugin-typescript": "^12.1.2",
"@stylistic/eslint-plugin": "^2.13.0",
"@tsconfig/node20": "^20.1.4",
"@types/node": "~20.17.16",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"ava": "^6.2.0",
"c8": "^10.1.3",
"concurrently": "^9.1.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsonc": "^2.18.2",
"eslint-plugin-tsdoc": "^0.4.0",
"expect-type": "^1.1.0",
"iso-bench": "^2.4.7",
"markdownlint-cli2": "^0.17.2",
"onchange": "^7.1.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"rollup": "^4.32.0",
"ts-blank-space": "^0.5.0",
"typedoc": "~0.27.6",
"typedoc-plugin-markdown": "~4.4.1",
"typescript": "5.7.3"
},
"ava": {
"extensions": {
"ts": "module"
},
"files": [
"test-ava/**/*.ts"
],
"nodeArguments": [
"--import=ts-blank-space/register"
],
"verbose": true
}
}