UNPKG

dcmjs-imaging

Version:

DICOM image and overlay rendering for Node.js and browser using dcmjs

81 lines (80 loc) 3.25 kB
{ "name": "dcmjs-imaging", "version": "0.2.1", "description": "DICOM image and overlay rendering for Node.js and browser using dcmjs", "main": "build/dcmjs-imaging.min.js", "module": "build/dcmjs-imaging.min.js", "types": "index.d.ts", "scripts": { "build": "npm run version && npm run lint && npm run test && npm run coverage && npm run webpack", "clean": "npm run clean:build && npm run clean:coverage && npm run clean:docs", "clean:build": "shx rm -rf build", "clean:coverage": "shx rm -rf coverage", "clean:docs": "shx rm -rf documentation", "coverage": "c8 --check-coverage --lines 80 --functions 80 --branches 80 --statements 80 --clean --reporter=text --reporter=html --include=src/*.js --exclude=src/index.js --exclude=src/version.js --exclude=src/log.js mocha test/**/*.test.js", "doc": "npm run doc:generate && open-cli documentation/index.html", "doc:generate": "npm run clean:docs && jsdoc -c .jsdocrc.json", "lint": "eslint -c .eslintrc.json --fix src && prettier --config .prettierrc.json --write src/**/*.js test/**/*.js examples/**/*.{js,ts,html} *.ts", "start": "npm run webpack", "start:examples:node:js": "node examples/index.js", "start:examples:node:ts": "ts-node examples/index.ts", "start:examples:web": "webpack serve --port 8080 --open --no-client-overlay-warnings --no-client-overlay-errors", "test": "npm run test:types && npm run test:node && npm run test:browser", "test:browser": "karma start karma.config.js", "test:node": "mocha test/**/*.test.js", "test:types": "tsd", "version": "node -p -e \"'module.exports = \\'' + require('./package.json').version + '\\';'\" > src/version.js", "webpack": "webpack --progress --config webpack.config.js" }, "repository": { "type": "git", "url": "git+https://github.com/PantelisGeorgiadis/dcmjs-imaging.git" }, "keywords": [ "DICOM", "medical imaging", "dcmjs" ], "author": "Pantelis Georgiadis", "license": "MIT", "bugs": { "url": "https://github.com/PantelisGeorgiadis/dcmjs-imaging/issues" }, "funding": "https://github.com/PantelisGeorgiadis/dcmjs-imaging?sponsor=1", "homepage": "https://github.com/PantelisGeorgiadis/dcmjs-imaging", "dependencies": { "dcmjs": "^0.40.0", "dcmjs-codecs": "^0.0.6", "loglevel": "^1.9.2", "loglevel-plugin-prefix": "^0.8.4" }, "devDependencies": { "@types/bmp-js": "^0.1.2", "bmp-js": "^0.1.0", "browserify": "^17.0.1", "c8": "^9.1.0", "chai": "^4.3.10", "copy-webpack-plugin": "^12.0.2", "docdash": "^2.0.2", "eslint": "^8.57.0", "jsdoc": "^4.0.4", "karma": "^6.4.4", "karma-browserify": "^8.1.0", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.2.0", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "mocha": "^11.1.0", "open-cli": "^7.2.0", "pako": "^2.1.0", "prettier": "^3.5.3", "shx": "^0.3.4", "terser-webpack-plugin": "^5.3.14", "ts-node": "^10.9.2", "tsd": "^0.32.0", "typescript": "^5.8.3", "webpack": "^5.99.9", "webpack-cli": "^6.0.1", "webpack-dev-server": "^4.15.2" } }