improve bundler

This commit is contained in:
Leo Horie 2016-07-28 22:35:22 -04:00
parent fbb324e433
commit 640b19228a
8 changed files with 97 additions and 97 deletions

View file

@ -6,7 +6,10 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"build": "node bundler/cli index.js -o mithril.js",
"dev": "node bundler/cli index.js -o mithril.js -w",
"build": "npm run build-commonjs & npm run build-browser",
"build-commonjs": "node bundler/cli index.js -o mithril.js",
"build-browser": "node bundler/cli browser.js -o mithril.min.js -m",
"lintdocs": "node bundler/lintdocs",
"lint": "eslint .",
"test": "node ospec/bin/ospec",