Skip to content

Instantly share code, notes, and snippets.

@bcomnes
Last active August 29, 2015 14:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bcomnes/8c6d692c4f54f179c9ec to your computer and use it in GitHub Desktop.
Save bcomnes/8c6d692c4f54f179c9ec to your computer and use it in GitHub Desktop.
Tests, coverage, CI and auto testing scripts and reps. Live linting provided by the editor.
{
"scripts": {
"tape": "tape test/*.js",
"test": "npm run tape | tap-spec",
"cover": "istanbul cover tape test/*.js | tap-spec",
"submitCover": "cat coverage/lcov.info | codeclimate",
"travis": "npm run cover && npm run submitCover",
"dev": "nodemon -i coverage --exec 'npm run cover --silent'"
},
"devDependencies": {
"codeclimate-test-reporter": "^0.0.4",
"istanbul": "^0.3.5",
"nodemon": "^1.2.1",
"tap-spec": "^2.1.2",
"tape": "^3.0.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment