forked from BitGo/BitGoJS
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 2.6 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
{
"name": "root",
"private": true,
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"commitizen": "^4.2.1",
"cz-conventional-changelog": "^3.3.0",
"glob": "^7.1.6",
"husky": "^4.3.0",
"lerna": "^3.13.4",
"make-dir": "^3.1.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2"
},
"workspaces": [
"modules/*"
],
"scripts": {
"postinstall": "lerna run build --stream",
"generate-drone": "chmod 0666 .drone.yml && drone jsonnet --stream && chmod 0444 .drone.yml",
"audit": "yarn audit ; test $? -lt 8",
"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",
"browser-tests": "lerna run --scope @bitgo/account-lib compile && lerna run --scope bitgo compile && lerna run --scope bitgo browser-test",
"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",
"coverage": "yarn gen-coverage && yarn upload-coverage",
"gen-coverage": "node merge-coverage-reports.js && nyc report --reporter=text-lcov > coverage.lcov",
"upload-coverage": "codecov -f coverage.lcov -t \"$CODECOV_TOKEN\" -F \"${CODECOV_FLAG:-flag-not-set}\"",
"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",
"check-commits": "yarn commitlint --from=${DRONE_REPO_BRANCH:-master}"
},
"husky": {
"hooks": {
"pre-commit": "lerna run --stream --parallel precommit",
"prepare-commit-msg": "exec < /dev/tty && cz --hook || true"
}
},
"resolutions": {
"bl": "4.0.3",
"dot-prop": "5.2.0",
"elliptic": "6.5.3",
"handlebars": "^4.5.3",
"kind-of": "^6.0.3",
"minimist": "^1.2.2",
"sanitize-html": "~1.20.0",
"axios": "0.21.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}