improve bundler
This commit is contained in:
parent
fbb324e433
commit
640b19228a
8 changed files with 97 additions and 97 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue