* fix(Measurement): fixed line dashing of measurements in various scenarios For a StackViewport simply rely on the SeriesInstanceUID being part of the tracked measurements or not. For a VolumeViewport first check the image id of the current image in the viewport and then check the SeriesInstanceUID (like for a StackViewport) if an id is returned. To reliably get the id of the current image, listen for the VOLUME_VIEWPORT_NEW_VOLUME event. * Changes for PR comments.
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "@ohif/extension-cornerstone-dicom-sr",
|
|
"version": "3.0.0",
|
|
"description": "OHIF extension for an SR Cornerstone Viewport",
|
|
"author": "OHIF",
|
|
"license": "MIT",
|
|
"repository": "OHIF/Viewers",
|
|
"main": "dist/index.umd.js",
|
|
"module": "src/index.tsx",
|
|
"engines": {
|
|
"node": ">=14",
|
|
"npm": ">=6",
|
|
"yarn": ">=1.16.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"ohif-extension"
|
|
],
|
|
"scripts": {
|
|
"dev": "cross-env NODE_ENV=development webpack --config .webpack/webpack.dev.js --watch --debug --output-pathinfo",
|
|
"dev:cornerstone": "yarn run dev",
|
|
"build": "cross-env NODE_ENV=production webpack --config .webpack/webpack.prod.js",
|
|
"build:package": "yarn run build",
|
|
"start": "yarn run dev",
|
|
"test:unit": "jest --watchAll",
|
|
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
|
|
},
|
|
"peerDependencies": {
|
|
"@ohif/core": ">=3.0.0",
|
|
"@ohif/extension-cornerstone": ">=3.0.0",
|
|
"@ohif/extension-measurement-tracking": "^3.0.0",
|
|
"@ohif/ui": "^2.0.0",
|
|
"dcmjs": "^0.29.5",
|
|
"dicom-parser": "^1.8.9",
|
|
"hammerjs": "^2.0.8",
|
|
"prop-types": "^15.6.2",
|
|
"react": "^17.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.20.13",
|
|
"classnames": "^2.3.2",
|
|
"@cornerstonejs/adapters": "^0.6.0",
|
|
"@cornerstonejs/core": "^0.47.3",
|
|
"@cornerstonejs/tools": "^0.67.6"
|
|
}
|
|
}
|