We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 597a98f + 7448648 commit 87dd3c8Copy full SHA for 87dd3c8
.travis.yml
@@ -15,4 +15,4 @@ env:
15
- TEST_SUITE=unit
16
script: npm run-script $TEST_SUITE
17
after_success:
18
- - npm run coveralls
+ - if [ $TEST_SUITE = lint ]; then npm run coveralls; fi
package.json
@@ -51,7 +51,7 @@
51
},
52
"main": "./lib/index",
53
"scripts": {
54
- "coverage": "istanbul cover test.js",
+ "coverage": "istanbul cover -i 'lib/**' -x '**/__tests__/**' test.js",
55
"coveralls": "npm run coverage && coveralls < coverage/lcov.info",
56
"lint": "standard",
57
"test-find": "find ./lib/**/__tests__ -name *.test.js | xargs mocha",
0 commit comments