summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2017-02-10 19:29:03 +0100
committerwinniehell <git@winniehell.de>2017-02-11 21:55:02 +0100
commitb48d30e4d27d2482f5517fc58751953d32f0ded6 (patch)
tree84aabcc093717fc23a704bb15516512592b4ee30 /package.json
parent8a1441fb025bf9f46d42017e069382a44ade28d0 (diff)
downloadgitlab-ce-b48d30e4d27d2482f5517fc58751953d32f0ded6.tar.gz
Reintroduce coverage report for JavaScript (!9133)
Diffstat (limited to 'package.json')
-rw-r--r--package.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/package.json b/package.json
index 24e11a4607f..dbdbeabfb67 100644
--- a/package.json
+++ b/package.json
@@ -36,6 +36,7 @@
"webpack-dev-server": "^2.3.0"
},
"devDependencies": {
+ "babel-plugin-istanbul": "^4.0.0",
"eslint": "^3.10.1",
"eslint-config-airbnb-base": "^10.0.1",
"eslint-plugin-filenames": "^1.1.0",
@@ -45,9 +46,18 @@
"jasmine-core": "^2.5.2",
"jasmine-jquery": "^2.1.1",
"karma": "^1.4.1",
+ "karma-coverage-istanbul-reporter": "^0.2.0",
"karma-jasmine": "^1.1.0",
"karma-phantomjs-launcher": "^1.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.2"
+ },
+ "nyc": {
+ "exclude": [
+ "spec/javascripts/test_bundle.js",
+ "spec/javascripts/**/*_spec.js",
+ "spec/javascripts/**/*_spec.js.es6",
+ "app/assets/javascripts/droplab/**/*"
+ ]
}
}