Permalink
Browse files

Clean up package and repo for CI

 - simplify test and coverage
 - update devDependencies
 - ignore CI generated files

closes #4
  • Loading branch information...
1 parent 62c0adf commit 54986e68db7d4771075e90860e43ef702ac2e7c7 @rmg rmg committed Feb 11, 2014
Showing with 9 additions and 6 deletions.
  1. +4 −1 .gitignore
  2. +5 −5 package.json
View
5 .gitignore
@@ -1,3 +1,6 @@
test/socket
node_modules
-lib-cov
+lib-cov
+coverage
+*.tgz
+*.xml
View
10 package.json
@@ -13,12 +13,12 @@
"node-uuid": "~1.4.1"
},
"devDependencies": {
- "should": "*",
- "mocha": "*",
- "istanbul": "~0.1.44"
+ "should": "~3.1.2",
+ "mocha": "strongloop/mocha#production",
+ "istanbul": "~0.2.4"
},
"scripts": {
- "test": "mocha -r should -G -R spec",
- "coverage": "rm -rf coverage && istanbul cover _mocha -- -r should -G -R spec; istanbul report"
+ "test": "istanbul test -- _mocha -r should -G -R spec",
+ "posttest": "test -z $npm_config_coverage || istanbul report"
}
}

0 comments on commit 54986e6

Please sign in to comment.