Created
April 3, 2015 13:44
-
-
Save zoe-1/784100440f0cf2299010 to your computer and use it in GitHub Desktop.
Why use a Makefile with node.js project
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: | |
npm start | |
install: | |
npm install | |
test: | |
npm test | |
cov: | |
npm run test-coverage | |
cov-html: | |
npm run test-coverage-html | |
cov-mac: | |
npm run test-coverage-html | |
open -a Safari ./test/coverage.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you use
yarn
, then you will not need the extrarun
like you do with npm. You could just runyarn protractor
.