This repository has been archived by the owner on Jan 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
293 lines (293 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
288
289
290
291
292
293
{
"name": "runanode",
"version": "0.14.0",
"description": "",
"homepage": "https://github.com/cennznet/runanode",
"repository": {
"type": "git",
"url": "git@github.com:cennznet/runanode.git"
},
"license": "Apache License 2.0",
"author": "Centrality <developers@centrality.ai>",
"main": "./app/main.prod.js",
"scripts": {
"build": "concurrently \"npm run build-main\" \"npm run build-renderer\"",
"build-dll": "cross-env NODE_ENV=development webpack --config ./configs/webpack.config.renderer.dev.dll.babel.js --colors",
"build-preload": "cross-env webpack --config ./configs/webpack.config.preload.babel.js --colors",
"build-preload-dev": "cross-env NODE_ENV=development webpack --config ./configs/webpack.config.preload.babel.js --colors",
"build-e2e": "cross-env E2E_BUILD=true npm run build",
"build-main": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.main.prod.babel.js --colors",
"build-renderer": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors",
"dev": "npm run build-preload-dev && node -r @babel/register ./scripts/npmDev.js",
"clean": "rimraf ./release -s",
"cucumber": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 LAUNCHER_CONFIG=./launcher-config.yaml cucumber-js --compiler js:@babel/register -f node_modules/cucumber-pretty --format-options '{\"snippetInterface\": \"async-await\"}' --tags 'not @skip'",
"cucumber:rebuild": "npm run build && npm run cucumber",
"cucumber:fast": "npm run cucumber -- --tags 'not @slow'",
"cucumber:watch": "npm run cucumber -- --tags @watch",
"cucumber:watch:debug": "KEEP_APP_AFTER_TESTS=true npm run cucumber -- --tags @watch",
"flow-typed": "rimraf flow-typed/npm && flow-typed update",
"postinstall": "electron-builder install-app-deps package.json && npm run build-dll",
"lint": "cross-env NODE_ENV=development eslint --cache --format=pretty .",
"postlint-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{*{js,jsx,json},babelrc,eslintrc,prettierrc,stylelintrc}'",
"lint-styles": "stylelint --ignore-path .eslintignore '**/*.*(css|scss)' --syntax scss",
"postlint-styles-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{css,scss}'",
"package": "npm run clean && npm run build && electron-builder build --publish never",
"package-all": "npm run clean && npm run build && electron-builder build -mwl --publish never",
"package-ci": "npm run clean && npm run postinstall && npm run build && electron-builder --publish always",
"package-linux": "npm run clean && npm run build && electron-builder build -l --publish never",
"package-win": "npm run clean && npm run build && electron-builder -w --publish never --config.compression=store --config.publish.provider=github --config.publish.owner=cennznet --config.publish.repo=runanode --config.publish.private=true --config.publish.releaseType=release",
"prestart": "npm run build",
"release": "npm run clean && npm run build && electron-builder -mwl --publish never",
"release:mac": "npm run clean && npm run build && electron-builder -m --publish never",
"release:github": "npm run clean && npm run build && electron-builder -mwl --publish always --config.compression=store --config.publish.provider=github --config.publish.owner=cennznet --config.publish.repo=runanode --config.publish.releaseType=draft",
"release:minio": "npm run clean && npm run build && electron-builder -m --publish always --config.compression=store --config.publish.provider=s3 --config.publish.endpoint=http://localhost:9000 --config.publish.bucket=auto-update",
"release:minio-all": "npm run clean && npm run build && electron-builder -mlw --publish always --config.compression=store --config.publish.provider=s3 --config.publish.endpoint=http://localhost:9000 --config.publish.bucket=auto-update",
"start": "npm run build-preload && cross-env NODE_ENV=production LAUNCHER_CONFIG=./launcher-config.yaml electron ./app/main.prod.js",
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r @babel/register ./app/main.dev.js",
"start-renderer-dev": "cross-env NODE_ENV=development LAUNCHER_CONFIG=./launcher-config.yaml webpack-dev-server --config configs/webpack.config.renderer.dev.babel.js",
"styleguide": "styleguidist server",
"jest": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 jest",
"test-all": "npm run lint && npm run flow && npm run build && npm run test && npm run cucumber",
"test-e2e": "node -r @babel/register ./internals/scripts/CheckBuiltsExist.js && cross-env LAUNCHER_CONFIG=./launcher-config.yaml NODE_ENV=test testcafe electron:./ ./test/e2e/HomePage.e2e.js",
"test-e2e-live": "node -r @babel/register ./internals/scripts/CheckBuiltsExist.js && cross-env NODE_ENV=test testcafe-live electron:./ ./test/e2e/HomePage.e2e.js",
"test-watch": "npm run test --watch"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/testHelper/mocks/fileMock.js",
"\\.(css|less|sass|scss)$": "identity-obj-proxy"
},
"setupFiles": [
"./internals/scripts/CheckBuiltsExist.js"
],
"testURL": "http://localhost/",
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"dependencies": {
"@cennznet/api": "^0.13.4",
"@cennznet/crml-cennzx-spot": "^0.5.3",
"@cennznet/crml-generic-asset": "0.8.1",
"@cennznet/types": "^0.13.4",
"@cennznet/util": "^0.13.4",
"@cennznet/wallet": "^0.13.4",
"@fortawesome/fontawesome-free": "^5.8.1",
"@fortawesome/fontawesome-svg-core": "^1.2.17",
"@fortawesome/free-brands-svg-icons": "^5.8.1",
"@fortawesome/free-regular-svg-icons": "^5.8.1",
"@fortawesome/free-solid-svg-icons": "^5.8.1",
"@fortawesome/react-fontawesome": "^0.1.3",
"@polkadot/types": "0.78.1",
"@redux-beacon/google-analytics": "^1.2.1",
"@redux-beacon/logger": "^1.0.0",
"@sentry/webpack-plugin": "^1.6.2",
"bignumber.js": "^8.1.1",
"bip39": "^2.5.0",
"blakejs": "^1.1.0",
"bn.js": "^4.11.8",
"connected-react-router": "^6.3.2",
"core-js": "^2.6.0",
"devtron": "^1.4.0",
"electron-cookies": "heap/electron-cookies",
"electron-debug": "^2.0.0",
"electron-store": "^1.3.0",
"electron-unhandled": "^2.1.0",
"enzyme-adapter-react-16": "^1.7.1",
"es6-error": "^4.1.1",
"formik": "^1.4.3",
"history": "^4.9.0",
"jdenticon": "^2.1.1",
"lodash": "^4.17.11",
"merge-options": "^1.0.1",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"moment": "^2.23.0",
"path": "^0.12.7",
"pbkdf2": "^3.0.17",
"pdfkit": "^0.8.3",
"polished": "^3.2.0",
"prop-types": "^15.7.2",
"ps-list": "^5.0.0",
"qr-image": "^3.2.0",
"qs": "^6.6.0",
"ramda": "^0.26.1",
"rc-checkbox": "^2.1.6",
"rc-progress": "^2.2.6",
"rc-tabs": "^9.6.3",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-dropzone": "8.0.3",
"react-intl": "^2.7.2",
"react-loadable": "^5.5.0",
"react-localize-redux": "^3.5.1",
"react-lottie": "^1.2.3",
"react-modal": "^3.8.1",
"react-redux": "^6",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-sanfona": "^1.4.0",
"react-select": "^2.4.2",
"react-spring": "^8.0.19",
"react-svg-inline": "^2.1.1",
"react-table": "^6.10.0",
"react-toastify": "^4.5.2",
"react-toggle": "^4.0.2",
"react-tooltip": "^3.10.0",
"recompose": "^0.30.0",
"redux": "^4.0.1",
"redux-beacon": "^2.0.5",
"redux-observable": "^1.0.0",
"redux-thunk": "^2.3.0",
"reset-css": "^4.0.1",
"rxjs": "^6.3.3",
"rxjs-compat": "^6.3.3",
"safe-buffer": "^5.1.2",
"source-map-support": "^0.5.9",
"styled-components": "^4.2.0",
"styled-css-grid": "^1.2.1",
"styled-props": "^1.1.2",
"transform-loader": "^0.2.4",
"unorm": "^1.4.1",
"use-onclickoutside": "^0.3.1",
"uuid": "^3.3.2",
"wait-port": "^0.2.2",
"yup": "^0.26.10"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-proposal-json-strings": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
"@babel/plugin-transform-react-inline-elements": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.2.3",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"acorn": "^6.1.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-polished": "^1.1.0",
"babel-plugin-ramda": "^2.0.0",
"babel-plugin-styled-components": "^1.10.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.21",
"chai": "^4.2.0",
"chalk": "^2.4.1",
"child-process-promise": "^2.2.1",
"child_process": "^1.0.2",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"cross-spawn": "^6.0.5",
"css-loader": "^1.0.1",
"cucumber": "^3.1.0",
"cucumber-pretty": "^1.5.0",
"detect-port": "^1.3.0",
"electron": "3.0.13",
"electron-builder": "^20.38.2",
"electron-connect": "^0.6.3",
"electron-devtools-installer": "^2.2.4",
"electron-log": "^3.0.1",
"electron-updater": "^4.0.5",
"enzyme": "^3.9.0",
"enzyme-to-json": "^3.3.5",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-erb": "^0.0.2",
"eslint-config-prettier": "4.2.0",
"eslint-formatter-pretty": "^2.0.0",
"eslint-import-resolver-babel-module": "^5.0.0-beta.1",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-plugin-compat": "^3.1.1",
"eslint-plugin-flowtype": "^3.6.1",
"eslint-plugin-flowtype-errors": "^4.1.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jest": "^22.4.1",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-testcafe": "^0.2.1",
"fbjs-scripts": "^1.0.1",
"file-loader": "^2.0.0",
"flow-bin": "^0.98.0",
"flow-typed": "^2.6.1",
"husky": "^1.3.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.7.1",
"lint-staged": "^8.1.5",
"mini-css-extract-plugin": "^0.5.0",
"namor": "^1.1.2",
"node-sass": "^4.11.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-loader": "^3.0.0",
"prettier": "^1.17.0",
"prettier-stylelint": "^0.4.2",
"raw-loader": "^1.0.0",
"react-hot-loader": "^4.12.12",
"react-styleguidist": "^9.0.9",
"react-test-renderer": "^16.7.0",
"redux-logger": "^3.0.6",
"resolve-url-loader": "^3.0.1",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"sinon": "^7.2.2",
"spectron": "^5.0.0",
"style-loader": "^0.23.1",
"stylelint": "^10.0.1",
"stylelint-config-idiomatic-order": "^7.0.0",
"stylelint-config-prettier": "^5.1.0",
"stylelint-config-standard": "^18.3.0",
"terser-webpack-plugin": "1.2.3",
"testcafe": "^0.23.3",
"testcafe-browser-provider-electron": "^0.0.8",
"testcafe-live": "^0.1.4",
"testcafe-react-selectors": "^3.1.0",
"url-loader": "^1.1.2",
"webdriverio": "^4.14.1",
"webpack": "4.28.4",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.2.1",
"webpack-merge": "^4.1.5",
"yamljs": "^0.3.0"
},
"browserslist": "electron 1.6",
"devEngines": {
"node": ">=7.x",
"npm": ">=4.x",
"yarn": ">=0.21.3"
},
"lint-staged": {
"*.{js,jsx}": [
"cross-env NODE_ENV=development eslint --cache --format=pretty",
"git add"
],
"{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
"prettier --ignore-path .eslintignore --parser json --write",
"git add"
],
"*.{css,scss}": [
"stylelint --ignore-path .eslintignore --syntax scss --fix",
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
],
"*.{yml,md}": [
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
]
}
}