135 lines
4.2 KiB
JSON
135 lines
4.2 KiB
JSON
{
|
|
"name": "ohif-viewer",
|
|
"version": "0.0.20",
|
|
"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",
|
|
"homepage": "http://localhost:5000",
|
|
"engines": {
|
|
"node": ">=8",
|
|
"npm": ">=5"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn run prep && node --max-old-space-size=8192 node_modules/rollup/bin/rollup -c",
|
|
"prepublishOnly": "yarn run build",
|
|
"lint": "eslint -c .eslintrc --fix src && prettier --single-quote --write src/**/*.{js,jsx,json,css}",
|
|
"prepare": "yarn run build",
|
|
"predeploy": "cd example && npm install && yarn run build",
|
|
"test": "jest",
|
|
"test:ci": "jest --ci --runInBand --collectCoverage --reporters=default --reporters=jest-junit && codecov",
|
|
"copy:webworkers": "cpx 'node_modules/cornerstone-wado-image-loader/dist/*.min.js*' public",
|
|
"staticDeploy": "./generateStaticSite.sh",
|
|
"version": "node -p -e \"'export default \\'' + require('./package.json').version + '\\';'\" > src/version.js",
|
|
"details": "yarn run version",
|
|
"prep": "yarn run details && yarn run copy:webworkers",
|
|
"start": "yarn run prep && cross-env PORT=5000 react-scripts start",
|
|
"start:debug": "cross-env PORT=5000 react-scripts start"
|
|
},
|
|
"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",
|
|
"classnames": "^2.2.6",
|
|
"cornerstone-core": "^2.2.8",
|
|
"cornerstone-math": "^0.1.8",
|
|
"cornerstone-tools": "^3.2.4",
|
|
"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",
|
|
"lodash.isequal": "4.5.0",
|
|
"moment": "^2.24.0",
|
|
"ohif-core": "^0.3.5",
|
|
"ohif-cornerstone-extension": "^0.0.26",
|
|
"ohif-dicom-html-extension": "^0.0.2",
|
|
"ohif-dicom-microscopy-extension": "^0.0.5",
|
|
"ohif-dicom-pdf-extension": "^0.0.6",
|
|
"ohif-vtk-extension": "^0.0.1",
|
|
"oidc-client": "^1.6.1",
|
|
"prop-types": "^15.6.2",
|
|
"react-bootstrap-modal": "^4.2.0",
|
|
"react-dnd": "^7.0.2",
|
|
"react-dnd-html5-backend": "^7.0.2",
|
|
"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.2.17",
|
|
"react-vtkjs-viewport": "^0.0.7",
|
|
"redux": "^4.0.1",
|
|
"redux-oidc": "^3.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.2.2",
|
|
"@babel/plugin-external-helpers": "^7.2.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.2.3",
|
|
"@babel/plugin-transform-runtime": "^7.2.0",
|
|
"@babel/preset-env": "^7.2.3",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@svgr/rollup": "^4.1.0",
|
|
"babel-eslint": "^9.0.0",
|
|
"codecov": "3.3.0",
|
|
"cpx": "1.5.0",
|
|
"cross-env": "^5.2.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",
|
|
"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"
|
|
},
|
|
"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"
|
|
]
|
|
}
|