diff --git a/extensions/ohif-dicom-html-extension/package.json b/extensions/ohif-dicom-html-extension/package.json
index 38681a2c6..132b4a3cb 100644
--- a/extensions/ohif-dicom-html-extension/package.json
+++ b/extensions/ohif-dicom-html-extension/package.json
@@ -1,5 +1,5 @@
{
- "name": "ohif-dicom-html-extension",
+ "name": "@ohif/extension-dicom-html",
"version": "0.0.2",
"description": "OHIF extension for rendering structured reports to HTML",
"author": "OHIF",
@@ -25,6 +25,9 @@
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
+ "dependencies": {
+ "@babel/runtime": "^7.2.0"
+ },
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-external-helpers": "^7.2.0",
@@ -80,7 +83,7 @@
"files": [
"dist"
],
- "dependencies": {
- "@babel/runtime": "^7.2.0"
+ "publishConfig": {
+ "access": "public"
}
}
diff --git a/extensions/ohif-dicom-html-extension/src/index.js b/extensions/ohif-dicom-html-extension/src/index.js
index 3a9f9bb03..c49488f4c 100644
--- a/extensions/ohif-dicom-html-extension/src/index.js
+++ b/extensions/ohif-dicom-html-extension/src/index.js
@@ -1,19 +1,16 @@
import OHIFDicomHtmlSopClassHandler from './OHIFDicomHtmlSopClassHandler.js';
import OHIFDicomHtmlViewport from './OHIFDicomHtmlViewport.js';
-export default class OHIFDicomHtmlExtension {
+export default {
/**
- * Extension ID is a unique id, might be used for namespacing extension specific redux actions/reducers (?)
+ * Only required property. Should be a unique value across all extensions.
*/
- getExtensionId() {
- return 'html';
- }
+ id: 'html',
getViewportModule() {
return OHIFDicomHtmlViewport;
- }
-
+ },
getSopClassHandlerModule() {
return OHIFDicomHtmlSopClassHandler;
}
-}
+};
diff --git a/package.json b/package.json
index 97c33f853..61bc43b1d 100644
--- a/package.json
+++ b/package.json
@@ -67,7 +67,6 @@
"dependencies": {
"@babel/runtime": "^7.4.5",
"@ohif/extension-cornerstone": "file:.yalc/@ohif/extension-cornerstone",
- "@ohif/extension-dicom-microscopy": "0.0.6",
"@ohif/extension-vtk": "file:.yalc/@ohif/extension-vtk",
"@ohif/i18n": "0.0.4",
"classnames": "^2.2.6",
@@ -84,8 +83,6 @@
"lodash.isequal": "4.5.0",
"moment": "^2.24.0",
"ohif-core": "file:.yalc/ohif-core",
- "ohif-dicom-html-extension": "^0.0.2",
- "ohif-dicom-pdf-extension": "^0.0.6",
"oidc-client": "1.7.x",
"prop-types": "^15.7.2",
"react-i18next": "^10.11.0",