2019-08-13 21:36:46 +02:00
|
|
|
{
|
|
|
|
|
"name": "@ohif/viewer",
|
2020-05-14 16:24:17 +02:00
|
|
|
"version": "4.0.0",
|
2021-08-24 14:13:54 +02:00
|
|
|
"productVersion": "3.0-dev",
|
2019-08-13 21:36:46 +02:00
|
|
|
"description": "OHIF Viewer",
|
|
|
|
|
"author": "OHIF Contributors",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"repository": "OHIF/Viewers",
|
|
|
|
|
"main": "dist/index.umd.js",
|
|
|
|
|
"module": "src/index.js",
|
|
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public"
|
|
|
|
|
},
|
|
|
|
|
"engines": {
|
2019-08-14 20:29:57 +02:00
|
|
|
"node": ">=10",
|
|
|
|
|
"npm": ">=6",
|
|
|
|
|
"yarn": ">=1.16.0"
|
2019-08-13 21:36:46 +02:00
|
|
|
},
|
|
|
|
|
"proxy": "http://localhost:8042",
|
|
|
|
|
"scripts": {
|
2021-07-26 13:22:25 +02:00
|
|
|
"build:viewer": "cross-env NODE_ENV=production yarn run build",
|
2021-08-20 18:14:19 +02:00
|
|
|
"build:dev": "cross-env NODE_ENV=development yarn run build",
|
|
|
|
|
"build:aws": "cross-env NODE_ENV=development APP_CONFIG=config/aws_static.js yarn run build && gzip -9 -r dist",
|
2021-07-26 13:22:25 +02:00
|
|
|
"build:viewer:ci": "cross-env NODE_ENV=production PUBLIC_URL=/ APP_CONFIG=config/netlify.js QUICK_BUILD=true yarn run build",
|
|
|
|
|
"build:viewer:qa": "cross-env NODE_ENV=production APP_CONFIG=config/google.js yarn run build",
|
|
|
|
|
"build:viewer:demo": "cross-env NODE_ENV=production APP_CONFIG=config/demo.js HTML_TEMPLATE=rollbar.html QUICK_BUILD=true yarn run build",
|
|
|
|
|
"build": "node --max_old_space_size=4096 ./../../node_modules/webpack/bin/webpack.js --progress --config .webpack/webpack.pwa.js",
|
2021-07-08 15:23:09 +02:00
|
|
|
"dev": "cross-env NODE_ENV=development webpack serve --config .webpack/webpack.pwa.js",
|
|
|
|
|
"dev:orthanc": "cross-env NODE_ENV=development PROXY_TARGET=/dicom-web PROXY_DOMAIN=http://localhost:8042 APP_CONFIG=config/docker_nginx-orthanc.js webpack serve --config .webpack/webpack.pwa.js",
|
2021-08-20 18:14:19 +02:00
|
|
|
"dev:dcm4chee": "cross-env NODE_ENV=development APP_CONFIG=config/local_dcm4chee.js webpack serve --config .webpack/webpack.pwa.js",
|
|
|
|
|
"dev:static": "cross-env NODE_ENV=development APP_CONFIG=config/local_static.js webpack serve --config .webpack/webpack.pwa.js",
|
2019-08-13 21:36:46 +02:00
|
|
|
"dev:viewer": "yarn run dev",
|
|
|
|
|
"start": "yarn run dev",
|
|
|
|
|
"test:e2e": "cypress open",
|
2020-01-10 18:18:20 +01:00
|
|
|
"test:e2e:ci": "percy exec -- cypress run --config video=false --record --browser chrome --spec 'cypress/integration/visual-regression/**/*'",
|
2020-03-17 19:14:04 +01:00
|
|
|
"test:e2e:local": "cypress run --config video=false --browser chrome --spec 'cypress/integration/common/**/*,cypress/integration/pwa/**/*'",
|
2019-09-09 22:40:07 +02:00
|
|
|
"test:e2e:dist": "start-server-and-test test:e2e:serve http://localhost:3000 test:e2e:ci",
|
2019-10-14 13:08:59 +02:00
|
|
|
"test:e2e:serve": "serve -n -l 3000 -s dist",
|
2019-08-13 21:36:46 +02:00
|
|
|
"test:unit": "jest --watchAll",
|
2019-09-06 15:51:45 +02:00
|
|
|
"test:unit:ci": "jest --ci --runInBand --collectCoverage",
|
2020-03-02 19:37:00 +01:00
|
|
|
"ci:generateSuccessVersion": "node -p -e \"require('./package.json').version\" > success_version.txt"
|
2019-08-13 21:36:46 +02:00
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist",
|
|
|
|
|
"README.md"
|
|
|
|
|
],
|
|
|
|
|
"peerDependencies": {
|
2021-07-13 23:48:16 +02:00
|
|
|
"cornerstone-core": "^2.3.0"
|
2019-08-13 21:36:46 +02:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2021-07-13 23:48:16 +02:00
|
|
|
"react": "^17.0.2",
|
|
|
|
|
"react-dom": "^17.0.2",
|
2020-03-02 19:37:00 +01:00
|
|
|
"@babel/runtime": "7.7.6",
|
|
|
|
|
"@ohif/core": "^2.5.1",
|
|
|
|
|
"@ohif/extension-cornerstone": "^2.4.0",
|
2020-05-26 15:03:58 +02:00
|
|
|
"@ohif/extension-measurement-tracking": "^0.0.1",
|
2020-04-07 10:33:40 +02:00
|
|
|
"@ohif/i18n": "^0.52.8",
|
2020-05-26 15:03:58 +02:00
|
|
|
"@ohif/mode-longitudinal": "^0.0.1",
|
2021-03-01 16:52:54 +01:00
|
|
|
"@ohif/ui": "^2.0.0",
|
2020-03-02 19:37:00 +01:00
|
|
|
"@types/react": "^16.0.0",
|
2019-08-13 21:36:46 +02:00
|
|
|
"classnames": "^2.2.6",
|
2019-09-04 19:53:13 +02:00
|
|
|
"core-js": "^3.2.1",
|
2021-05-28 20:32:48 +02:00
|
|
|
"cornerstone-math": "^0.1.9",
|
2020-11-18 06:14:52 +01:00
|
|
|
"cornerstone-tools": "5.1.2",
|
2020-05-15 12:48:00 +02:00
|
|
|
"cornerstone-wado-image-loader": "^3.1.2",
|
2020-07-22 19:40:40 +02:00
|
|
|
"dcmjs": "0.16.1",
|
2019-08-13 21:36:46 +02:00
|
|
|
"dicom-parser": "^1.8.3",
|
2020-04-29 20:15:45 +02:00
|
|
|
"dotenv-webpack": "^1.7.0",
|
2019-08-13 21:36:46 +02:00
|
|
|
"hammerjs": "^2.0.8",
|
2021-06-23 20:41:27 +02:00
|
|
|
"history": "5.0.0",
|
2019-08-13 21:36:46 +02:00
|
|
|
"i18next": "^17.0.3",
|
|
|
|
|
"i18next-browser-languagedetector": "^3.0.1",
|
|
|
|
|
"lodash.isequal": "4.5.0",
|
|
|
|
|
"moment": "^2.24.0",
|
2021-06-23 20:41:27 +02:00
|
|
|
"oidc-client": "1.11.5",
|
2019-08-13 21:36:46 +02:00
|
|
|
"prop-types": "^15.7.2",
|
2020-05-08 05:08:38 +02:00
|
|
|
"query-string": "^6.12.1",
|
2021-06-15 16:19:45 +02:00
|
|
|
"react-dropzone": "^10.1.7",
|
2019-08-13 21:36:46 +02:00
|
|
|
"react-i18next": "^10.11.0",
|
|
|
|
|
"react-resize-detector": "^4.2.0",
|
2021-06-23 20:41:27 +02:00
|
|
|
"react-router": "next",
|
|
|
|
|
"react-router-dom": "next"
|
2019-08-13 21:36:46 +02:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2021-07-08 15:23:09 +02:00
|
|
|
"webpack": "^5.43.0",
|
|
|
|
|
"webpack-cli": "^4.7.2",
|
2020-03-02 19:37:00 +01:00
|
|
|
"@percy/cypress": "^2.3.0",
|
2021-03-01 16:52:54 +01:00
|
|
|
"cypress": "^6.4.0",
|
2021-07-08 15:23:09 +02:00
|
|
|
"cypress-file-upload": "^3.5.3",
|
2019-08-13 21:36:46 +02:00
|
|
|
"identity-obj-proxy": "3.0.x",
|
2020-01-28 20:15:59 +01:00
|
|
|
"lodash": "4.17.15",
|
2021-03-01 16:52:54 +01:00
|
|
|
"terser-webpack-plugin": "^5.1.1",
|
2021-07-08 15:23:09 +02:00
|
|
|
"webpack-bundle-analyzer": "^4.4.2",
|
2021-08-24 14:13:54 +02:00
|
|
|
"webpack-merge": "^5.7.3",
|
|
|
|
|
"tailwindcss": "2.2.4"
|
2019-08-13 21:36:46 +02:00
|
|
|
}
|
|
|
|
|
}
|