lintdocs and minify scripts
This commit is contained in:
parent
693c87f5f1
commit
8594ed3ef1
3 changed files with 163 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue