forked from decred/decrediton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
243 lines (243 loc) · 8.33 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
{
"name": "decrediton",
"productName": "Decrediton",
"version": "1.3.1",
"description": "Decrediton based on React, React Router, Webpack, React Hot Loader for rapid application development",
"main": "main.js",
"scripts": {
"test": "cross-env NODE_ENV=test jest",
"test-watch": "npm test -- --watch",
"test-e2e": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 mocha --retries 2 --compilers js:@babel/register --require ./test/setup.js ./test/e2e.js",
"lint": "./node_modules/.bin/eslint app scripts *.js && ./node_modules/.bin/stylelint app/style/*.less",
"lint-fix": "./node_modules/.bin/eslint app scripts *.js --fix && ./node_modules/.bin/stylelint app/style/*.less --fix",
"hot-server": "cross-env NODE_ENV=development node --max_old_space_size=4096 -r @babel/register server.js",
"build-main": "cross-env NODE_ENV=production node -r @babel/register ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --progress --profile --colors",
"build-renderer": "cross-env NODE_ENV=production node -r @babel/register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors",
"build": "npm run build-main && npm run build-renderer",
"start": "cross-env NODE_ENV=production electron ./app/ --debug --customBinPath=./bin",
"start-hot": "cross-env HOT=1 NODE_ENV=development electron -r @babel/register -r @babel/polyfill ./app/main.development",
"postinstall": "concurrently \"electron-builder install-app-deps\" \"node node_modules/fbjs-scripts/node/check-dev-engines.js package.json\"",
"dev": "npm run hot-server -- --start-hot",
"package": "npm run build && build --publish never",
"package-win": "npm run build && build --win --x64 --ia32",
"package-linux": "npm run build && build --linux",
"package-mac": "npm run build && build --mac",
"package-all": "npm run build && build -mwl",
"package-dev-linux": "npm run build && build --linux tar.gz",
"cleanup": "mop -v",
"flow": "flow",
"i18n-prepare-untranslated": "node ./scripts/prepareUntranslated.js && ./node_modules/.bin/rip json2pot 'app/i18n/extracted/**/*.json' -c id -o app/i18n/pot/decrediton.pot",
"i18n-assemble-translated": "node ./scripts/assembleTranslated.js && ./node_modules/.bin/rip po2json 'app/i18n/po/*.po' -m 'app/i18n/extracted/**/*.json' -c id -o app/i18n/translations --indentation 2 --sort-by-id",
"i18n-check-docs": "node ./scripts/docsTranslationStatus.js",
"i18n-check-dupes": "node ./scripts/checkDuplicateTranslationIds.js"
},
"jest": {
"verbose": true,
"rootDir": "test/unit",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|md)$": "<rootDir>/../mocks/fileMock.js",
"\\.(css|less)$": "<rootDir>/../mocks/styleMock.js",
"^grpc$": "<rootDir>/../mocks/grpcMock.js",
"^electron$": "<rootDir>/../mocks/electronMock.js"
},
"transform": {
"^.+\\.js?$": "babel-jest"
},
"setupFiles": [
"<rootDir>/../setup.js"
],
"modulePaths": [
"<rootDir>/../../app",
"<rootDir>/../../app/components",
"<rootDir>/../../node_modules",
"<rootDir>/../../app/node_modules",
"<rootDir>/../"
]
},
"build": {
"appId": "com.Electron.Decrediton",
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"files": [
"dist/",
"node_modules/",
"app.html",
"staticPages/",
"main.js",
"main.js.map",
"package.json"
],
"extraResources": [
{
"from": "bin",
"to": "bin"
},
"*.node"
],
"win": {
"target": "nsis"
},
"linux": {
"category": "public.app-category.tools",
"target": [
"deb",
"rpm",
"tar.gz"
]
},
"directories": {
"output": "release"
}
},
"bin": {
"electron": "./node_modules/.bin/electron"
},
"repository": {
"type": "git",
"url": "git+https://github.com/decred/decrediton.git"
},
"author": {
"name": "The Decred developers",
"email": "info@decred.org",
"url": "https://github.com/decred"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/decred/decrediton/issues"
},
"keywords": [
"decred",
"decrediton",
"electron",
"react",
"react-router",
"flux",
"webpack",
"react-hot"
],
"homepage": "https://github.com/decred/decrediton#readme",
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.1.2",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-bind": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
"@babel/plugin-transform-strict-mode": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-plugin-react-intl": "^3.0.1",
"clipboard-copy": "^2.0.1",
"concurrently": "^4.0.1",
"core-decorators": "^0.20.0",
"cross-env": "^5.2.0",
"electron": "3.0.6",
"enzyme": "^3.7.0",
"eslint": "^5.8.0",
"eslint-formatter-pretty": "^1.1.0",
"eslint-plugin-react": "^7.11.1",
"express": "^4.16.4",
"fbjs-scripts": "^1.0.1",
"file-loader": "^2.0.0",
"google-protobuf": "^3.1.1",
"grpc-tools": "^1.6.6",
"html-webpack-plugin": "^3.2.0",
"jest": "^23.6.0",
"jest-date-mock": "^1.0.5",
"less": "^3.8.1",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.4.4",
"minimist": "^1.2.0",
"node-gyp": "^3.6.2",
"node-loader": "^0.6.0",
"react-intl-translations-manager": "^5.0.0",
"redux-logger": "^2.7.4",
"sinon": "^6.3.4",
"style-loader": "^0.23.1",
"stylelint-config-standard": "^18.2.0",
"url-loader": "^1.1.2",
"webpack": "^4.23.1",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.3.0",
"webpack-hot-middleware": "^2.24.3",
"webpack-merge": "^4.1.4"
},
"dependencies": {
"autobind-decorator": "^2.1.0",
"axios": "^0.18.0",
"css-loader": "^1.0.1",
"dom-helpers": "^3.3.1",
"electron-builder": "^20.29.0",
"electron-devtools-installer": "^2.2.4",
"enzyme-adapter-react-16": "^1.6.0",
"ini": "^1.3.4",
"int64-buffer": "^0.1.10",
"is-running": "^2.1.0",
"lodash": "^4.17.4",
"mv": "^2.1.1",
"node-addon-loader": "decred/node-addon-loader#master",
"nouislider": "^12.0.0",
"prop-types": "^15.5.10",
"qr-image": "^3.2.0",
"raw-loader": "^0.5.1",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-event-listener": "^0.6.4",
"react-infinite-scroller": "^1.2.2",
"react-intl": "^2.7.2",
"react-intl-po": "^2.2.2",
"react-markdown": "^3.3.0",
"react-motion": "^0.5.2",
"react-redux": "^4.4.5",
"react-router-dom": "^4.2.2",
"react-router-redux": "^5.0.0-alpha.9",
"react-router-transition": "^1.2.1",
"react-select": "1.0.0",
"react-timeout": "^1.0.1",
"react-visibility-sensor": "^4.1.1",
"recharts": "^1.3.5",
"redux": "^3.6.0",
"redux-thunk": "^2.1.0",
"reselect": "^3.0.1",
"source-map-support": "^0.5.9",
"string-argv": "0.1.1",
"stylelint": "^9.7.0",
"timezone-mock": "^1.0.2",
"winston": "^2.3.1"
},
"devEngines": {
"node": ">=6.x",
"npm": ">=3.x"
}
}