forked from BitGo/BitGoJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 4.58 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
104
105
106
107
108
109
110
111
{
"name": "root",
"private": true,
"version": "0.16.0",
"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/node": "^11.11.4",
"@types/semver": "^7.3.12",
"@types/sinon": "^7.0.6",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"babel-loader": "^9.1.0",
"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.5.0",
"lint-staged": "^12.4.1",
"make-dir": "^3.1.0",
"mocha": "^9.2.0",
"nock": "^13.3.1",
"nyc": "^15.1.0",
"parse-url": "^8.1.0",
"prettier": "^2.3.0",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"semver": "^7.3.7",
"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.3.0",
"typescript-cached-transpile": "^0.0.6",
"url": "^0.11.0",
"webpack": "5.76.0",
"webpack-cli": "^4.9.1",
"yeoman-generator": "^5.6.1"
},
"resolutions": {
"@ethereumjs/util": "8.0.3",
"@noble/secp256k1": "1.6.3",
"@types/keyv": "3.1.4",
"@types/react": "17.0.24",
"@types/react-dom": "17.0.16",
"buffer": "^6.0.3",
"degenerator": "5.0.0",
"eventsource": "2.0.2",
"minimist": "1.2.6",
"parse-path": "^5.0.0",
"parse-url": "8.1.0",
"terser": "^5.14.2",
"json5": "^2.2.2",
"ua-parser-js": ">0.7.30 <0.8.0",
"protobufjs": "^7.2.4"
},
"workspaces": [
"modules/*"
],
"scripts": {
"postinstall": "test -n \"$NOYARNPOSTINSTALL\" || lerna run build --stream",
"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/${GITHUB_REPO_BRANCH:-master}..HEAD --stream",
"unit-test-changed": "lerna run unit-test --since origin/${GITHUB_REPO_BRANCH:-master}..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/${GITHUB_REPO_BRANCH:-master}..HEAD --stream --parallel",
"coverage-changed": "lerna run upload-coverage --since origin/${GITHUB_REPO_BRANCH:-master}..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/${GITHUB_REPO_BRANCH:-master}..HEAD --stream --parallel",
"check-fmt": "lerna run check-fmt --stream --parallel",
"check-commits": "yarn commitlint --from=origin/${GITHUB_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 bitgo/express:latest -t bitgo/express:$(jq -r .version < modules/express/package.json) .",
"push-docker-express": "docker push bitgo/express:latest bitgo/express:$(jq -r .version < modules/express/package.json)",
"update-dockerfile": "ts-node scripts/update-dockerfile.ts",
"lint-fix": "lerna run lint --parallel -- --fix"
}
}