package.json in katello-3.9.1 vs package.json in katello-3.10.0.rc1
- old
+ new
@@ -9,11 +9,12 @@
"test:current": "jest webpack --watch",
"format": "prettier --single-quote --trailing-comma es5 --write 'webpack/**/*.js'",
"build": "npm run format && npm run lint",
"lint": "eslint webpack/",
"lint:fix": "eslint --fix webpack/",
- "lint:test": "npm run lint && npm test"
+ "lint:test": "npm run lint && npm test",
+ "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/katello/katello.git"
},
@@ -31,10 +32,11 @@
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"enzyme": "^3.4.0",
"enzyme-adapter-react-16": "^1.4.0",
+ "coveralls": "^3.0.0",
"enzyme-to-json": "^3.1.2",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.0.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-import": "^2.7.0",
@@ -72,9 +74,17 @@
"react-router-dom": "^4.2.2",
"redux": "^3.7.2",
"seamless-immutable": "^7.1.2"
},
"jest": {
+ "collectCoverage": true,
+ "collectCoverageFrom": [
+ "webpack/**/*.js",
+ "!webpack/**/bundle*"
+ ],
+ "coverageReporters": [
+ "lcov"
+ ],
"testURL": "http://localhost/",
"setupFiles": [
"raf/polyfill",
"./webpack/test_setup.js"
],