Created
July 27, 2015 16:12
-
-
Save kusold/b7af774035f41b3a9d7b to your computer and use it in GitHub Desktop.
Npm scripts section
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
"scripts": { | |
"build": "npm run build-js", | |
"build-go": "go build", | |
"build-js": "npm run webpack", | |
"serve": "npm run serve-go", | |
"serve-go": "./my-binary", | |
"watch": "npm run watch-js", | |
"watch-go": "watch 'go test ./... && npm run build-go && npm run serve-go' `npm run utils-list-dirs-go -s` --wait 3 --ignoreDotFiles", | |
"watch-js": "watch 'npm run build-js' client/ --wait 3 --ignoreDotFiles", | |
"webpack": "webpack --config .webpack.config.js --progress --colors", | |
"utils-list-dirs-go": "ls -d */ | grep -v node_modules | grep -v client | grep -v build" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment