forked from MyCryptoHQ/MyCrypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
232 lines (232 loc) · 8.76 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
{
"name": "MyCrypto",
"author": "MyCryptoHQ",
"version": "1.6.9",
"main": "main.js",
"description": "MyCrypto is a free, open-source interface for interacting with the blockchain",
"repository": "https://github.com/MyCryptoHQ/MyCrypto",
"engines": {
"node": ">= 8.16.0",
"npm": ">= 5.0.0"
},
"dependencies": {
"@hot-loader/react-dom": "16.8.6",
"@ledgerhq/hw-app-eth": "4.48.0",
"@ledgerhq/hw-transport-node-hid-noevents": "4.48.0",
"@ledgerhq/hw-transport-u2f": "4.46.0",
"@ledgerhq/hw-transport-webusb": "4.56.0",
"@parity/qr-signer": "0.3.1",
"axios": "0.18.1",
"babel-polyfill": "6.26.0",
"bip39": "2.5.0",
"bn.js": "4.11.8",
"bootstrap-sass": "3.3.7",
"classnames": "2.2.5",
"electron-updater": "2.21.10",
"ethereum-blockies-base64": "1.0.2",
"ethereumjs-abi": "git://github.com/ethereumjs/ethereumjs-abi.git#09c3c48fd3bed143df7fa8f36f6f164205e23796",
"ethereumjs-tx": "1.3.4",
"ethereumjs-util": "5.1.5",
"ethereumjs-wallet": "0.6.0",
"font-awesome": "4.7.0",
"formik": "1.3.2",
"hdkey": "0.8.0",
"html2canvas": "1.0.0-alpha.12",
"idna-uts46": "1.1.0",
"jsonschema": "1.2.4",
"lodash": "4.17.11",
"lodash.flatten": "4.4.0",
"lodash.get": "4.4.2",
"moment": "2.22.1",
"moment-timezone": "0.5.14",
"mycrypto-eth-exists": "1.0.0",
"mycrypto-shepherd": "1.4.0",
"normalizr": "3.2.4",
"qrcode": "1.2.0",
"qrcode.react": "0.8.0",
"query-string": "6.0.0",
"rc-slider": "8.6.0",
"react": "16.5.2",
"react-copy-to-clipboard": "5.0.1",
"react-dom": "16.5.2",
"react-hot-loader": "4.8.4",
"react-markdown": "3.3.0",
"react-onclickoutside": "6.7.1",
"react-redux": "5.0.7",
"react-router-dom": "4.2.2",
"react-router-redux": "4.0.8",
"react-select": "1.2.1",
"react-spring": "5.9.2",
"react-stepper-horizontal": "1.0.9",
"react-transition-group": "2.3.1",
"redux": "3.7.2",
"redux-logger": "3.0.6",
"redux-saga": "0.16.0",
"rskjs-util": "1.0.3",
"scryptsy": "2.0.0",
"semver": "5.5.0",
"trezor-connect": "7.0.1",
"trezor.js": "6.17.5",
"uuid": "3.2.1",
"wallet-address-validator": "0.2.4",
"whatwg-fetch": "2.0.3",
"zxcvbn": "4.4.2"
},
"devDependencies": {
"@babel/core": "7.4.4",
"@babel/plugin-proposal-class-properties": "7.4.4",
"@babel/plugin-proposal-object-rest-spread": "7.4.4",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/preset-env": "7.4.4",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.3.3",
"@types/bip39": "2.4.0",
"@types/classnames": "2.2.3",
"@types/enzyme": "3.1.8",
"@types/enzyme-adapter-react-16": "1.0.1",
"@types/events": "1.2.0",
"@types/history": "4.6.2",
"@types/html2canvas": "0.0.33",
"@types/jest": "22.2.3",
"@types/lodash": "4.14.107",
"@types/moment-timezone": "0.5.4",
"@types/node-hid": "0.7.0",
"@types/qrcode": "0.8.0",
"@types/qrcode.react": "0.6.3",
"@types/query-string": "5.1.0",
"@types/rc-slider": "8.2.3",
"@types/react": "16.3.11",
"@types/react-dom": "16.0.5",
"@types/react-redux": "5.0.15",
"@types/react-router-dom": "4.2.6",
"@types/react-router-redux": "5.0.13",
"@types/react-select": "1.2.6",
"@types/react-transition-group": "2.0.8",
"@types/redux-logger": "3.0.5",
"@types/semver": "5.5.0",
"@types/uuid": "3.4.3",
"@types/webpack-env": "1.13.4",
"@types/zxcvbn": "4.4.0",
"autodll-webpack-plugin": "0.3.9",
"aws-sdk": "2.424.0",
"babel-loader": "8.0.5",
"check-node-version": "3.2.0",
"concurrently": "4.1.0",
"copy-webpack-plugin": "4.5.1",
"core-js": "2.5.5",
"coveralls": "3.0.0",
"cross-env": "5.2.0",
"css-loader": "0.28.11",
"electron": "2.0.8",
"electron-builder": "20.13.4",
"empty": "0.10.1",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"enzyme-to-json": "3.3.3",
"file-loader": "1.1.11",
"friendly-errors-webpack-plugin": "1.6.1",
"hard-source-webpack-plugin": "0.6.4",
"html-webpack-plugin": "3.0.6",
"husky": "1.3.1",
"image-webpack-loader": "4.2.0",
"isomorphic-fetch": "2.2.1",
"jest": "22.1.4",
"klaw-sync": "3.0.2",
"lint-staged": "7.0.5",
"mini-css-extract-plugin": "0.4.0",
"minimist": "1.2.0",
"mycrypto-nano-result": "0.0.1",
"node-sass": "4.8.3",
"nodemon": "1.17.3",
"null-loader": "0.1.1",
"prettier": "1.18.2",
"raw-loader": "0.5.1",
"react-test-renderer": "16.3.2",
"redux-devtools-extension": "2.13.2",
"redux-test-utils": "0.2.2",
"rimraf": "2.6.2",
"sass-loader": "6.0.7",
"style-loader": "0.20.3",
"thread-loader": "1.1.5",
"ts-jest": "22.0.3",
"ts-loader": "4.1.0",
"ts-node": "5.0.1",
"tslint": "5.17.0",
"tslint-config-prettier": "1.18.0",
"tslint-microsoft-contrib": "6.2.0",
"tslint-react": "4.0.0",
"types-rlp": "0.0.1",
"typescript": "3.5.1",
"u2f-api": "1.0.6",
"uglifyjs-webpack-plugin": "1.2.4",
"url-search-params-polyfill": "3.0.0",
"webapp-webpack-plugin": "2.0.1",
"webpack": "4.5.0",
"webpack-cli": "2.0.13",
"webpack-dev-server": "3.2.1",
"webpack-merge": "4.2.1",
"webpack-sources": "1.1.0",
"webpack-subresource-integrity": "1.1.0-rc.4",
"what-input": "5.0.5",
"worker-loader": "1.1.1"
},
"resolutions": {
"*/**/@types/react": "16.3.11"
},
"scripts": {
"freezer": "webpack --config=./webpack_config/webpack.freezer.js && node ./dist/freezer.js",
"freezer:validate": "npm run freezer -- --validate",
"db": "nodemon ./db",
"build": "webpack --mode=production --config webpack_config/webpack.prod.js",
"prebuild": "check-node-version --package",
"build:downloadable": "webpack --mode=production --config webpack_config/webpack.html.js",
"prebuild:downloadable": "check-node-version --package",
"build:electron": "webpack --config webpack_config/webpack.electron-prod.js && node webpack_config/buildElectron.js",
"build:electron:osx": "webpack --config webpack_config/webpack.electron-prod.js && cross-env ELECTRON_OS=osx node webpack_config/buildElectron.js",
"build:electron:windows": "webpack --config webpack_config/webpack.electron-prod.js && cross-env ELECTRON_OS=windows node webpack_config/buildElectron.js",
"build:electron:linux": "webpack --config webpack_config/webpack.electron-prod.js && cross-env ELECTRON_OS=linux node webpack_config/buildElectron.js",
"prebuild:electron": "check-node-version --package",
"jenkins:build:linux": "webpack --config webpack_config/webpack.electron-prod.js && cross-env ELECTRON_OS=JENKINS_LINUX node webpack_config/buildElectron.js",
"jenkins:build:mac": "webpack --config webpack_config/webpack.electron-prod.js && cross-env ELECTRON_OS=JENKINS_MAC node webpack_config/buildElectron.js",
"jenkins:upload": "node jenkins/upload",
"test:coverage": "jest --config=jest_config/jest.config.json --coverage",
"test": "jest --config=jest_config/jest.config.json",
"test:unit": "jest --config=jest_config/jest.config.json --coverage",
"test:int": "jest --config=jest_config/jest.int.config.json --coverage",
"report-coverage": " cat ./coverage/lcov.info | coveralls",
"updateSnapshot": "jest --config=jest_config/jest.config.json --updateSnapshot",
"pretest": "check-node-version --package",
"predev": "check-node-version --package",
"dev": "cross-env HTTPS=true webpack-dev-server --config webpack_config/webpack.rhl.js",
"dev:electron": "cross-env BUILD_ELECTRON=true; concurrently -r --kill-others -n \"RENDERER,MAIN\" \"yarn run dev:electron:renderer\" \"yarn run dev:electron:main\"",
"dev:electron:main": "webpack --config webpack_config/electron-main.dev.js && electron dist/electron-js/main.js",
"dev:electron:renderer": "webpack-dev-server --config webpack_config/electron-renderer.dev.js",
"tslint": "tslint --project .",
"tscheck": "tsc --noEmit",
"start": "npm run dev",
"precommit": "lint-staged",
"formatAll": "find ./common/ -name '*.ts*' | xargs prettier --write --config ./.prettierrc --config-precedence file-override",
"prettier:diff": "prettier --write --config ./.prettierrc --list-different \"common/**/*.ts\" \"common/**/*.tsx\"",
"update:tokens": "ts-node scripts/update-tokens",
"postinstall": "electron-builder install-app-deps"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write --config ./.prettierrc --config-precedence file-override",
"npm run tslint",
"git add"
]
},
"freezer": [
"package.json",
"common/freezer.ts",
"common/store.ts",
"common/libs/decrypt.ts",
"common/libs/signing.ts"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run tscheck && npm test"
}
}
}