fixed coveralls
This commit is contained in:
2
.coveralls.yml
Normal file
2
.coveralls.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
service_name: travis-pro
|
||||
repo_token: 9WQeMOiEjFQQAG2FdKJYZdKuYKLszsjEA
|
||||
18
package.json
18
package.json
@@ -22,9 +22,10 @@
|
||||
"cssfilter": "0.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"blanket": "^1.2.1",
|
||||
"browserify": "^12.0.1",
|
||||
"coveralls": "^2.11.9",
|
||||
"debug": "^2.2.0",
|
||||
"istanbul": "^0.4.3",
|
||||
"mocha": "^2.3.4",
|
||||
"uglify-js": "^2.6.1"
|
||||
},
|
||||
@@ -32,22 +33,11 @@
|
||||
"xss": "./bin/xss"
|
||||
},
|
||||
"scripts": {
|
||||
"coverage": "./node_modules/mocha/bin/mocha --require blanket -R html-cov > coverage.html -t 5000 && open coverage.html",
|
||||
"test": "export DEBUG=xss:* && ./node_modules/mocha/bin/mocha -t 5000",
|
||||
"test": "export DEBUG=xss:* && mocha -t 5000",
|
||||
"test-cov": "export DEBUG=xss:* && istanbul cover _mocha --report lcovonly -- -t 5000 -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
|
||||
"build": "./bin/build",
|
||||
"prepublish": "npm run test && npm run build"
|
||||
},
|
||||
"config": {
|
||||
"blanket": {
|
||||
"pattern": [
|
||||
""
|
||||
],
|
||||
"data-cover-never": [
|
||||
"node_modules",
|
||||
"test"
|
||||
]
|
||||
}
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
|
||||
Reference in New Issue
Block a user