Merge pull request #850 from thelounge/astorije/fix-coverage
Switch istanbul CLI to more recent nyc one
This commit is contained in:
commit
3240faddc9
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
|
||||||
|
.nyc_output/
|
||||||
coverage/
|
coverage/
|
||||||
|
|
||||||
# Built assets created at npm install/prepublish time
|
# Built assets created at npm install/prepublish time
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
instrumentation:
|
|
||||||
include-all-sources: true
|
|
||||||
excludes:
|
|
||||||
- client/js/bundle.js
|
|
||||||
- client/js/bundle.vendor.js
|
|
||||||
- client/js/lounge.js
|
|
14
.nycrc
Normal file
14
.nycrc
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"all": true,
|
||||||
|
"exclude": [
|
||||||
|
"client/js/bundle.js",
|
||||||
|
"client/js/bundle.vendor.js",
|
||||||
|
"coverage/",
|
||||||
|
"test/"
|
||||||
|
],
|
||||||
|
"reporter": [
|
||||||
|
"lcov",
|
||||||
|
"text",
|
||||||
|
"text-summary"
|
||||||
|
]
|
||||||
|
}
|
@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://thelounge.github.io/",
|
"homepage": "https://thelounge.github.io/",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"coverage": "istanbul cover node_modules/mocha/bin/_mocha",
|
"coverage": "nyc mocha",
|
||||||
"start": "node index",
|
"start": "node index",
|
||||||
"start-dev": "npm-run-all --parallel watch start",
|
"start-dev": "npm-run-all --parallel watch start",
|
||||||
"build": "npm-run-all build:*",
|
"build": "npm-run-all build:*",
|
||||||
@ -66,12 +66,12 @@
|
|||||||
"font-awesome": "4.7.0",
|
"font-awesome": "4.7.0",
|
||||||
"handlebars": "4.0.6",
|
"handlebars": "4.0.6",
|
||||||
"handlebars-loader": "1.4.0",
|
"handlebars-loader": "1.4.0",
|
||||||
"istanbul": "0.4.5",
|
|
||||||
"jquery": "2.1.1",
|
"jquery": "2.1.1",
|
||||||
"jquery-ui": "1.12.1",
|
"jquery-ui": "1.12.1",
|
||||||
"mocha": "3.2.0",
|
"mocha": "3.2.0",
|
||||||
"mousetrap": "1.4.6",
|
"mousetrap": "1.4.6",
|
||||||
"npm-run-all": "3.1.2",
|
"npm-run-all": "3.1.2",
|
||||||
|
"nyc": "10.0.0",
|
||||||
"socket.io-client": "1.7.2",
|
"socket.io-client": "1.7.2",
|
||||||
"stylelint": "7.7.0",
|
"stylelint": "7.7.0",
|
||||||
"urijs": "1.16.1",
|
"urijs": "1.16.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user