forked from cBioPortal/cbioportal-frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
284 lines (284 loc) · 11.7 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
{
"name": "cbioportal-frontend",
"description": "",
"scripts": {
"start": "./scripts/env_vars.sh && eval \"$(./scripts/env_vars.sh)\" && cross-env NODE_ENV=development webpack-dev-server",
"startSSL": "./scripts/env_vars.sh && eval \"$(./scripts/env_vars.sh)\" && cross-env NODE_ENV=development webpack-dev-server --https",
"clean": "rimraf dist tsDist common-dist",
"build": "yarn run clean && yarn run compileOqlParser && yarn run buildDLL:prod && cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=2048 webpack",
"buildDLL:prod": "yarn run clean && cross-env NODE_ENV=production webpack --config vendor-bundles.webpack.config.js",
"buildDLL:dev": "yarn run clean && cross-env NODE_ENV=development webpack --config vendor-bundles.webpack.config.js",
"build:size": "yarn run clean && yarn run buildDLL:prod && cross-env NODE_ENV=production webpack --json > stats.json",
"buildBootstrap": "sass --style :compressed src/globalStyles/bootstrap-entry.scss src/globalStyles/prefixed-bootstrap.min.css",
"buildPublicLib": "rimraf commons-dist && cross-env NODE_ENV=production webpack --config commons.webpack.config.js",
"heroku-postbuild": "yarn run build && yarn add [email protected] -g",
"updateAPI": "yarn run fetchAPI && yarn run buildAPI && yarn run updateOncoKbAPI && yarn run updateGenomeNexusAPI",
"fetchAPI": "./scripts/env_vars.sh && eval \"$(./scripts/env_vars.sh)\" && curl ${CBIOPORTAL_URL}/api/api-docs | json | grep -v basePath | grep -v termsOfService | grep -v host > src/shared/api/generated/CBioPortalAPI-docs.json && curl ${CBIOPORTAL_URL}/api/api-docs?group=internal | json | grep -v host | grep -v basePath | grep -v termsOfService > src/shared/api/generated/CBioPortalAPIInternal-docs.json",
"buildAPI": "node scripts/generate-api.js src/shared/api/generated CBioPortalAPI CBioPortalAPIInternal",
"updateOncoKbAPI": "yarn run fetchOncoKbAPI && yarn run buildOncoKbAPI",
"fetchOncoKbAPI": "curl https://www.oncokb.org/api/v1/v2/api-docs | json | grep -v basePath | grep -v termsOfService | grep -v host > src/public-lib/api/generated/OncoKbAPI-docs.json",
"buildOncoKbAPI": "node scripts/generate-api.js src/public-lib/api/generated OncoKbAPI",
"updateG2SAPI": "yarn run fetchG2SAPI && yarn run buildG2SAPI",
"fetchG2SAPI": "curl http://g2s.genomenexus.org/v2/api-docs?group=api > src/public-lib/api/generated/Genome2StructureAPI-docs.json",
"buildG2SAPI": "node scripts/generate-api.js src/public-lib/api/generated Genome2StructureAPI",
"updateGenomeNexusAPI": "yarn run fetchGenomeNexusAPI && yarn run buildGenomeNexusAPI",
"fetchGenomeNexusAPI": "./scripts/env_vars.sh && eval \"$(./scripts/env_vars.sh)\" && curl ${GENOME_NEXUS_URL}/v2/api-docs | json | grep -v basePath | grep -v termsOfService | grep -v host > src/public-lib/api/generated/GenomeNexusAPI-docs.json && curl ${GENOME_NEXUS_URL}/v2/api-docs?group=internal | json | grep -v basePath | grep -v termsOfService | grep -v host > src/public-lib/api/generated/GenomeNexusAPIInternal-docs.json",
"buildGenomeNexusAPI": "node scripts/generate-api.js src/public-lib/api/generated GenomeNexusAPI GenomeNexusAPIInternal",
"updateHotspotGenes": "./scripts/get_hotspot_genes.sh > src/shared/static-data/hotspotGenes.json",
"compileOqlParser": "cd src/shared/lib/oql && pegjs oql-parser.pegjs",
"serveDist": "./scripts/serve_dist.sh",
"serveDistLocalDb": "./end-to-end-test/local/runtime-config/serve_dist.sh",
"testTime": "start_time=`date +%s` && karma start karma.conf.js && echo run time is $(expr `date +%s` - $start_time) s",
"test": "export NODE_OPTIONS=--max-old-space-size=2048; karma start karma.conf.js",
"test:watch": "yarn run test -- --watch",
"test:debug": "yarn run test -- --debug --browsers=Chrome_with_debugging --single-run=false",
"prettierLastCommit": "yarn run prettier --write $(git diff-tree --no-commit-id --name-only -r $(git rev-parse HEAD))",
"syncmock": "node src/test/fetchMockData.js --diff"
},
"engines": {
"node": "8.12.0",
"yarn": "1.13.0"
},
"author": "",
"license": "",
"dependencies": {
"3dmol": "^1.3.7",
"@babel/core": "7.4.4",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"@types/chai": "3.5.2",
"@types/chai-enzyme": "^0.6.2",
"@types/chart.js": "^2.4.6",
"@types/classnames": "0.0.32",
"@types/d3-scale": "^2.0.0",
"@types/d3-scale-chromatic": "^1.3.0",
"@types/detect-browser": "^1.6.0",
"@types/enzyme": "2.8.0",
"@types/google.analytics": "0.0.39",
"@types/jquery": "^3.3.31",
"@types/js-combinatorics": "0.5.29",
"@types/jspdf": "^1.1.31",
"@types/jstree": "^3.3.35",
"@types/lodash": "4.14.104",
"@types/lolex": "1.5.31",
"@types/mocha": "2.2.41",
"@types/numeral": "0.0.22",
"@types/pdfobject": "2.0.5",
"@types/raphael": "2.1.30",
"@types/rc-slider": "^8.2.0",
"@types/rc-tooltip": "3.7.0",
"@types/react": "^16.8.8",
"@types/react-bootstrap": "^0.32.15",
"@types/react-collapse": "^4.0.2",
"@types/react-dom": "^16.8.2",
"@types/react-fontawesome": "1.5.0",
"@types/react-grid-layout": "^0.16.5",
"@types/react-helmet": "^5.0.7",
"@types/react-overlays": "^0.6.9",
"@types/react-router": "3.0.2",
"@types/react-sortable-hoc": "^0.6.5",
"@types/react-spinkit": "^1.1.35",
"@types/react-table": "^6.8.4",
"@types/react-transition-group": "^2.0.14",
"@types/react-virtualized": "^9.18.7",
"@types/recompose": "^0.20.4",
"@types/reselect": "^2.0.27",
"@types/route-parser": "0.0.0",
"@types/seamless-immutable": "^6.1.2",
"@types/seedrandom": "2.4.27",
"@types/sinon": "^4.1.3",
"@types/superagent": "^2.0.36",
"addthis-snippet": "^1.0.1",
"autobind-decorator": "^2.1.0",
"autoprefixer": "^6.7.0",
"babel-loader": "8.0.5",
"babel-plugin-transform-es2015-modules-umd": "^6.22.0",
"babel-polyfill": "^6.22.0",
"babel-register": "^6.22.0",
"better-react-spinkit": "^2.0.0-6",
"bind-decorator": "^1.0.11",
"bootstrap": "3.3.7",
"bootstrap-loader": "^1.2.0-beta.1",
"bootstrap-sass": "3.3.7",
"bowser": "^1.7.1",
"bundle-loader": "^0.5.4",
"chart.js": "^2.6.0",
"classnames": "^2.2.5",
"clinical-timeline": "0.0.19",
"contrast": "^1.0.1",
"convert-css-color-name-to-hex": "^0.1.1",
"copy-webpack-plugin": "^5.0.3",
"cross-env": "^3.1.4",
"css-loader": "^2.1.1",
"cssnano": "^3.10.0",
"d3": "3.5.6",
"d3-dsv": "1.0.8",
"d3-scale": "^2.0.0",
"d3-scale-chromatic": "^1.3.3",
"datatables.net": "^1.10.13",
"dotenv": "^4.0.0",
"express": "^4.16.4",
"file-loader": "^3.0.1",
"fixed-data-table": "^0.6.3",
"fmin": "^0.0.2",
"font-awesome": "^4.7.0",
"fork-ts-checker-webpack-plugin": "^1.2.0",
"git-revision-webpack-plugin": "^3.0.3",
"html-webpack-plugin": "3.2.0",
"igv": "2.2.0",
"imports-loader": "^0.8.0",
"jStat": "^1.7.0",
"javascript-natural-sort": "^0.7.1",
"jquery": "^3.2.1",
"jquery-migrate": "3.0.0",
"js-combinatorics": "^0.5.2",
"json-fn": "^1.1.1",
"jspdf": "^1.3.3",
"jstree": "^3.3.4",
"less": "^2.7.2",
"little-loader": "^0.2.0",
"loader-utils": "^1.0.2",
"lodash": "^4.17.11",
"lolex": "^1.6.0",
"measure-text": "0.0.4",
"memoize-weak-decorator": "^1.0.3",
"mini-css-extract-plugin": "^0.6.0",
"mixpanel-browser": "^2.18.0",
"mobx": "^3.1.7",
"mobx-react": "^4.1.3",
"mobx-react-devtools": "^4.2.11",
"mobx-react-router": "^3.1.2",
"mobx-utils": "^2.0.1",
"mobxpromise": "github:cbioportal/mobxpromise#v1.0.2",
"node-sass": "^4.9.3",
"numeral": "^2.0.6",
"object-sizeof": "^1.2.0",
"oncoprintjs": "4.0.8",
"parameter-validator": "^1.0.2",
"pdfobject": "^2.0.201604172",
"pegjs": "^0.10.0",
"plotly.js": "^1.42.5",
"pluralize": "^7.0.0",
"postcss-loader": "^1.2.2",
"precss": "^1.4.0",
"progress-bar-webpack-plugin": "^1.9.3",
"pushstate-server": "3.0.1",
"qtip2": "^3.0.3",
"raw-loader": "^0.5.1",
"rc-animate": "^2.4.1",
"rc-slider": "^8.3.5",
"rc-tooltip": "3.7.3",
"rc-trigger": "2.2.2",
"rc-util": "4.3.0",
"react": "^16.8.4",
"react-addons-pure-render-mixin": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-bootstrap": "^0.31.5",
"react-bootstrap-autosuggest": "^0.5.0",
"react-bootstrap-slider": "^2.0.1",
"react-clipboard.js": "^1.0.1",
"react-collapse": "^4.0.3",
"react-column-resizer": "^1.1.9",
"react-dom": "^16.6.3",
"react-draggable": "^3.3.0",
"react-file-download": "^0.3.2",
"react-fontawesome": "^1.5.0",
"react-grid-layout": "^0.16.6",
"react-height": "^3.0.0",
"react-helmet": "^5.2.0",
"react-if": "^2.1.0",
"react-json-to-table": "^0.1.5",
"react-markdown": "^3.4.1",
"react-mfb": "^0.6.0",
"react-motion": "^0.4.7",
"react-mutation-mapper": "^0.3.6",
"react-overlays": "0.7.4",
"react-portal": "^4.2.0",
"react-rangeslider": "^2.1.0",
"react-renderif": "^1.0.2",
"react-resize-detector": "^0.5.0",
"react-reveal": "^1.2.2",
"react-router": "^3.0.2",
"react-select": "^3.0.4",
"react-select1": "npm:[email protected]",
"react-sortable-hoc": "^1.9.1",
"react-spinkit": "^3.0.0",
"react-text-truncate": "^0.9.0",
"react-tooltip": "^3.2.2",
"react-transition-group": "^2.5.1",
"react-twitter-widgets": "^1.7.1",
"react-virtualized": "^9.20.1",
"react-zeroclipboard": "^3.2.2",
"reactable": "^0.14.1",
"reactour": "^1.15.0",
"recompose": "^0.22.0",
"regression": "^2.0.1",
"render-if": "^0.1.1",
"reselect": "^2.5.4",
"resolve-url-loader": "^1.6.1",
"responsive-fixed-data-table": "^2.0.0",
"route-parser": "0.0.5",
"sass-loader": "^7.1.0",
"sass-resources-loader": "^1.3.1",
"save-svg-as-png": "^1.4.6",
"script-loader": "^0.7.0",
"seamless-immutable": "^7.0.1",
"seedrandom": "^2.4.3",
"shallowequal": "^1.1.0",
"source-map-loader": "^0.1.6",
"style-loader": "^0.23.1",
"styled-components": "^4.2.1",
"superagent": "^3.8.3",
"superagent-cache": "^3.0.1",
"svg2pdf.js": "^1.3.3",
"svgsaver": "0.9.0",
"swagger-client": "^3.8.22",
"ts-loader": "4.0.0",
"typescript": "3.2.2",
"underscore": "^1.8.3",
"url": "^0.11.0",
"url-loader": "^1.1.2",
"venn.js": "^0.2.20",
"victory": "30.0.0",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.1",
"webpack-fail-plugin": "^1.0.5",
"webpack-raphael": "^2.1.4",
"word-wrap": "^1.2.3"
},
"devDependencies": {
"argparse": "^1.0.9",
"babel-plugin-rewire": "^1.0.0",
"chai": "^4.2.0",
"chai-enzyme": "^1.0.0-beta.1",
"cheerio": "^0.22.0",
"colors": "^1.1.2",
"deep-equal-in-any-order": "^1.0.10",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.12.1",
"expect": "^1.20.2",
"expect-jsx": "^5.0.0",
"generate-package-json-webpack-plugin": "^1.0.0",
"http-server": "^0.11.1",
"jasmine-core": "^2.5.2",
"json": "^9.0.6",
"karma": "^1.7.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-jasmine": "^1.1.0",
"karma-junit-reporter": "^1.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^3.0.5",
"mocha": "^5.2.0",
"prettier": "1.18.2",
"request": "^2.88.0",
"sinon": "^4.1.3",
"swagger-js-codegen": "git+https://github.com/cBioPortal/swagger-js-codegen.git#0362f4a1e2d116ad6dffc36e4b57cdfbc93956cf",
"webpack-dev-server": "^3.3.1",
"webpack-node-externals": "^1.7.2",
"yargs": "^6.6.0"
}
}