Package Exports
- @unumedai/annotator-tools
- @unumedai/annotator-tools/dist/cornerstoneTools.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@unumedai/annotator-tools) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Unumed annotation tools
This repo contains 3 repositories that are required for the annotator frontend
Specifically,
- cornerstone-tools -> @unumedai/annotator-tools
- react-cornerstone-viewport -> @unumedai/react-cornerstone-viewport
- react-vtkjs-viewport -> @unumedai/react-vtkjs-viewport
2 and 3 are only included in this repo because they have a hard dependency on cornerstone-tools, i.e. annotator-tools needs to be updated for each deepndency and built accordingly.
Update NPM packages
Login to NPM
npm login
Update annotator-tools
Edit packages.json for version bump
npm publish --access public
Deps
Edit package.json in each dependency with version bump
cd react-cornerstone-viewport
yarn upgrade annotator-tools@version
npm publish --access public
cd react-vtkjs-viewport
yarn upgrade annotator-tools@version
npm publish --access public
Build
npm run build:dev