You've already forked node-redis
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:
4
.jshintignore
Normal file
4
.jshintignore
Normal file
@@ -0,0 +1,4 @@
|
||||
node_modules/**
|
||||
coverage/**
|
||||
**.md
|
||||
**.log
|
@@ -13,4 +13,4 @@ node_js:
|
||||
- "0.12"
|
||||
- "4.0"
|
||||
- "iojs"
|
||||
after_success: npm run coverage
|
||||
after_success: npm run coveralls
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user