-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
35 lines (35 loc) · 867 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
{
"name": "joplin-utils",
"private": true,
"license": "MIT",
"scripts": {
"postinstall": "npx simple-git-hooks",
"setup-all": "pnpm -r run setup",
"clean-all": "pnpx rimraf **/node_modules **/dist"
},
"prettier": "@liuli-util/prettier-standard-config",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{ts,tsx,js,jsx,css,md,json}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@liuli-util/prettier-standard-config": "^0.3.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.8.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "pnpm commitlint --edit $1"
}
}