92 lines
3.4 KiB
JSON
92 lines
3.4 KiB
JSON
{
|
|
"name": "@ohif/viewer",
|
|
"version": "4.0.0",
|
|
"description": "OHIF Viewer",
|
|
"author": "OHIF Contributors",
|
|
"license": "MIT",
|
|
"repository": "OHIF/Viewers",
|
|
"main": "dist/index.umd.js",
|
|
"module": "src/index.js",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"engines": {
|
|
"node": ">=10",
|
|
"npm": ">=6",
|
|
"yarn": ">=1.16.0"
|
|
},
|
|
"proxy": "http://localhost:8042",
|
|
"scripts": {
|
|
"build:viewer": "cross-env NODE_ENV=production yarn run build",
|
|
"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",
|
|
"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",
|
|
"dev:viewer": "yarn run dev",
|
|
"start": "yarn run dev",
|
|
"test:e2e": "cypress open",
|
|
"test:e2e:ci": "percy exec -- cypress run --config video=false --record --browser chrome --spec 'cypress/integration/visual-regression/**/*'",
|
|
"test:e2e:local": "cypress run --config video=false --browser chrome --spec 'cypress/integration/common/**/*,cypress/integration/pwa/**/*'",
|
|
"test:e2e:dist": "start-server-and-test test:e2e:serve http://localhost:3000 test:e2e:ci",
|
|
"test:e2e:serve": "serve -n -l 3000 -s dist",
|
|
"test:unit": "jest --watchAll",
|
|
"test:unit:ci": "jest --ci --runInBand --collectCoverage",
|
|
"ci:generateSuccessVersion": "node -p -e \"require('./package.json').version\" > success_version.txt"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"peerDependencies": {
|
|
"cornerstone-core": "^2.3.0"
|
|
},
|
|
"dependencies": {
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"@babel/runtime": "7.7.6",
|
|
"@ohif/core": "^2.5.1",
|
|
"@ohif/extension-cornerstone": "^2.4.0",
|
|
"@ohif/extension-measurement-tracking": "^0.0.1",
|
|
"@ohif/i18n": "^0.52.8",
|
|
"@ohif/mode-longitudinal": "^0.0.1",
|
|
"@ohif/ui": "^2.0.0",
|
|
"@types/react": "^16.0.0",
|
|
"classnames": "^2.2.6",
|
|
"core-js": "^3.2.1",
|
|
"cornerstone-math": "^0.1.9",
|
|
"cornerstone-tools": "5.1.2",
|
|
"cornerstone-wado-image-loader": "^3.1.2",
|
|
"dcmjs": "0.16.1",
|
|
"dicom-parser": "^1.8.3",
|
|
"dotenv-webpack": "^1.7.0",
|
|
"hammerjs": "^2.0.8",
|
|
"history": "5.0.0",
|
|
"i18next": "^17.0.3",
|
|
"i18next-browser-languagedetector": "^3.0.1",
|
|
"lodash.isequal": "4.5.0",
|
|
"moment": "^2.24.0",
|
|
"oidc-client": "1.11.5",
|
|
"prop-types": "^15.7.2",
|
|
"query-string": "^6.12.1",
|
|
"react-dropzone": "^10.1.7",
|
|
"react-i18next": "^10.11.0",
|
|
"react-resize-detector": "^4.2.0",
|
|
"react-router": "next",
|
|
"react-router-dom": "next"
|
|
},
|
|
"devDependencies": {
|
|
"webpack": "^5.43.0",
|
|
"webpack-cli": "^4.7.2",
|
|
"@percy/cypress": "^2.3.0",
|
|
"cypress": "^6.4.0",
|
|
"cypress-file-upload": "^3.5.3",
|
|
"identity-obj-proxy": "3.0.x",
|
|
"lodash": "4.17.15",
|
|
"terser-webpack-plugin": "^5.1.1",
|
|
"webpack-bundle-analyzer": "^4.4.2",
|
|
"webpack-merge": "^5.7.3"
|
|
}
|
|
}
|