UNPKG

cornerstone-tools

Version:

Medical imaging tools for the Cornerstone library

138 lines (137 loc) 4.1 kB
{ "name": "cornerstone-tools", "version": "6.0.6", "description": "Medical imaging tools for the Cornerstone library", "main": "./dist/cornerstoneTools.js", "keywords": [ "DICOM", "medical", "imaging", "cornerstone" ], "author": "https://github.com/cornerstonejs/cornerstoneTools#contributors", "homepage": "https://github.com/cornerstonejs/cornerstoneTools", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/cornerstonejs/cornerstoneTools.git" }, "engines": { "node": ">=8.16.0" }, "scripts": { "build": "npm run test && npm run clean:dist && npm run version && npm run build:prod && npm run build:dev", "build:dev": "webpack --progress --config ./config/webpack/webpack-dev", "build:prod": "webpack --config ./config/webpack/webpack-prod", "commit": "git-cz", "contributors:add": "all-contributors add", "contributors:generate": "all-contributors generate", "clean:dist": "shx rm -rf ./dist", "clean:coverage": "shx rm -rf ./coverage", "dev": "npm run build:dev -- --watch --debug", "docs:api": "docma --config ./docma.json", "docs:api:dev": "docma --config ./docma-dev.json && docma serve ./docs/latest/api", "docs:api:watch": "nodemon --watch src/**/* -x \"npm run docs:api:dev\"", "docs:book": "npm run docs:api && cd ./docs/latest && gitbook install && gitbook serve", "docs:deploy": "bash ./.circleci/update-docs.sh", "lint": "eslint -c .eslintrc.js --fix src && prettier --single-quote --write src/**/*.{js,json,css}", "prepublishOnly": "npm run build", "start": "npm run build:prod && npm run build:dev", "test": "npm run test:unit", "test:unit": "jest --clearCache && jest --runInBand \\.test\\.js$", "test:ci": "npm run test:unit && codecov", "version": "node -p -e \"'export default \\'' + require('./package.json').version + '\\';'\" > src/version.js" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.{js,json,css}": [ "prettier --write", "git add" ] }, "peerDependencies": { "cornerstone-core": "^2.6.0" }, "devDependencies": { "@babel/core": "^7.5.0", "@babel/plugin-transform-runtime": "^7.5.0", "@babel/preset-env": "^7.5.0", "all-contributors-cli": "5.11.0", "babel-jest": "^25.1.0", "babel-loader": "^8.0.4", "canvas": "2.6.1", "commitizen": "^4.0.3", "coveralls": "3.0.2", "cz-conventional-changelog": "2.1.0", "docma": "3.2.2", "eslint": "4.19.1", "eslint-config-prettier": "3.3.0", "eslint-loader": "2.0.0", "eslint-plugin-import": "2.12.0", "eslint-plugin-prettier": "3.0.0", "gitbook-plugin-edit-link": "2.0.2", "gitbook-plugin-ga": "2.0.0", "gitbook-plugin-github": "3.0.0", "gitbook-plugin-sitemap": "1.2.0", "husky": "3.0.x", "jest": "^25.1.0", "jest-junit": "5.1.0", "lint-staged": "^9.2.5", "lodash": "^4.17.15", "nodemon": "^2.0.2", "prettier": "1.18.x", "semantic-release": "^15.13.24", "shx": "^0.3.2", "terser-webpack-plugin": "^1.4.1", "webpack": "^4.35.2", "webpack-cli": "^3.3.5", "webpack-dev-server": "^3.7.2" }, "dependencies": { "@babel/runtime": "7.1.2", "cornerstone-math": "0.1.9" }, "files": [ "dist/cornerstoneTools.js", "dist/cornerstoneTools.js.map", "dist/cornerstoneTools.min.js", "dist/cornerstoneTools.min.js.map" ], "jest": { "verbose": true, "moduleFileExtensions": [ "js" ], "moduleDirectories": [ "node_modules" ], "reporters": [ "default", "jest-junit" ], "collectCoverage": true, "coverageDirectory": "./coverage/", "collectCoverageFrom": [ "src/*.js", "src/**/*.js", "!src/index.js" ], "testEnvironment": "jsdom" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "browserslist": [ "> 1%", "IE 11", "not dead", "not IE < 11", "not op_mini all" ] }