forked from BitGo/BitGoJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 4.52 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "root",
"private": true,
"license": "Apache-2.0",
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/lodash": "^4.14.151",
"@types/mocha": "^9.1.0",
"@types/nock": "^9.3.1",
"@types/node": "^11.11.4",
"@types/sinon": "^7.0.6",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"babel-loader": "^8.2.4",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.0",
"depcheck": "^1.4.3",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsdoc": "^33.0.0",
"eslint-plugin-prettier": "^3.4.0",
"execa": "^5.0.0",
"glob": "^7.1.3",
"html-webpack-plugin": "^5.5.0",
"https-browserify": "^1.0.0",
"husky": "^8.0.1",
"improved-yarn-audit": "^3.0.0",
"lerna": "^5.1.7",
"lint-staged": "^12.4.1",
"make-dir": "^3.1.0",
"mocha": "^9.2.0",
"nock": "=9.0.28",
"nyc": "^15.1.0",
"prettier": "^2.3.0",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"should": "^13.1.3",
"should-http": "^0.1.1",
"should-sinon": "^0.0.6",
"sinon": "^6.3.5",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"terser-webpack-plugin": "^5.3.3",
"ts-node": "10.8.0",
"typescript": "~4.2.4",
"url": "^0.11.0",
"webpack": "5.66.0",
"webpack-cli": "^4.9.1",
"yeoman-generator": "^5.6.1"
},
"resolutions": {
"@types/react": "17.0.24",
"@types/react-dom": "17.0.16",
"buffer": "^6.0.3",
"eventsource": "2.0.2",
"minimist": "1.2.6",
"parse-path": "^5.0.0",
"parse-url": "6.0.2",
"terser": "^5.14.2"
},
"workspaces": [
"modules/*"
],
"scripts": {
"postinstall": "test -n \"$NOYARNPOSTINSTALL\" || lerna run build --stream",
"gen-drone": "chmod 0666 .drone.yml && drone jsonnet --stream && drone sign BitGo/BitGoJS --save && chmod 0444 .drone.yml",
"audit": "yarn audit --group dependencies optionalDependencies peerDependencies ; test $? -lt 8",
"audit-dev": "yarn audit --group devDependencies ; test $? -lt 8",
"lint": "lerna run lint --stream",
"lint-changed": "lerna run lint --since origin/${DRONE_REPO_BRANCH:-master}..${DRONE_COMMIT:-HEAD} --stream",
"unit-test-changed": "lerna run unit-test --since origin/${DRONE_REPO_BRANCH:-master}..${DRONE_COMMIT:-HEAD} --stream",
"browser-tests": "lerna run --scope bitgo compile && lerna run --scope bitgo browser-test && lerna run --scope @bitgo/web-demo test",
"gen-coverage-changed": "lerna run gen-coverage --since origin/${DRONE_REPO_BRANCH:-master}..${DRONE_COMMIT:-HEAD} --stream --parallel",
"coverage-changed": "lerna run upload-coverage --since origin/${DRONE_REPO_BRANCH:-master}..${DRONE_COMMIT:-HEAD} --stream --parallel --",
"unit-test": "lerna run unit-test --stream",
"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 origin/${DRONE_REPO_BRANCH:-master}..${DRONE_COMMIT:-HEAD} --stream --parallel",
"check-fmt": "lerna run check-fmt --stream --parallel",
"check-commits": "yarn commitlint --from=origin/${DRONE_REPO_BRANCH:-master} -V",
"check-deps": "ts-node ./scripts/check-package-dependencies.ts",
"check-versions": "node ./check-package-versions.js",
"dev": "tsc -b ./tsconfig.packages.json -w",
"prepare": "husky install",
"sdk-coin:new": "yo ./scripts/sdk-coin-generator && yarn update-dockerfile",
"build-docker-express": "yarn update-dockerfile && docker build --platform=linux/amd64 -t bitgosdk/express:latest -t bitgosdk/express:$(jq -r .version < modules/express/package.json) .",
"push-docker-express": "docker push bitgosdk/express:latest bitgosdk/express:$(jq -r .version < modules/express/package.json)",
"update-dockerfile": "ts-node scripts/update-dockerfile.ts",
"precommit": "lint-staged",
"lint-fix": "lerna run lint --parallel -- --fix"
},
"dependencies": {}
}