modularize bundler and minify scripts

This commit is contained in:
Leo Horie 2016-06-23 01:10:30 -04:00
parent 639967c767
commit 89492a4956
8 changed files with 173 additions and 124 deletions

View file

@ -6,8 +6,7 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"build": "node bundler/bundler",
"minify": "node bundler/minify",
"build": "node bundler/cli index.js -o mithril.js",
"lintdocs": "node bundler/lintdocs",
"lint": "eslint .",
"test": "node ospec/bin/ospec",