forked from github/cordova-android
Replaced code coverage istanbul with nyc
This commit is contained in:
parent
18e28294d6
commit
f7688bc64e
2
.gitignore
vendored
2
.gitignore
vendored
@ -43,3 +43,5 @@ tmp/**/*
|
|||||||
*.iml
|
*.iml
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
node_modules/
|
node_modules/
|
||||||
|
coverage/
|
||||||
|
.nyc_output/
|
||||||
|
16
package.json
16
package.json
@ -21,7 +21,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "run-s eslint unit-tests java-unit-tests e2e-tests",
|
"test": "run-s eslint unit-tests java-unit-tests e2e-tests",
|
||||||
"unit-tests": "jasmine --config=spec/unit/jasmine.json",
|
"unit-tests": "jasmine --config=spec/unit/jasmine.json",
|
||||||
"cover": "istanbul cover --root bin --print detail jasmine -- --config=spec/unit/jasmine.json",
|
"cover": "nyc jasmine --config=spec/unit/jasmine.json",
|
||||||
"e2e-tests": "jasmine --config=spec/e2e/jasmine.json",
|
"e2e-tests": "jasmine --config=spec/e2e/jasmine.json",
|
||||||
"java-unit-tests": "node test/run_java_unit_tests.js",
|
"java-unit-tests": "node test/run_java_unit_tests.js",
|
||||||
"eslint": "run-s -c eslint:*",
|
"eslint": "run-s -c eslint:*",
|
||||||
@ -47,14 +47,24 @@
|
|||||||
"eslint-plugin-node": "^8.0.1",
|
"eslint-plugin-node": "^8.0.1",
|
||||||
"eslint-plugin-promise": "^4.0.1",
|
"eslint-plugin-promise": "^4.0.1",
|
||||||
"eslint-plugin-standard": "^4.0.0",
|
"eslint-plugin-standard": "^4.0.0",
|
||||||
"istanbul": "^0.4.2",
|
|
||||||
"jasmine": "^3.3.1",
|
"jasmine": "^3.3.1",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
|
"nyc": "^13.1.0",
|
||||||
"promise-matchers": "~0",
|
"promise-matchers": "~0",
|
||||||
"rewire": "^4.0.1"
|
"rewire": "^4.0.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=6.0.0"
|
"node": ">=6.0.0"
|
||||||
},
|
},
|
||||||
"engineStrict": true
|
"engineStrict": true,
|
||||||
|
"nyc": {
|
||||||
|
"include": [
|
||||||
|
"bin/lib/**",
|
||||||
|
"bin/templates/cordova/**"
|
||||||
|
],
|
||||||
|
"reporter": [
|
||||||
|
"lcov",
|
||||||
|
"text"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user