forked from unjs/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 1.82 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
{
"name": "starter-ts",
"type": "module",
"version": "0.0.0",
"packageManager": "[email protected]",
"description": "",
"author": "Chizuki <[email protected]>",
"license": "MIT",
"repository": "chizukicn/starter-ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "vitest dev",
"lint": "eslint --cache -f mo",
"lint:fix": "pnpm lint --fix",
"prepare": "npx simple-git-hooks",
"prepack": "pnpm run build",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && vitest run --coverage",
"up:deps": "taze major",
"up:polyfill": "nolyfill install"
},
"devDependencies": {
"@curev/eslint-config": "^0.4.2",
"@vitest/coverage-v8": "^3.0.5",
"changelogen": "^0.5.7",
"eslint": "^9.20.1",
"eslint-formatter-mo": "^2.2.0",
"lint-staged": "^15.4.3",
"nolyfill": "^1.0.43",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.7.3",
"unbuild": "^3.3.1",
"vitest": "^3.0.5"
},
"pnpm": {
"overrides": {
"array-includes": "npm:@nolyfill/array-includes@^1",
"array.prototype.flat": "npm:@nolyfill/array.prototype.flat@^1",
"array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@^1",
"has": "npm:@nolyfill/has@^1",
"is-core-module": "npm:@nolyfill/is-core-module@^1",
"object.values": "npm:@nolyfill/object.values@^1"
}
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,mjs,cjs}": [
"eslint --cache --fix"
]
}
}