You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2019/01/16 05:57:18 UTC
[cordova-android] 04/07: Replaced code coverage istanbul with nyc
This is an automated email from the ASF dual-hosted git repository.
dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git
commit f7688bc64eda36e18a1dcaf3218d67511ff735f0
Author: エリス <el...@gmail.com>
AuthorDate: Tue Jan 8 15:36:54 2019 +0900
Replaced code coverage istanbul with nyc
---
.gitignore | 2 ++
package.json | 16 +++++++++++++---
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
index 281e609..224f30f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,3 +43,5 @@ tmp/**/*
*.iml
npm-debug.log
node_modules/
+coverage/
+.nyc_output/
diff --git a/package.json b/package.json
index 4d5b6dd..e5ab0f9 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,7 @@
"scripts": {
"test": "run-s eslint unit-tests java-unit-tests e2e-tests",
"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",
"java-unit-tests": "node test/run_java_unit_tests.js",
"eslint": "run-s -c eslint:*",
@@ -47,14 +47,24 @@
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
- "istanbul": "^0.4.2",
"jasmine": "^3.3.1",
"npm-run-all": "^4.1.5",
+ "nyc": "^13.1.0",
"promise-matchers": "~0",
"rewire": "^4.0.1"
},
"engines": {
"node": ">=6.0.0"
},
- "engineStrict": true
+ "engineStrict": true,
+ "nyc": {
+ "include": [
+ "bin/lib/**",
+ "bin/templates/cordova/**"
+ ],
+ "reporter": [
+ "lcov",
+ "text"
+ ]
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org