-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
40 lines (40 loc) · 1010 Bytes
/
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
{
"name": "tools-monorepo",
"version": "1.0.0",
"private": true,
"description": "一系列工具包合集",
"author": "sugar",
"license": "MIT",
"scripts": {
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"version-packages": "changeset version",
"release:only": "changeset publish",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"postinstall": "npx simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^2.23.2",
"@changesets/cli": "^2.27.7",
"@types/node": "^20.14.12",
"@vitest/ui": "^0.12.10",
"c8": "^7.14.0",
"eslint": "^9.7.0",
"eslint-plugin-format": "^0.1.2",
"esno": "^0.16.3",
"lint-staged": "^15.2.7",
"prettier": "^2.8.8",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.2.2",
"typescript": "^5.5.4",
"vitest": "^0.24.5"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}