summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2017-02-14 19:40:40 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-02-14 19:40:40 +0000
commit9760fd7a95cb1dcdcee227817e41c924f5d39dc7 (patch)
tree80ffb9d8cc358680f4f6c486ad583c9e288cb270 /package.json
parentad5e772bddd7b417fa7a36629db02c69b1b9864d (diff)
parentbfb82f8a0d4d837a0472342c05de18c60037a2ea (diff)
downloadgitlab-ce-9760fd7a95cb1dcdcee227817e41c924f5d39dc7.tar.gz
Merge branch 'cover-my-karma' into 'master'
Reintroduce coverage report for JavaScript Closes #27826 and #20757 See merge request !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 48f571eda9b..0500ba9670e 100644
--- a/package.json
+++ b/package.json
@@ -37,6 +37,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-import-resolver-webpack": "^0.8.1",
@@ -47,9 +48,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/**/*"
+ ]
}
}