1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

Coverage task and jshintignore file added

This commit is contained in:
Ruben Bridgewater
2015-09-02 16:09:07 +02:00
parent 5cbd5b8ffc
commit fef3891184
3 changed files with 9 additions and 4 deletions

4
.jshintignore Normal file
View File

@@ -0,0 +1,4 @@
node_modules/**
coverage/**
**.md
**.log

View File

@@ -13,4 +13,4 @@ node_js:
- "0.12" - "0.12"
- "4.0" - "4.0"
- "iojs" - "iojs"
after_success: npm run coverage after_success: npm run coveralls

View File

@@ -10,9 +10,10 @@
"license": "MIT", "license": "MIT",
"main": "./index.js", "main": "./index.js",
"scripts": { "scripts": {
"coverage": "nyc report --reporter=text-lcov | coveralls", "coveralls": "nyc report --reporter=text-lcov | coveralls",
"test": "./node_modules/.bin/jshint *.js **/*.js **/**/*.js --exclude=node_modules/**/* && nyc ./node_modules/.bin/_mocha ./test/*.js ./test/commands/*.js ./test/parser/*.js --timeout=8000", "coverage": "nyc report --reporter=html",
"jshint": "./node_modules/.bin/jshint *.js **/*.js **/**/*.js --exclude=node_modules/**/*" "test": "./node_modules/.bin/jshint * && nyc ./node_modules/.bin/_mocha ./test/*.js ./test/commands/*.js ./test/parser/*.js --timeout=8000",
"jshint": "./node_modules/.bin/jshint *"
}, },
"devDependencies": { "devDependencies": {
"async": "^1.3.0", "async": "^1.3.0",