-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
67 lines (67 loc) · 2.06 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
59
60
61
62
63
64
65
66
67
{
"name": "root",
"private": true,
"workspaces": [
"packages/*",
"examples/*"
],
"scripts": {
"prepare": "husky install",
"release:version": "lerna version",
"release:publish": "lerna publish from-git --yes --no-verify-access",
"ci": "npm-run-all legal:* format:validate lint:validate ci:subpackages",
"ci:subpackages": "lerna run ci",
"format:fix": "prettier --print-width 120 --write \"**/*.@(js|json|md|vue|ts)\" --ignore-path=.gitignore",
"format:validate": "prettier --print-width 120 --check \"**/*.@(js|json|md|vue|ts)\" --ignore-path=.gitignore",
"lint:fix": "eslint . --ext=js,vue,ts --fix --max-warnings=0 --ignore-path=.gitignore",
"lint:validate": "eslint . --ext=js,vue,ts --max-warnings=0 --ignore-path=.gitignore",
"legal:delete": "lerna exec \"shx rm -rf .reuse LICENSES\" || true",
"legal:copy": "lerna exec \"shx cp -r ../../.reuse .reuse && shx cp -r ../../LICENSES LICENSES\""
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts,json,md,vue}": [
"prettier --print-width 120 --write --ignore-path=.gitignore"
],
"*.{ts,js,vue}": [
"eslint --fix --max-warnings=0 --ignore-pattern=!.*"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"devDependencies": {
"@commitlint/cli": "17.6.1",
"@commitlint/config-conventional": "17.6.1",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vitejs/plugin-vue": "^4.2.3",
"babel-eslint": "^10.1.0",
"copyfiles": "^2.4.1",
"coveralls": "2.13.3",
"cz-conventional-changelog": "3.3.0",
"eslint": "^8.44.0",
"eslint-plugin-vue": "^9.17.0",
"husky": "8.0.3",
"lerna": "8.1.2",
"lint-staged": "^14.0.1",
"npm-run-all": "4.1.5",
"prettier": "3.0.1",
"rimraf": "5.0.1",
"sass": "^1.63.6",
"shx": "0.3.4",
"typescript": "^5.2.2",
"vite": "^4.3.9",
"yorkie": "^2.0.0"
}
}