fix(extension-dicom-microscopy): bump microscopy and ohif-core deps, scope package name (#513)

This commit is contained in:
Biharck Araujo authored and Erik Ziegler committed 2019-06-04 08:54:02 +02:00
1 parent bd2fa615cc
commit 9c58ea8f55
6 files changed
+226 -5706

No files matched your search

@@ -1,6 +1,6 @@
{
"name": "ohif-dicom-microscopy-extension",
"version": "0.0.5",
"name": "@ohif/extension-dicom-microscopy",
"version": "0.0.6",
"description": "OHIF extension for Dicom Microscopy",
"author": "OHIF",
"license": "MIT",
@@ -21,7 +21,7 @@
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0",
"ohif-core": "^0.2.6"
"ohif-core": "^0.4.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
@@ -75,9 +75,12 @@
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"dependencies": {
"@babel/runtime": "^7.2.0",
"classnames": "^2.2.6",
"dicom-microscopy-viewer": "^0.2.0"
"dicom-microscopy-viewer": "^0.4.3"
}
}
@@ -1,18 +1,18 @@
import babel from 'rollup-plugin-babel'
import commonjs from 'rollup-plugin-commonjs'
import external from 'rollup-plugin-peer-deps-external'
import postcss from 'rollup-plugin-postcss'
import resolve from 'rollup-plugin-node-resolve'
import url from 'rollup-plugin-url'
import pkg from './package.json'
import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import external from 'rollup-plugin-peer-deps-external';
import postcss from 'rollup-plugin-postcss';
import resolve from 'rollup-plugin-node-resolve';
import url from 'rollup-plugin-url';
import pkg from './package.json';
// Deal with https://github.com/rollup/rollup-plugin-commonjs/issues/297
import builtins from 'rollup-plugin-node-builtins';
const globals = {
'react': 'React',
react: 'React',
'react-dom': 'ReactDOM',
'ohif-core': 'OHIF'
}
};
export default {
input: 'src/index.js',
@@ -40,19 +40,21 @@ export default {
url(),
babel({
exclude: 'node_modules/**',
plugins: [ '@babel/external-helpers' ],
plugins: ['@babel/external-helpers'],
externalHelpers: true,
runtimeHelpers: true
}),
resolve(),
commonjs({
include: 'node_modules/**',
namedExports: {
'node_modules/dicom-microscopy-viewer/build/dicom-microscopy-viewer.js': [
'api'
]
'node_modules/dicom-microscopy-viewer/build/dicom-microscopy-viewer.js': [
'api'
],
'.yalc/dicom-microscopy-viewer/build/dicom-microscopy-viewer.js': [
'api'
]
}
})
],
external: Object.keys(pkg.peerDependencies || {}),
}
external: Object.keys(pkg.peerDependencies || {})
};
File diff suppressed because it is too large. Load diff