fixed es6 import issue
This diff is collapsed.
{ | ||
"name": "fractalis", | ||
"description": "The front-end component of the Fractalis visual analytics project.", | ||
"version": "1.2.8", | ||
"version": "1.2.10-test", | ||
"author": "Sascha Herzinger <sascha.herzinger@uni.lu>", | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
... | ... | @@ -14,12 +14,12 @@ |
}, | ||
"scripts": { | ||
"build": "webpack --config webpack.config.js --mode production", | ||
"prepublishOnly": "npm run-script build", | ||
"create-es6-export-file": "printf 'export ' | cat - lib/fractal.js > lib/fractal-es6-export.js", | ||
"prepublishOnly": "npm run-script build && npm run-script create-es6-export-file", | ||
"devserver": "webpack-dev-server --config webpack.config.js --mode development", | ||
"test": "karma start karma.conf.js" | ||
}, | ||
"main": "./lib/fractal-1.2.8.min.js", | ||
"module": "./lib/fractal-1.2.8.min.js", | ||
"main": "lib/fractal-es6-export.js", | ||
"dependencies": { | ||
"axios": "0.16.1", | ||
"d3": "4.13.0", | ||
... | ... |
Please register or sign in to comment