{ "name": "ohif-viewer", "version": "0.0.21", "description": "OHIF Viewer", "author": "OHIF Contributors", "license": "MIT", "repository": "OHIF/Viewers", "main": "dist/index.umd.js", "browser": "dist/index.umd.js", "module": "dist/index.es.js", "jsnext:main": "dist/index.es.js", "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "cm": "npx git-cz", "dev": "yarn run preBuild && cross-env PORT=5000 react-scripts start", "dev:debug": "cross-env PORT=5000 react-scripts start", "build:package": "yarn run preBuild && node --max-old-space-size=4096 node_modules/rollup/bin/rollup -c", "build:package:ci": "yarn run preBuild && node --max-old-space-size=4096 node_modules/rollup/bin/rollup -c", "build:web": "yarn run preBuild && react-scripts --max_old_space_size=4096 build", "build:web:ci": "yarn run preBuild && cross-env PUBLIC_URL=/demo REACT_APP_CONFIG=config/netlify.js react-scripts --max_old_space_size=4096 build && cpx 'build/**/*' docs/latest/_book/demo --verbose", "build:demo:ci": "yarn run preBuild && cross-env PUBLIC_URL=/ REACT_APP_CONFIG=config/public_dicomweb.js react-scripts --max_old_space_size=4096 build", "lint": "eslint -c .eslintrc --fix src && prettier --single-quote --write src/**/*.{js,jsx,json,css}", "test": "jest", "test:ci": "jest --ci --runInBand --collectCoverage --reporters=default --reporters=jest-junit && codecov", "staticDeploy": "./generateStaticSite.sh", "docs:publish": "./publishStaticSite.sh", "start": "yarn run dev", "predeploy": "cd example && npm install && yarn run build:package", "preBuild": "yarn run version && yarn run copy:webworkers", "orthanc:up": "docker-compose -f docker/Nginx-Orthanc/docker-compose.yml up", "dev:orthanc": "yarn run preBuild && cross-env PORT=5000 REACT_APP_CONFIG=config/docker_nginx-orthanc.js react-scripts start", "version": "node -p -e \"'export default \\'' + require('./package.json').version + '\\';'\" > src/version.js", "copy:webworkers": "cpx \"node_modules/cornerstone-wado-image-loader/dist/*.min.js*\" \"public\" -v" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.{js,jsx,json,css}": [ "prettier --single-quote --write", "git add" ] }, "browserslist": [ ">0.2%", "not dead", "not ie <= 11", "not op_mini all" ], "files": [ "dist" ], "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "peerDependencies": { "react": "^15.0.0 || ^16.0.0", "react-dom": "^15.0.0 || ^16.0.0" }, "dependencies": { "@babel/polyfill": "^7.2.5", "@babel/runtime": "^7.2.0", "@ohif/extension-cornerstone": "0.0.34", "@ohif/extension-dicom-microscopy": "0.0.6", "@ohif/extension-vtk": "0.0.2", "@ohif/i18n": "0.0.3", "classnames": "^2.2.6", "cornerstone-core": "^2.2.8", "cornerstone-math": "^0.1.8", "cornerstone-tools": "^3.11.0", "cornerstone-wado-image-loader": "^2.2.3", "dcmjs": "^0.3.8", "dicom-parser": "^1.8.3", "dicomweb-client": "^0.4.2", "hammerjs": "^2.0.8", "i18next": "^17.0.3", "i18next-browser-languagedetector": "^3.0.1", "lodash.isequal": "4.5.0", "moment": "^2.24.0", "ohif-core": "0.5.8", "ohif-dicom-html-extension": "^0.0.2", "ohif-dicom-pdf-extension": "^0.0.6", "oidc-client": "1.7.x", "prop-types": "^15.6.2", "react-bootstrap-modal": "^4.2.0", "react-dnd": "^7.0.2", "react-dnd-html5-backend": "^7.0.2", "react-i18next": "^10.11.0", "react-redux": "^6.0.0", "react-resize-detector": "^3.4.0", "react-router": "^4.3.1", "react-router-dom": "^4.3.1", "react-viewerbase": "0.7.1", "react-vtkjs-viewport": "^0.0.7", "redux": "^4.0.1", "redux-oidc": "3.1.x" }, "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-external-helpers": "^7.2.0", "@babel/plugin-proposal-class-properties": "^7.2.3", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-runtime": "^7.2.0", "@babel/preset-env": "^7.2.3", "@babel/preset-react": "^7.0.0", "@semantic-release/exec": "3.3.2", "@svgr/rollup": "^4.1.0", "babel-eslint": "^9.0.0", "codecov": "3.3.0", "commitizen": "3.1.x", "cpx": "1.5.0", "cross-env": "^5.2.0", "cz-conventional-changelog": "2.1.0", "eslint": "5.12.0", "eslint-plugin-import": "^2.14.0", "eslint-plugin-node": "^8.0.0", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-react": "^7.11.1", "gh-pages": "2.0.1", "husky": "1.3.x", "identity-obj-proxy": "3.0.x", "jest-canvas-mock": "2.0.0", "jest-junit": "6.3.x", "lint-staged": "^8.1.0", "lodash": "4.17.11", "lodash.clonedeep": "4.5.0", "prettier": "1.15.x", "react": "^16.7.0", "react-dom": "^16.7.0", "react-scripts": "^2.1.5", "react-test-renderer": "^16.8.6", "rollup": "^1.1.2", "rollup-plugin-babel": "^4.2.0", "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-json": "^3.1.0", "rollup-plugin-node-builtins": "^2.1.2", "rollup-plugin-node-resolve": "^4.0.0", "rollup-plugin-peer-deps-external": "^2.2.0", "rollup-plugin-postcss": "^2.0.3", "rollup-plugin-url": "^2.1.0", "semantic-release": "15.13.x", "stylelint": "^9.9.0", "stylelint-config-recommended": "^2.1.0", "stylus": "^0.54.5" } }