forked from BitGo/BitGoJS
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
35 lines (35 loc) · 1.56 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
{
"name": "root",
"private": true,
"devDependencies": {
"husky": "^3.0.0",
"lerna": "^3.13.4"
},
"workspaces": [
"modules/*"
],
"scripts": {
"postinstall": "lerna run build --stream",
"generate-drone": "drone jsonnet --stream",
"audit": "yarn audit",
"lint": "lerna run lint --stream",
"lint-changed": "lerna run lint --since ${DRONE_REPO_BRANCH:-master}^..${DRONE_COMMIT:-HEAD} --stream",
"unit-test-changed": "lerna run unit-test --since ${DRONE_REPO_BRANCH:-master}^..${DRONE_COMMIT:-HEAD} --stream --parallel",
"gen-coverage-changed": "lerna run gen-coverage --since ${DRONE_REPO_BRANCH:-master}^..${DRONE_COMMIT:-HEAD} --stream --parallel",
"coverage-changed": "lerna run upload-coverage --since ${DRONE_REPO_BRANCH:-master}^..${DRONE_COMMIT:-HEAD} --stream --parallel --",
"unit-test": "lerna run unit-test --stream --parallel",
"integration-test": "lerna run integration-test --stream --parallel",
"gen-coverage": "lerna run gen-coverage --stream --parallel",
"coverage": "lerna run upload-coverage --stream --parallel --",
"artifacts": "lerna run upload-artifacts --stream --parallel",
"upload-docs": "lerna run upload-docs --stream --parallel",
"gen-docs": "lerna run gen-docs --stream --parallel",
"check-fmt-changed": "lerna run check-fmt --since ${DRONE_REPO_BRANCH:-master}^..${DRONE_COMMIT:-HEAD} --stream --parallel",
"check-fmt": "lerna run check-fmt --stream --parallel"
},
"husky": {
"hooks": {
"pre-commit": "lerna run --concurrency 1 --stream precommit"
}
}
}