Skip to content

Commit

Permalink
Adding coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
chdanielmueller committed Jun 9, 2015
1 parent e3f6c3f commit d7d6964
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .jscsrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"preset": "node-style-guide",
"excludeFiles": ["node_modules/**", "coverage/**"]
"excludeFiles": ["node_modules/**", "coverage/**", "jsdoc/**"]
}
3 changes: 2 additions & 1 deletion .jshintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
coverage
coverage
jsdoc
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"description": "Generates swagger doc based on JSDoc",
"main": "index.js",
"scripts": {
"coverage": "istanbul cover _mocha --report html && istanbul check-coverage --statement 95",
"jsdoc": "jsdoc --configure .jsdocconf",
"start": "cd example && node app.js",
"test": "mocha",
"jsdoc": "jsdoc --configure .jsdocconf"
"test": "mocha"
},
"repository": {
"type": "git",
Expand All @@ -33,6 +34,7 @@
"devDependencies": {
"body-parser": "^1.12.4",
"express": "^4.12.4",
"istanbul": "^0.3.14",
"jscs": "^1.13.1",
"mocha": "^2.2.5",
"mocha-jscs": "^1.1.0",
Expand Down

0 comments on commit d7d6964

Please sign in to comment.