forked from vuepress/vuepress-community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.46 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
{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "lerna run build --stream --ignore docs",
"build:docs": "yarn workspace docs build",
"dev": "yarn workspace docs dev --no-cache",
"dev:docs": "yarn workspace docs dev",
"postinstall": "yarn build",
"lint": "lerna run lint --stream",
"release": "yarn lint && yarn build && yarn test && lerna publish",
"serve": "yarn workspace docs serve",
"test": "jest --runInBand"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,ts,vue}": [
"eslint --fix",
"git add"
],
"*.{json,md,yml}": [
"prettier --write",
"git add"
],
"package.json": [
"sort-package-json",
"git add"
]
},
"prettier": "prettier-config-vuepress",
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/jest": "^24.0.18",
"eslint": "^6.4.0",
"eslint-config-vuepress": "^2.1.0",
"eslint-config-vuepress-typescript": "^1.1.1",
"husky": "^3.0.5",
"jest": "^24.9.0",
"jest-serializer-vue": "^2.0.2",
"lerna": "^3.16.4",
"lint-staged": "^9.3.0",
"prettier": "^1.18.2",
"prettier-config-vuepress": "^1.0.0",
"rimraf": "^3.0.0",
"sort-package-json": "^1.22.1",
"ts-jest": "^24.1.0",
"typescript": "^3.6.3",
"vuepress": "^1.2.0"
}
}