Skip to content

Commit

Permalink
Replace make with npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
p-thorpe committed Aug 4, 2016
1 parent 8ff4b68 commit 3e1ed69
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 27 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
@@ -0,0 +1,2 @@
/node_modules
/coverage
26 changes: 0 additions & 26 deletions Makefile

This file was deleted.

6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -35,7 +35,11 @@
"url": "https://github.com/oleksiyk/kafka/issues"
},
"scripts": {
"test": "make"
"coverage": "./node_modules/.bin/istanbul check-coverage --statement 85 --branch 70 --function 85",
"eslint": "./node_modules/.bin/eslint .",
"posttest": "npm run coverage",
"pretest": "npm run eslint",
"test": "./node_modules/.bin/istanbul cover --report lcov --report text --report html ./node_modules/mocha/bin/_mocha \"test/**/*.js\""
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 3e1ed69

Please sign in to comment.