-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 949 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
{
"type": "module",
"scripts": {
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview",
"check": "tsc --incremental --noEmit",
"preinstall": "node ./scripts/preinstall.js",
"postinstall": "git config --local core.hooksPath ./.git/hooks/ && simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged && pnpm check",
"commit-msg": "node scripts/verifyCommit.js"
},
"lint-staged": {
"*.{js,json,vue,md}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"devDependencies": {
"@types/node": "^20.1.2",
"chalk": "^5.2.0",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"sass": "^1.62.1",
"sass-loader": "^13.2.2",
"simple-git-hooks": "^2.8.1",
"vite": "^4.3.5"
},
"dependencies": {
"axios": "^1.4.0",
"vitepress": "1.0.0-rc.15",
"vue": "^3.3.4"
}
}