Skip to content

Instantly share code, notes, and snippets.

@zoe-1
Created April 3, 2015 13:44
Show Gist options
  • Save zoe-1/784100440f0cf2299010 to your computer and use it in GitHub Desktop.
Save zoe-1/784100440f0cf2299010 to your computer and use it in GitHub Desktop.
Why use a Makefile with node.js project
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
@ardibello
Copy link

If you use yarn, then you will not need the extra run like you do with npm. You could just run yarn protractor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment