Created
February 17, 2014 03:51
-
-
Save Qard/9044444 to your computer and use it in GitHub Desktop.
This would be several hundred lines in grunt.
This file contains 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
{ | |
"start": "node --harmony server.js", | |
"dev": "exec-parallel 'npm run watch' 'npm run watch:test' 'nodemon --harmony server.js'", | |
"test": "mocha --harmony", | |
"coverage": "npm run coverage:report", | |
"coverage:build": "rm -rf coverage && node --harmony istanbul cover _mocha", | |
"coverage:report": "npm run coverage:build && istanbul report", | |
"coverage:html": "npm run coverage && node-open coverage/lcov-report/index.html", | |
"build": "exec-parallel 'npm run build:js' 'npm run build:css'", | |
"build:js": "browserify assets/js/main.js -o public/js/bundle.js", | |
"build:css": "stylus --compress --out public/css assets/css", | |
"watch": "exec-parallel 'npm run watch:js' 'npm run watch:css'", | |
"watch:js": "onchange 'assets/js/**/*.js' -- npm run build:js", | |
"watch:css": "onchange 'assets/css/**/*.styl' -- npm run build:css", | |
"watch:test": "onchange '*.js' 'controllers/*.js' 'models/*.js' 'public/js/**/*.js' 'test/**/*.js' -- npm test" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment