102 lines
2.7 KiB
JSON
102 lines
2.7 KiB
JSON
{
|
|
"name": "ohif-core",
|
|
"version": "0.4.0",
|
|
"description": "Useful functions and classes for building web-based medical imaging applications",
|
|
"author": "OHIF",
|
|
"license": "MIT",
|
|
"repository": "OHIF/ohif-core",
|
|
"main": "dist/index.umd.js",
|
|
"browser": "dist/index.umd.jd",
|
|
"module": "src/index.js",
|
|
"jsnext:main": "src/index.js",
|
|
"sideEffects": "false",
|
|
"engines": {
|
|
"node": ">=8",
|
|
"npm": ">=5"
|
|
},
|
|
"scripts": {
|
|
"test:unit": "jest --watch",
|
|
"test:unit:ci": "jest --ci --runInBand --collectCoverage && codecov --flags=core",
|
|
"build": "rollup -c",
|
|
"lerna:build": "webpack --config config/webpack.prod.js -w -d",
|
|
"dev": "jest --watch",
|
|
"start": "rollup -c -w",
|
|
"lint": "eslint -c .eslintrc --fix src && prettier --single-quote --write src/**/*.{js,jsx,json,css}",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"peerDependencies": {
|
|
"cornerstone-core": "^2.2.8",
|
|
"cornerstone-tools": "^3.9.0",
|
|
"cornerstone-wado-image-loader": "^2.2.3",
|
|
"dicom-parser": "^1.8.3"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.2.0",
|
|
"ajv": "^6.10.0",
|
|
"dicomweb-client": "^0.4.2",
|
|
"isomorphic-base64": "^1.0.2",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"lodash.merge": "^4.6.1",
|
|
"mousetrap": "^1.6.3",
|
|
"validate.js": "^0.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"@svgr/rollup": "^4.1.0",
|
|
"babel-eslint": "10.0.1",
|
|
"babel-jest": "^24.7.1",
|
|
"codecov": "^3.3.0",
|
|
"commitizen": "3.1.x",
|
|
"cross-env": "^5.2.0",
|
|
"cz-conventional-changelog": "2.1.x",
|
|
"eslint": "5.13.0",
|
|
"eslint-config-prettier": "^4.3.0",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-node": "^8.0.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-promise": "^4.0.1",
|
|
"husky": "^1.2.1",
|
|
"jest": "^24.7.1",
|
|
"jest-junit": "^6.3.0",
|
|
"lint-staged": "^8.1.0",
|
|
"prettier": "^1.15.3",
|
|
"redux-testkit": "^1.0.6",
|
|
"rollup": "^1.1.2",
|
|
"rollup-plugin-babel": "^4.1.0",
|
|
"rollup-plugin-commonjs": "^9.2.0",
|
|
"rollup-plugin-json": "^4.0.0",
|
|
"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"
|
|
],
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|