forked from regentmarkets-repo-archive/binary-next-gen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
204 lines (204 loc) · 7.52 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
{
"name": "binary-next-gen",
"repository": {
"type": "git",
"url": "git+https://github.com/binary-com/binary-next-gen.git"
},
"scripts": {
"test": "mocha --compilers js:babel-core/register --require ignore-styles --require babel-polyfill ./src/*/__tests__/*.js ./src/*/*/__tests__/*.js -R progress",
"test:full": "npm run test:eslint && npm run test:coverage",
"test:eslint": "webpack --config webpack.config.js",
"test:flow": "flow check --all --show-all-errors",
"test:unit": "mocha --compilers js:babel-core/register --require ignore-styles --require babel-polyfill ./src/*/__tests__/*.js ./src/*/*/__tests__/*.js",
"test:coverage": "./node_modules/.bin/babel-node ./node_modules/.bin/babel-istanbul cover ./node_modules/.bin/_mocha -- --require ignore-styles src/*/__tests__/*.js src/*/*/__tests__/*.js",
"test:watch": "npm test -- --watch",
"test:unit-watch": "mocha --compilers js:babel-core/register --require ignore-styles --require babel-polyfill --watch ./src/*/__tests__/*.js ./src/*/*/__tests__/*.js",
"test:coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"start": "node server.js",
"clean": "rimraf dist",
"build": "npm run clean && npm run build:webpack",
"build:dev": "webpack --config webpack.config.js",
"build:apk": "npm run build:dev && cordova build --release android && jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore tick-trade-key.keystore ./platforms/android/build/outputs/apk/android-release-unsigned.apk TickTrade && ~/Library/Android/sdk/build-tools/24.0.0/zipalign -v 4 ./platforms/android/build/outputs/apk/android-release-unsigned.apk ./platforms/android/build/outputs/apk/android-release-aligned.apk",
"build:webpack": "NODE_ENV=production webpack --config webpack.config.js",
"lint": "eslint src",
"electron": "NODE_ENV=production electron ./www/main.js",
"translate": "bash fetch-translation.sh",
"dist": "build -owl --ia32 --x64",
"prerelease:osx": "rm -rf ./release/osx && mkdirp release/osx",
"release:osx": "cp -rv ./dist/osx/*.{dmg,zip} ./release/osx && PACKAGE_VERSION=$(cat app/package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && echo $PACKAGE_VERSION >> ./release/osx/VERSION",
"prerelease:win32": "rm -rf ./release/win32 && mkdirp release/win32",
"release:win32": "cp -v ./dist/{RELEASES,*.nupkg,*.exe} release/win32",
"prerelease:win64": "rm -rf ./release/win64 && mkdirp release/win64",
"release:win64": "cp -v ./dist/win/{RELEASES,*.nupkg,*.exe} release/win64",
"release": "npm run release:osx && npm run release:win32 && npm run release:win64",
"all": "npm run dist && npm run release && gulp mobile:release",
"deploy:android": "npm run build:dev && code-push release-cordova binary-next-gen-android android",
"deploy:ios": "npm run build:dev && code-push release-cordova binary-next-gen-ios ios"
},
"build": {
"appId": "app.binary.com",
"category": "Binary Trading",
"productName": "Binary.com",
"osx": {
"title": "Binary.com",
"background": "build/background.png",
"icon": "build/icon.icns",
"icon-size": 128,
"target": "dmg",
"identity": "codesign",
"contents": [
{
"x": 355,
"y": 125,
"type": "link",
"path": "/Applications"
},
{
"x": 155,
"y": 125,
"type": "file"
}
]
},
"win": {
"iconUrl": "https://www.binary.com/images/favicons/favicon-192x192.png",
"target": "squirrel",
"title": "Binary.com",
"icon": "build/icon.ico",
"loadingGif": "",
"msi": true
},
"linux": {
"description": "Sharp Prices. Smart Trading",
"title": "Binary.com",
"icon": "build/icon.ico",
"target": "AppImage",
"vendor": "Binary (IOM) Ltd"
}
},
"keywords": [
"binary.com",
"webpack",
"react",
"redux",
"websockets"
],
"author": "Boris, Qing Wei, Nuru @ Binary",
"license": "MIT",
"babel": {
"compact": true,
"presets": [
"react",
"es2015",
"es2016",
"es2017",
"stage-1"
],
"plugins": [
"transform-async-to-generator",
"transform-decorators-legacy",
"transform-inline-environment-variables",
"transform-flow-strip-types"
],
"env": {
"production": {
"plugins": [
"transform-react-constant-elements"
]
}
}
},
"dependencies": {
"babel-polyfill": "^6.13.0",
"binary-charts": "*",
"binary-components": "*",
"binary-live-api": "*",
"binary-utils": "^4.18.0",
"classnames": "^2.2.5",
"history": "~4.2.0",
"immutable": "^3.8.1",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1",
"react": "^15.3.2",
"react-addons-css-transition-group": "^15.3.2",
"react-dom": "^15.3.2",
"react-fastclick": "^2.1.2",
"react-intl": "^2.1.5",
"react-redux": "4.4.5",
"react-router": "^2.8.1",
"react-router-redux": "^4.0.6",
"react-sparklines": "*",
"redux": "^3.6.0",
"redux-saga": "^0.11.1",
"redux-storage": "^4.1.1",
"redux-storage-decorator-filter": "^1.1.6",
"redux-storage-merger-immutablejs": "^1.0.3",
"redux-thunk": "^2.1.0",
"reselect": "^2.5.4",
"reselect-map": "0.0.2",
"trackjs": "^2.5.1"
},
"devDependencies": {
"asar": "^0.12.3",
"autoprefixer": "^6.5.0",
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-eslint": "^7.0.0",
"babel-istanbul": "^0.11.0",
"babel-loader": "^6.2.5",
"babel-plugin-tcomb": "^0.3.14",
"babel-plugin-transform-async-to-generator": "^6.8.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-inline-environment-variables": "^6.8.0",
"babel-plugin-transform-react-constant-elements": "^6.9.1",
"babel-plugin-transform-react-inline-elements": "^6.8.0",
"babel-preset-es2015": "^6.14.0",
"babel-preset-es2016": "^6.11.3",
"babel-preset-es2017": "^6.14.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5",
"binary-test-data": "^1.2.0",
"chai": "^3.5.0",
"chai-immutable": "^1.6.0",
"chai-subset": "^1.3.0",
"coveralls": "^2.11.14",
"css-loader": "^0.25.0",
"enzyme": "^2.4.1",
"eslint": "^3.6.1",
"eslint-config-airbnb": "^12.0.0",
"eslint-import-resolver-webpack": "^0.6.0",
"eslint-loader": "^1.5.0",
"eslint-plugin-flowtype": "^2.19.0",
"eslint-plugin-import": "^1.16.0",
"eslint-plugin-jsx-a11y": "^2.2.2",
"eslint-plugin-react": "^6.3.0",
"express": "^4.14.0",
"ignore-styles": "^5.0.1",
"json-loader": "^0.5.4",
"mocha": "^3.1.0",
"mocha-lcov-reporter": "^1.2.0",
"node-sass": "^3.10.0",
"node-sass-middleware": "^0.9.8",
"postcss-loader": "^0.13.0",
"postcss-modules": "^0.5.2",
"precss": "^1.4.0",
"progress-bar-webpack-plugin": "^1.9.0",
"react-addons-perf": "^15.3.2",
"react-addons-test-utils": "^15.3.2",
"react-material-design-icons": "*",
"react-perf-tool": "^0.1.5",
"redux-mock-store": "1.2.1",
"reselect-debug": "^1.0.0",
"style-loader": "^0.13.1",
"stylelint": "^7.3.1",
"stylelint-config-standard": "^13.0.2",
"stylelint-loader": "^6.2.0",
"svg-react-loader": "^0.3.7",
"webpack": "^2.1.0-beta.4",
"webpack-dev-middleware": "^1.8.3",
"webpack-hot-middleware": "^2.12.2",
"webpack-notifier": "^1.4.1",
"why-did-you-update": "0.0.8",
"yargs": "^5.0.0"
}
}