Last active
August 29, 2015 14:27
-
-
Save perguth/0b14651f7fb2c4e93e72 to your computer and use it in GitHub Desktop.
scripts part of the `package.json` of a test project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"dependencies": { | |
"hyperboot": "^2.1.1" | |
}, | |
"devDependencies": { | |
"browser-sync": "^2.8.2", | |
"browserify": "^11.0.1", | |
"catw": "^1.0.1", | |
"hyperboot": "^2.1.1", | |
"tap": "^1.3.2", | |
"uglifyjs": "^2.4.10", | |
"watchify": "^3.3.1" | |
}, | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"server": "hyperboot server -p 5000 -v", | |
"bs": "bs-conf", | |
"build-html": "html-inline index.html > concat/bundle.html", | |
"build-js": "browserify index.js | uglifyjs -mc > concat/bundle.js", | |
"watch-js": "watchify index.js -o concat/bundle.js -dv", | |
"build-css": "cat style/*.css > concat/bundle.css", | |
"watch-css": "catw style/*.css -o concat/bundle.css -v", | |
"build": "npm run build-html && npm run build-js && npm run build-css", | |
"watch": "npm run watch-js & npm run watch-css & npm run bs", | |
"release": "npm run build | hyperboot release -v", | |
"hyper-release": "TMP=~/.tmp hyper-release concat/bundle.html" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment