lintdocs and minify scripts

This commit is contained in:
Leo Horie 2016-06-20 09:19:30 -04:00
parent 693c87f5f1
commit 8594ed3ef1
3 changed files with 163 additions and 2 deletions

View file

@ -7,8 +7,8 @@
"main": "index.js",
"scripts": {
"build": "node bundler/bundler",
"minify": "uglifyjs mithril.js -m -c -o mithril.min.js",
"size": "uglifyjs mithril.js -m -c | gzipped",
"minify": "node bundler/minify",
"lintdocs": "node bundler/lintdocs",
"lint": "eslint .",
"test": "node ospec/bin/ospec",
"cover": "istanbul cover --print both ospec/bin/ospec"
@ -19,5 +19,8 @@
},
"publishConfig": {
"tag": "beta"
},
"bin": {
"ospec": "./ospec/bin/ospec"
}
}