JSPM

@unumedai/annotator-tools

0.0.10
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q21409F
  • License MIT

Medical imaging tools for the Cornerstone library

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,

  1. cornerstone-tools -> @unumedai/annotator-tools
  2. react-cornerstone-viewport -> @unumedai/react-cornerstone-viewport
  3. 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