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"
- "4.0"
- "iojs"
after_success: npm run coverage
after_success: npm run coveralls

View File

@@ -10,9 +10,10 @@
"license": "MIT",
"main": "./index.js",
"scripts": {
"coverage": "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",
"jshint": "./node_modules/.bin/jshint *.js **/*.js **/**/*.js --exclude=node_modules/**/*"
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"coverage": "nyc report --reporter=html",
"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": {
"async": "^1.3.0",