We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a258a4c commit f727ea5Copy full SHA for f727ea5
2 files changed
.travis.yml
@@ -1,3 +1,6 @@
1
language: node_js
2
node_js:
3
-- "stable"
+- "stable"
4
+
5
+after_success:
6
+- npm run coveralls
package.json
@@ -8,11 +8,16 @@
8
"license": "MIT",
9
"main": "index.js",
10
"scripts": {
11
- "test": "./node_modules/.bin/mocha"
+ "test": "mocha",
12
+ "cover": "istanbul cover _mocha",
13
+ "coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls"
14
},
15
"dependencies": {},
16
"devDependencies": {
17
+ "coveralls": "^2.11.16",
18
"eslint": "^3.13.1",
- "mocha": "^3.2.0"
19
+ "istanbul": "^0.4.5",
20
+ "mocha": "^3.2.0",
21
+ "mocha-lcov-reporter": "^1.2.0"
22
}
23
0 commit comments