From 1c0e2c906d8c0c503b2e74034275bb3321a216d8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 28 Sep 2017 20:47:06 +0400 Subject: Switch to the rollup assembly system --- package.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index c961ff8..dcb94a4 100644 --- a/package.json +++ b/package.json @@ -26,18 +26,21 @@ "devDependencies": { "babel-cli": "^6.24.1", "babel-core": "^6.24.1", - "babel-loader": "^7.1.2", "babel-preset-es2015": "^6.24.1", + "babel-preset-es2015-rollup": "^3.0.0", "eslint": "^3.19.0", - "uglify-js": "^3.1.2", - "webpack": "^3.6.0" + "rollup": "^0.50.0", + "rollup-plugin-babel": "^3.0.2", + "rollup-plugin-node-builtins": "^2.1.2", + "rollup-plugin-node-globals": "^1.1.0", + "uglify-js": "^3.1.2" }, "scripts": { "minify-standalone": "uglifyjs --mangle --compress --toplevel --source-map --output dist/standalone.min.js dist/standalone.js", "minify-browser": "uglifyjs --mangle --compress --toplevel --source-map --output dist/bundle.min.js dist/bundle.js", "minify": "npm run minify-browser && npm run minify-standalone", - "build-standalone": "babel --out-file dist/standalone.js src/index.js", - "build-browser": "webpack --config webpack.config.js", + "build-standalone": "babel src/index.js --out-file dist/standalone.js", + "build-browser": "rollup --config rollup.config.js", "build": "npm run build-browser && npm run build-standalone", "check": "eslint ./src/*" } -- cgit v1.2.3