forked from input-output-hk/daedalus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
287 lines (287 loc) · 12.4 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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
{
"name": "daedalus",
"productName": "Daedalus",
"version": "4.1.0-FC1",
"description": "Cryptocurrency Wallet",
"main": "./dist/main/index.js",
"scripts": {
"build": "gulp build",
"build:electron": "electron-rebuild -f -w usb",
"check:all": "yarn prettier:check && yarn lint && yarn flow:test && yarn stylelint && yarn lockfile:check && yarn manage:translations",
"start": "gulp start",
"start:dev": "NODE_ENV=development gulp start",
"dev": "IS_WATCH_MODE=true gulp dev",
"test": "NODE_ENV=test yarn build && yarn test:unit && yarn test:e2e:fail-fast",
"test:generate:report": "node tests/reporter.js",
"test:unit": "yarn cucumber:run --require 'tests/**/unit/**/*.js' --tags '@unit and not @skip and not @wip'",
"test:unit:rerun": "yarn cucumber:rerun --require 'tests/**/unit/**/*.js' --tags '@unit and not @skip and not @wip'",
"test:unit:watch": "nodemon --watch source --watch tests --exec \"yarn test:unit --tags '@unit and @watch'\"",
"test:unit:unbound": "yarn cucumber:run --require 'tests/**/unit/**/*.js' --tags '@unbound and not @skip and not @wip'",
"test:e2e": "yarn cucumber:run --require 'tests/setup-e2e.js' --require 'tests/**/e2e/**/*.js' --tags '@e2e and not @skip and not @wip'",
"test:e2e:fail-fast": "yarn cucumber:fail-fast --require 'tests/setup-e2e.js' --require 'tests/**/e2e/**/*.js' --tags '@e2e and not @skip and not @wip'",
"test:e2e:rerun": "yarn cucumber:rerun --require 'tests/setup-e2e.js' --require 'tests/**/e2e/**/*.js' --tags '@e2e and not @skip and not @wip'",
"test:e2e:rerun:fail-fast": "yarn cucumber:rerun --require 'tests/setup-e2e.js' --require 'tests/**/e2e/**/*.js' --tags '@e2e and not @skip and not @wip'",
"test:e2e:watch": "gulp test:e2e:watch",
"test:e2e:watch:once": "KEEP_APP_AFTER_TESTS=true yarn test:e2e --tags '@e2e and @watch'",
"cucumber": "cross-env NODE_ENV=test cucumber-js --require 'tests/setup-common.js' --require-module @babel/register -f json:tests-report/report-data.json -f summary:tests-report/summary.log -f node_modules/cucumber-pretty:tests-report/results.log --format-options '{\"snippetInterface\": \"async-await\"}' -f node_modules/cucumber-pretty --format-options '{\"snippetInterface\": \"async-await\"}' -f rerun:tests/@rerun.txt",
"cucumber:run": "yarn cucumber tests",
"cucumber:fail-fast": "yarn cucumber tests --fail-fast",
"cucumber:rerun": "yarn cucumber tests-report/@rerun.txt",
"cucumber:rerun:fail-fast": "yarn cucumber tests-report/@rerun.txt --fail-fast",
"debug": "gulp debug",
"package": "gulp build && cross-env NODE_ENV=production node -r @babel/register -r @babel/polyfill scripts/package.js",
"package:all": "yarn package --all",
"cleanup": "mop -v",
"lint": "eslint --format=node_modules/eslint-formatter-pretty source storybook utils *.js",
"flow:test": "flow; test $? -eq 0 -o $? -eq 2",
"prettier": "./node_modules/.bin/prettier \"**/*.*\"",
"prettier:check": "yarn prettier --check",
"prettier:format": "yarn prettier --write --loglevel warn",
"stylelint": "./node_modules/.bin/stylelint \"**/*.scss\"",
"stylelint:fix": "yarn stylelint --fix",
"manage:translations": "gulp purge:translations && gulp clear:cache && gulp build && node ./translations/translation-runner.js",
"storybook": "start-storybook -p 6006 -c storybook --ci /",
"storybook:build": "build-storybook -c storybook -o dist/storybook",
"themes:check:createTheme": "gulp build:themes && node -r esm ./dist/scripts/check.js",
"themes:update": "gulp build:themes && node -r esm ./dist/scripts/update.js && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.js",
"themes:copy": "node -r @babel/register -r @babel/polyfill source/renderer/app/themes/utils/copyTheme.js && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.js",
"clear:cache": "gulp clear:cache",
"nix:itn": "NETWORK=itn_rewards_v1 nix-shell --argstr nodeImplementation jormungandr --argstr cluster itn_rewards_v1",
"nix:itn_selfnode": "NETWORK=itn_selfnode nix-shell --argstr nodeImplementation jormungandr --argstr cluster itn_selfnode",
"nix:nightly": "NETWORK=nightly nix-shell --argstr nodeImplementation jormungandr --argstr cluster nightly",
"nix:qa": "NETWORK=qa nix-shell --argstr nodeImplementation jormungandr --argstr cluster qa",
"nix:mainnet": "NETWORK=mainnet nix-shell --argstr nodeImplementation cardano --argstr cluster mainnet",
"nix:flight": "NETWORK=mainnet nix-shell --argstr nodeImplementation cardano --argstr cluster mainnet_flight",
"nix:selfnode": "NETWORK=selfnode nix-shell --argstr nodeImplementation cardano --argstr cluster selfnode",
"nix:shelley_local": "NETWORK=shelley_testnet nix-shell --arg configOverride state-cluster/config.json --arg genesisOverride state-cluster/keys/genesis.json --argstr nodeImplementation cardano --argstr cluster local --arg useLocalNode true",
"nix:shelley_testnet": "NETWORK=shelley_testnet_v6 nix-shell --argstr nodeImplementation cardano --argstr cluster shelley_testnet_v6",
"nix:shelley_qa": "NETWORK=shelley_qa nix-shell --argstr nodeImplementation cardano --argstr cluster shelley_qa",
"nix:staging": "NETWORK=staging nix-shell --argstr nodeImplementation cardano --argstr cluster staging",
"nix:testnet": "NETWORK=testnet nix-shell --argstr nodeImplementation cardano --argstr cluster testnet",
"byron:wallet:importer": "node utils/api-importer/byron-wallet-importer.js",
"shelley:wallet:importer": "node utils/api-importer/shelley-wallet-importer.js",
"mary:wallet:importer": "node utils/api-importer/mary-wallet-importer.js",
"itn:byron:wallet:importer": "node utils/api-importer/itn-byron-wallet-importer.js",
"itn:shelley:wallet:importer": "node utils/api-importer/itn-shelley-wallet-importer.js",
"yoroi:wallet:importer": "node utils/api-importer/yoroi-wallet-importer.js",
"js-launcher": "node utils/js-launcher/index.js",
"create-news-verification-hashes": "node utils/create-news-verification-hashes/index.js",
"lockfile:check": "node utils/lockfile-checker/index.js --check",
"lockfile:fix": "node utils/lockfile-checker/index.js --fix",
"postinstall": "yarn build:electron"
},
"bin": {
"electron": "./node_modules/.bin/electron"
},
"devDependencies": {
"@babel/cli": "7.2.0",
"@babel/core": "7.4.5",
"@babel/helper-create-regexp-features-plugin": "7.7.0",
"@babel/plugin-proposal-class-properties": "7.2.1",
"@babel/plugin-proposal-decorators": "7.2.0",
"@babel/plugin-proposal-object-rest-spread": "7.2.0",
"@babel/plugin-transform-runtime": "7.2.0",
"@babel/polyfill": "7.0.0",
"@babel/preset-env": "7.2.0",
"@babel/preset-flow": "7.8.3",
"@babel/preset-react": "7.0.0",
"@babel/register": "7.0.0",
"@dump247/storybook-state": "1.6.1",
"@storybook/addon-actions": "5.3.14",
"@storybook/addon-knobs": "5.3.14",
"@storybook/addon-links": "5.3.14",
"@storybook/addons": "5.3.14",
"@storybook/core": "5.3.14",
"@storybook/react": "5.3.14",
"asar": "2.1.0",
"autodll-webpack-plugin": "0.4.2",
"axios": "0.21.1",
"babel-eslint": "10.1.0",
"babel-loader": "8.0.4",
"babel-plugin-react-intl": "3.0.1",
"bufferutil": "4.0.1",
"cache-loader": "4.1.0",
"chai": "4.2.0",
"chalk": "4.1.0",
"concurrently": "5.3.0",
"cross-env": "7.0.2",
"css-loader": "2.0.1",
"cucumber": "6.0.5",
"cucumber-pretty": "6.0.0",
"del": "6.0.0",
"electron-chromedriver": "8.0.0",
"electron-connect": "0.6.3",
"electron-devtools-installer": "2.2.4",
"electron-packager": "14.2.1",
"electron-rebuild": "1.11.0",
"eslint": "7.10.0",
"eslint-config-airbnb": "18.2.0",
"eslint-config-prettier": "6.12.0",
"eslint-formatter-pretty": "4.0.0",
"eslint-plugin-flowtype": "5.2.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.21.2",
"eslint-plugin-react-hooks": "4.1.2",
"esm": "3.2.25",
"faker": "5.1.0",
"fast-sass-loader": "1.5.0",
"file-loader": "4.2.0",
"flow-bin": "0.119.1",
"gulp-flow-remove-types": "1.0.0",
"gulp-shell": "0.8.0",
"hash.js": "1.1.7",
"html-loader": "0.5.5",
"husky": "4.3.0",
"markdown-loader": "5.1.0",
"mini-css-extract-plugin": "0.9.0",
"minimist": "1.2.5",
"mobx-react-devtools": "6.1.1",
"node-forge": "0.10.0",
"node-libs-browser": "2.2.1",
"node-sass": "4.14.1",
"nodemon": "2.0.4",
"npmlog": "4.1.2",
"postcss": "7.0.27",
"postcss-modules": "1.5.0",
"prettier": "2.1.2",
"pretty-quick": "3.0.2",
"prettysize": "2.0.0",
"raw-loader": "1.0.0",
"react-intl-translations-manager": "5.0.3",
"react-syntax-highlighter": "13.5.3",
"regenerator-runtime": "0.13.7",
"resolve-url": "0.2.1",
"sass-loader": "7.1.0",
"sinon": "9.2.2",
"spawn-sync": "2.0.0",
"spectron": "10.0.1",
"style-loader": "0.23.1",
"stylelint": "13.7.2",
"stylelint-order": "4.1.0",
"svg-inline-loader": "0.8.2",
"thread-loader": "2.1.3",
"transform-loader": "0.2.4",
"url-loader": "2.0.1",
"utf-8-validate": "5.0.2",
"webdriverio": "5.18.7",
"webpack": "4.44.2",
"webpack-cli": "3.3.12",
"webpack-stream": "6.1.0",
"ws": "7.3.1",
"yamljs": "0.3.0",
"yarn-lockfile": "1.1.1"
},
"dependencies": {
"@cardano-foundation/ledgerjs-hw-app-cardano": "3.0.0",
"@iohk-jormungandr/wallet-js": "0.5.0-pre7",
"aes-js": "3.1.2",
"bech32": "2.0.0",
"bignumber.js": "9.0.1",
"bip39": "3.0.2",
"blake2b": "2.1.3",
"blakejs": "1.1.0",
"borc": "2.1.2",
"bs58": "4.0.1",
"cardano-crypto.js": "5.3.6-rc.6",
"cardano-js": "0.4.5",
"cardano-launcher": "0.20210215.0",
"cbor": "5.0.2",
"check-disk-space": "2.1.0",
"chroma-js": "2.1.0",
"classnames": "2.2.6",
"csv-stringify": "5.5.1",
"cucumber-html-reporter": "5.2.0",
"electron": "8.2.2",
"electron-log-daedalus": "2.2.21",
"electron-store": "5.1.1",
"es6-error": "4.1.1",
"find-process": "1.4.4",
"fireworks-js": "1.0.4",
"form-data": "3.0.0",
"fs-extra": "9.0.1",
"glob": "7.1.6",
"graceful-fs": "4.2.4",
"gulp": "4.0.2",
"history": "4.10.1",
"humanize-duration": "3.23.1",
"inquirer": "7.3.3",
"json-bigint": "1.0.0",
"lodash": "4.17.20",
"lodash-es": "4.17.15",
"mime-types": "2.1.27",
"mkdirp": "0.5.1",
"mobx": "5.15.7",
"mobx-react": "6.3.0",
"mobx-react-form": "2.0.8",
"mobx-react-router": "4.1.0",
"moment": "2.29.0",
"node-downloader-helper": "1.0.14",
"omit-deep-lodash": "1.1.5",
"pbkdf2": "3.0.17",
"pdfkit": "0.8.3",
"prop-types": "15.7.2",
"qr-image": "3.2.0",
"qrcode.react": "1.0.0",
"rc-slider": "9.5.1",
"react": "16.13.1",
"react-animate-height": "2.0.23",
"react-copy-to-clipboard": "5.0.2",
"react-custom-scrollbars": "4.2.1",
"react-datetime": "3.0.4",
"react-dom": "16.13.1",
"react-intl": "2.7.2",
"react-lottie": "1.2.3",
"react-markdown": "4.3.1",
"react-polymorph": "1.0.0",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"react-svg-inline": "2.1.1",
"react-virtualized": "9.22.3",
"recharts": "1.8.5",
"rimraf": "3.0.2",
"rotating-file-stream": "1.4.6",
"route-parser": "0.0.5",
"rust-cardano-crypto": "0.2.0",
"safe-buffer": "5.2.1",
"sanitize-filename": "1.6.3",
"semver": "7.3.2",
"shasum": "1.0.2",
"source-map-support": "0.5.19",
"spectron-fake-dialog": "0.0.1",
"tcp-port-used": "1.0.1",
"trezor-connect": "8.1.26-extended",
"unorm": "1.6.0",
"validator": "13.1.17"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-hid": "5.26.0"
},
"devEngines": {
"node": ">=12.13.0",
"yarn": "1.22.4"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-push": "yarn check:all"
}
},
"resolutions": {
"**/**/marked": "^0.7.0",
"**/**/minimatch": "^3.0.2",
"**/**/unicode-properties": "1.1.0",
"**/**/handlebars": "4.5.3",
"**/**/minimist": "^1.2.2",
"**/**/acorn": "^6.4.1",
"**/**/elliptic": "^6.5.3",
"**/**/bl": "^4.0.3",
"**/**/lodash": "^4.17.20",
"**/**/yargs-parser": "^20.2.0",
"**/**/braces": "^2.3.1",
"**/**/node-fetch": "^2.6.1",
"**/**/mobx-react-lite": "2.2.2",
"**/**/ini": "^1.3.8"
}
}