-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
82 lines (82 loc) · 2.49 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "root",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"examples/*"
],
"nohoist": [
"**/@types/jest",
"**/@types/mocha",
"code-snippet-frontend/**"
]
},
"scripts": {
"release:version": "lerna version",
"release:publish": "lerna publish from-git --yes --no-verify-access",
"ci": "npm-run-all coverage:clean legal:* format:validate lint:validate ci:subpackages coverage:merge",
"ci:subpackages": "lerna run ci",
"compile": "lerna run clean && tsc --build",
"compile:watch": "lerna run clean && tsc --build --watch",
"format:fix": "prettier --write \"**/*.@(js|ts|vue)\" --ignore-path=.gitignore",
"format:validate": "prettier --check \"**/*.@(js|ts|vue)\" --ignore-path=.gitignore",
"lint:fix": "eslint . --ext=js,ts,vue --fix --max-warnings=0 --ignore-path=.gitignore",
"lint:validate": "eslint . --ext=js,ts,vue --max-warnings=0 --ignore-path=.gitignore",
"coverage:clean": "rimraf ./coverage",
"coverage:merge": "lcov-result-merger \"./coverage/lcov*.info\" \"./coverage/lcov.info\"",
"legal:delete": "lerna exec \"shx rm -rf .reuse LICENSES\" || true",
"legal:copy": "lerna exec \"shx cp -r ../../.reuse .reuse && shx cp -r ../../LICENSES LICENSES\""
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@types/chai": "4.2.16",
"@types/mocha": "7.0.2",
"@typescript-eslint/eslint-plugin": "5.28.0",
"@typescript-eslint/parser": "5.28.0",
"chai": "4.3.4",
"coveralls": "2.11.16",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.23.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-vue": "7.3.0",
"husky": "4.3.6",
"lcov-result-merger": "3.1.0",
"lerna": "4.0.0",
"lint-staged": "10.5.4",
"mocha": "7.2.0",
"npm-run-all": "^4.1.5",
"nyc": "15.1.0",
"prettier": "2.2.1",
"rimraf": "3.0.2",
"shx": "0.3.3",
"typescript": "~4.5.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,js,vue}": [
"eslint --fix --max-warnings=0 --ignore-pattern=!.*"
],
"*.{js,ts,vue}": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}