forked from vuepress/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.79 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
{
"private": true,
"workspaces": [
"packages/vuepress",
"packages/vuepress-vite",
"packages/@vuepress/*"
],
"scripts": {
"build": "tsc --build",
"clean": "lerna run clean --stream",
"copy": "lerna run copy --stream",
"copy-watch": "lerna run copy --parallel -- --watch",
"dev": "yarn copy-watch & yarn build --watch",
"docs:build": "vuepress build docs --clean-cache",
"docs:clean": "rimraf docs/.vuepress/.temp docs/.vuepress/.cache docs/.vuepress/dist",
"docs:dev": "vuepress dev docs --clean-cache",
"docs:release": "yarn copy && yarn build && yarn docs:build",
"docs:serve": "anywhere -h localhost -d docs/.vuepress/dist",
"lint": "eslint --ext .js,.ts,.vue .",
"prepare": "husky install",
"release": "yarn lint && yarn clean && yarn copy && yarn build && yarn test && lerna publish prerelease --dist-tag next",
"test": "jest --runInBand",
"test:coverage": "yarn copy && yarn build && yarn test --coverage"
},
"lint-staged": {
"*.{js,ts,vue}": "eslint --fix",
"*.{json,yml,css,scss}": "prettier --write",
"package.json": "sort-package-json"
},
"prettier": "prettier-config-vuepress",
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@types/jest": "^27.0.2",
"anywhere": "^1.5.0",
"cpx2": "^3.0.2",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-vuepress": "^3.4.0",
"eslint-config-vuepress-typescript": "^2.4.0",
"husky": "^7.0.4",
"jest": "^27.3.1",
"jest-serializer-vue": "^2.0.2",
"lerna": "^4.0.0",
"lint-staged": "^11.2.6",
"prettier": "2.2.1",
"prettier-config-vuepress": "^1.2.0",
"rimraf": "^3.0.2",
"sort-package-json": "^1.52.0",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4"
}
}