Consolidate how/where we specify file/module type entrypoints

This commit is contained in:
dannyrb committed 2019-07-08 09:38:16 -04:00
1 parent e8969fba11
commit f3009c7a45
9 files changed
+54 -68

No files matched your search

+2 -5
View File
@@ -6,18 +6,15 @@
"license": "MIT",
"repository": "OHIF/Viewers",
"main": "dist/index.umd.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"module": "src/index.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"build": "rollup -c",
"lerna:build": "webpack --config config/webpack.prod.js -w -d",
"prepublishOnly": "npm run build",
"start": "rollup -c -w",
"lint": "eslint -c .eslintrc --fix src && prettier --single-quote --write src/**/*.{js,jsx,json,css}"
"start": "rollup -c -w"
},
"peerDependencies": {
"dcmjs": "^0.3.3",