-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
43 lines (43 loc) · 980 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
41
42
43
{
"name": "liuli-tools",
"private": true,
"license": "MIT",
"scripts": {
"setup-all": "pnpm -r run setup",
"build-all": "pnpm -r run build",
"test-all": "pnpm test -r",
"postinstall": "pnpm simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx commitlint --edit $1"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/src/**/*.{ts,tsx,js,jsx,css}": [
"prettier --write"
]
},
"prettier": {
"tabWidth": 2,
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always",
"endOfLine": "lf"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.3"
}
}