forked from oncokb/oncokb-transcript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
223 lines (223 loc) · 11 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
{
"name": "oncokb-curation",
"version": "0.0.1-SNAPSHOT",
"private": true,
"description": "Description for oncokb-curation",
"license": "UNLICENSED",
"scripts": {
"backend:build-cache": "./mvnw dependency:go-offline",
"backend:debug": "./mvnw -Dspring-boot.run.jvmArguments=\"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000\"",
"backend:doc:test": "./mvnw -ntp javadoc:javadoc --batch-mode",
"backend:info": "./mvnw -ntp enforcer:display-info --batch-mode",
"backend:nohttp:test": "./mvnw -ntp checkstyle:check --batch-mode",
"backend:start": "./mvnw -P-webapp",
"backend:unit:test": "./mvnw -ntp -P-webapp verify --batch-mode -Dlogging.level.ROOT=OFF -Dlogging.level.org.zalando=OFF -Dlogging.level.tech.jhipster=OFF -Dlogging.level.org.mskcc.oncokb.curation=OFF -Dlogging.level.org.springframework=OFF -Dlogging.level.org.springframework.web=OFF -Dlogging.level.org.springframework.security=OFF",
"ci:backend:test": "yarn run backend:info && yarn run backend:doc:test && yarn run backend:nohttp:test && yarn run backend:unit:test",
"ci:e2e:package": "yarn run java:$yarn_package_config_packaging:$yarn_package_config_default_environment -- -Pe2e -Denforcer.skip=true",
"ci:e2e:prepare": "yarn run ci:e2e:prepare:docker",
"ci:e2e:prepare:docker": "yarn run docker:db:up && yarn run docker:others:up && docker ps -a",
"preci:e2e:server:start": "yarn run docker:db:await --if-present && yarn run docker:others:await --if-present",
"ci:e2e:server:start": "java -jar target/e2e.$yarn_package_config_packaging --spring.profiles.active=$yarn_package_config_default_environment -Dlogging.level.ROOT=OFF -Dlogging.level.org.zalando=OFF -Dlogging.level.tech.jhipster=OFF -Dlogging.level.org.mskcc.oncokb.curation=OFF -Dlogging.level.org.springframework=OFF -Dlogging.level.org.springframework.web=OFF -Dlogging.level.org.springframework.security=OFF --logging.level.org.springframework.web=ERROR",
"ci:e2e:teardown": "yarn run ci:e2e:teardown:docker",
"ci:e2e:teardown:docker": "yarn run docker:db:down --if-present && yarn run docker:others:down && docker ps -a",
"ci:server:package": "yarn run java:$yarn_package_config_packaging:$yarn_package_config_default_environment",
"clean-www": "rimraf target/classes/static/app/{src,target/}",
"cleanup": "rimraf target/classes/static/",
"docker:app:up": "docker-compose -f src/main/docker/app.yml up -d oncokb-curation-app",
"docker:db:down": "docker-compose -f src/main/docker/mysql.yml down -v --remove-orphans",
"docker:db:up": "docker-compose -f src/main/docker/mysql.yml up -d",
"docker:keycloak:down": "docker-compose -f src/main/docker/keycloak.yml down -v --remove-orphans",
"docker:keycloak:up": "docker-compose -f src/main/docker/keycloak.yml up -d",
"docker:others:await": "echo \"Waiting for keycloak to start\" && wait-on http-get://localhost:8080/auth/realms/oncokb-curation -t 30000 && echo \"keycloak started\" || echo \"keycloak not running, make sure oauth2 server is running\"",
"docker:others:down": "yarn run docker:keycloak:down && yarn run docker:redis:down",
"predocker:others:up": "",
"docker:others:up": "yarn run docker:keycloak:up && yarn run docker:redis:up",
"docker:redis:down": "docker-compose -f src/main/docker/redis.yml down -v --remove-orphans",
"docker:redis:up": "docker-compose -f src/main/docker/redis.yml up -d",
"firebase-emulator": "node node_modules/firebase-tools/lib/bin/firebase.js emulators:start --import src/test/javascript/firebase --project oncokb-curation-test-54b6c",
"java:docker": "./mvnw -ntp verify -DskipTests jib:dockerBuild",
"java:docker:arm64": "yarn run java:docker -- -Djib-maven-plugin.architecture=arm64",
"java:docker:dev": "yarn run java:docker -- -Pdev,webapp",
"java:docker:prod": "yarn run java:docker -- -Pprod",
"java:jar": "./mvnw -ntp verify -DskipTests --batch-mode",
"java:jar:dev": "yarn run java:jar -- -Pdev,webapp",
"java:jar:prod": "yarn run java:jar -- -Pprod",
"java:war": "./mvnw -ntp verify -DskipTests --batch-mode -Pwar",
"java:war:dev": "yarn run java:war -- -Pdev,webapp",
"java:war:prod": "yarn run java:war -- -Pprod",
"jest": "jest --coverage --logHeapUsage --maxWorkers=2 --config jest.conf.js",
"jest:update": "yarn run jest -- --updateSnapshot",
"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"lint:fix": "yarn run lint -- --fix",
"prepare": "husky",
"prettier:check": "prettier --check \"{,src/**/,webpack/}*.{md,json,yml,html,cjs,mjs,js,ts,tsx,css,scss,java}\"",
"prettier:format": "prettier --write \"{,src/**/,webpack/}*.{md,json,yml,html,cjs,mjs,js,ts,tsx,css,scss,java}\"",
"screenshot-test": "yarn start & yarn run firebase-emulator & wait-on http-get://localhost:9000 & wait-on http-get://localhost:9095 & wait-on http-get://localhost:9099 && yarn run wdio && kill $(lsof -t -i:9000) kill $(lsof -t -i:4400)",
"start": "yarn run webapp:dev --",
"start-tls": "yarn run webapp:dev --env tls",
"pretest": "yarn run lint",
"test": "yarn run jest --",
"test-ci": "yarn run lint && yarn run jest:update --",
"test:watch": "yarn run jest -- --watch",
"updateAPI": "openapi-generator-cli generate -i http://localhost:9090/v3/api-docs -g typescript-axios -o src/main/webapp/app/shared/api/generated/curation --type-mappings set=Array",
"updateCoreAPI": "curl http://localhost:8000/oncokb/api/v1/v2/api-docs?group=Private%20APIs | jq '.definitions.ResponseEntity.properties.statusCode.enum |= unique' > /tmp/updateCoreAPI.json && openapi-generator-cli generate -i /tmp/updateCoreAPI.json -g typescript-axios -o src/main/webapp/app/shared/api/generated/core --type-mappings List=any",
"wdio": "cross-env TS_NODE_PROJECT=src/test/javascript/tsconfig.json wdio run ./wdio.conf.ts",
"webapp:build": "yarn run clean-www && yarn run webapp:build:dev --",
"webapp:build:dev": "webpack --config webpack/webpack.dev.js --env stats=minimal",
"webapp:build:prod": "webpack --config webpack/webpack.prod.js --progress=profile",
"webapp:dev": "yarn run webpack-dev-server -- --config webpack/webpack.dev.js --env stats=minimal",
"webapp:dev-verbose": "yarn run webpack-dev-server -- --config webpack/webpack.dev.js --progress=profile --env stats=normal",
"webapp:prod": "yarn run clean-www && yarn run webapp:build:prod --",
"webapp:test": "yarn run test --",
"webpack-dev-server": "webpack serve"
},
"config": {
"backend_port": "9090",
"default_environment": "prod",
"packaging": "jar"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "6.5.2",
"@fortawesome/free-regular-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "0.2.0",
"@larryyangsen/react-infinite-scroller": "1.2.6",
"@mskcc/core": "^10.4.1",
"@sentry/react": "^7.112.2",
"@sentry/webpack-plugin": "^2.17.0",
"@superwf/mobx-react-router": "^7.4.0",
"availity-reactstrap-validation": "^2.7.1",
"axios": "1.6.8",
"bootstrap": "5.3.3",
"classnames": "^2.5.1",
"dayjs": "1.11.11",
"diff-match-patch": "^1.0.5",
"firebase": "^10.11.1",
"firebase-admin": "^12.2.0",
"history": "^5.3.0",
"jest-mock-extended": "^3.0.7",
"loaders.css": "",
"lodash": "4.17.21",
"mobx": "^6.12.3",
"mobx-react": "^9.1.1",
"oncokb-styles": "^1.5.0",
"path-browserify": "1.0.1",
"pluralize": "^8.0.0",
"rc-tooltip": "^6.2.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-event-timeline": "^1.6.3",
"react-firebase-hooks": "^5.1.1",
"react-highlight-words": "^0.20.0",
"react-hook-form": "7.51.3",
"react-icons": "^5.1.0",
"react-jhipster": "0.25.3",
"react-loadable": "5.5.0",
"react-pro-sidebar": "^1.1.0",
"react-router-dom": "5.3.0",
"react-select": "^5.8.0",
"react-select-async-paginate": "^0.7.4",
"react-spinkit": "^3.0.0",
"react-table": "^6.10.3",
"react-toastify": "8.0.2",
"react-transition-group": "4.4.5",
"react-with-separator": "^1.2.1",
"reactstrap": "9.2.2",
"tslib": "2.6.2",
"uuid": "^9.0.1",
"webpack-cli": "^5.1.4"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.13.4",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "12.1.5",
"@types/jest": "29.5.12",
"@types/lodash": "4.17.0",
"@types/node": "20.12.7",
"@types/pluralize": "^0.0.33",
"@types/react": "17.0.20",
"@types/react-dom": "17.0.9",
"@types/react-highlight-words": "^0.16.7",
"@types/react-router-dom": "5.3.3",
"@types/react-spinkit": "^3.0.10",
"@types/react-table": "^6.8.1",
"@types/uuid": "^9.0.8",
"@types/webpack-env": "1.18.4",
"@typescript-eslint/eslint-plugin": "7.8.0",
"@typescript-eslint/parser": "7.8.0",
"@wdio/cli": "^8.36.1",
"@wdio/local-runner": "^8.36.1",
"@wdio/mocha-framework": "^8.36.1",
"@wdio/spec-reporter": "^8.36.1",
"@wdio/visual-service": "^4.1.2",
"autoprefixer": "10.4.19",
"browser-sync": "3.0.2",
"browser-sync-webpack-plugin": "2.3.0",
"concurrently": "8.2.2",
"copy-webpack-plugin": "12.0.2",
"core-js": "3.37.0",
"cross-env": "7.0.3",
"css-loader": "7.1.1",
"css-minimizer-webpack-plugin": "6.0.0",
"enzyme": "^3.11.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-react": "7.34.1",
"eslint-webpack-plugin": "4.1.0",
"file-loader": "^6.2.0",
"firebase-tools": "^13.8.0",
"fork-ts-checker-webpack-plugin": "9.0.2",
"generator-jhipster": "8.3.0",
"generator-jhipster-react-mobx": "1.3.0",
"html-webpack-plugin": "5.6.0",
"husky": "9.0.11",
"identity-obj-proxy": "3.0.0",
"jest": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-expect-message": "^1.1.3",
"jest-junit": "16.0.0",
"jest-sonar-reporter": "2.0.0",
"json-loader": "0.5.7",
"lint-staged": "11.1.2",
"mini-css-extract-plugin": "2.9.0",
"node-sass": "^9.0.0",
"postcss-loader": "8.1.1",
"prettier": "3.2.5",
"prettier-plugin-java": "2.6.0",
"prettier-plugin-packagejson": "2.5.0",
"react-if": "^4.1.5",
"react-progressive-image": "^0.6.0",
"rimraf": "5.0.5",
"sass": "1.75.0",
"sass-loader": "14.2.1",
"sass-resources-loader": "^2.2.5",
"simple-progress-webpack-plugin": "2.0.0",
"sinon": "17.0.1",
"source-map-loader": "5.0.0",
"sourcemap-istanbul-instrumenter-loader": "0.2.0",
"style-loader": "4.0.0",
"swagger-ui-dist": "5.17.2",
"terser-webpack-plugin": "5.3.10",
"thread-loader": "4.0.2",
"ts-jest": "29.1.2",
"ts-loader": "9.5.1",
"ts-node": "^10.9.2",
"typescript": "5.4.5",
"wait-on": "7.2.0",
"webpack": "5.91.0",
"webpack-dev-server": "5.0.4",
"webpack-merge": "5.10.0",
"webpack-notifier": "1.15.0",
"workbox-webpack-plugin": "7.1.0"
},
"engines": {
"node": ">=20.12.2"
},
"cacheDirectories": [
"node_modules"
],
"jestSonar": {
"reportPath": "target/test-results/jest",
"reportFile": "TESTS-results-sonar.xml"
}
}