forked from liquality/chainify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 4.47 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
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "root",
"private": true,
"devDependencies": {
"@babel/core": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/register": "^7.12.1",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@ledgerhq/hw-transport-node-hid": "^5.44.1",
"@types/chai": "^4.2.14",
"@types/chai-as-promised": "^7.1.3",
"@types/ledgerhq__hw-transport-node-hid": "^4.22.2",
"@types/lodash": "^4.14.168",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.25",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"babel-loader": "^8.0.6",
"babel-plugin-istanbul": "^5.2.0",
"babel-plugin-lodash": "^3.3.4",
"bignumber.js": "^9.0.0",
"bip39": "^3.0.2",
"bitcoinjs-lib": "^5.2.0",
"buffer": "^6.0.3",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"copy": "^0.3.2",
"coveralls": "^3.0.6",
"cross-env": "^5.2.1",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-html": "^5.0.5",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-prettier": "^3.3.1",
"ethereumjs-util": "^7.0.10",
"gh-pages": "^2.1.1",
"husky": "^7.0.1",
"lerna": "^3.16.4",
"lodash-webpack-plugin": "^0.11.5",
"mocha": "^6.2.1",
"mocha-lcov-reporter": "^1.3.0",
"nock": "^13.0.11",
"node-metamask": "^1.1.2",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"pre-commit": "^1.2.2",
"prettier": "^2.2.1",
"should": "^13.2.3",
"stream-browserify": "^3.0.0",
"ts-loader": "^8.0.16",
"ts-node": "^9.1.1",
"typedoc": "^0.20.36",
"typescript": "^4.2.4",
"webpack": "^5.31.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.6.0",
"webpack-node-externals": "^2.5.2"
},
"scripts": {
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint . --ext .jsx,.ts,.tsx",
"prettier": "prettier --write --ignore .gitignore .",
"bootstrap": "lerna bootstrap --force-local",
"docs": "typedoc",
"test": "run-s test:unit env:integration env:integration:bootup test:integration",
"test:unit": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha packages/*/test/unit/*.test.ts",
"env:integration": "docker-compose -f test/integration/environment/docker-compose.yaml up -d --force-recreate --renew-anon-volumes",
"env:integration:bootup": "sleep 10",
"test:integration:chain": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha test/integration/chain/*.test.ts",
"test:integration:swap": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha test/integration/swap/*.test.ts",
"test:integration:tx": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha test/integration/tx/*.test.ts",
"test:integration:wallet": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha test/integration/wallet/*.test.ts",
"test:integration:contract": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha test/integration/contract/*.test.ts",
"test:integration": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha test/integration/**/*.test.ts",
"test:integration:external": "cross-env NODE_ENV=test RUN_EXTERNAL=true mocha test/integration",
"watch": "cross-env NODE_ENV=production WEBPACK_WATCH=true lerna run build --parallel",
"build:dev:node": "lerna run build:node --stream",
"build:dev": "lerna run build --stream",
"build:node": "cross-env NODE_ENV=production npm run build:dev:node",
"build": "cross-env NODE_ENV=production npm run build:dev",
"build:with-pkg-stats": "cross-env BUILD_PKG_STATS=true npm run build",
"clean": "lerna clean",
"new:version": "lerna version --no-push --no-git-tag-version && lerna clean --yes && lerna bootstrap",
"publish:all": "lerna publish from-package",
"prepublishOnly": "npm run lint && npm run build && npm run test",
"link:all": "lerna exec npm link",
"unlink:all": "lerna exec npm unlink"
},
"mocha": {
"require": ["ts-node/register"],
"timeout": 20000,
"recursive": true
},
"nyc": {
"include": [
"packages/**/lib/**"
],
"exclude": [
"**/bin/**",
"**/coverage/**",
"**/dist/**",
"**/html/assets/**",
"**/test/**"
],
"reporter": [
"text",
"lcov"
],
"all": true,
"require": [
"./babel.test.js"
],
"sourceMap": false,
"instrument": false
},
"pre-commit": [
"lint",
"build",
"test:unit"
]
}