add codecov reports
This commit is contained in:
@@ -4,4 +4,4 @@ machine:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- npm run build
|
- npm run codecov
|
||||||
|
|||||||
@@ -7,5 +7,7 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
"moduleNameMapper": {
|
"moduleNameMapper": {
|
||||||
"^[./a-zA-Z0-9$_-]+\.css\!?$": "<rootDir>/dist/test/test-setup/cssStub.js",
|
"^[./a-zA-Z0-9$_-]+\.css\!?$": "<rootDir>/dist/test/test-setup/cssStub.js",
|
||||||
}
|
},
|
||||||
|
"coverageDirectory": "<rootDir>/tmp/coverage/",
|
||||||
|
"collectCoverage": false
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./node_modules/.bin/grunt buildTest && jest",
|
"test": "./node_modules/.bin/grunt buildTest && jest",
|
||||||
"build": "./node_modules/.bin/grunt && jest",
|
"build": "./node_modules/.bin/grunt && jest",
|
||||||
"watch": "./node_modules/.bin/grunt watch"
|
"watch": "./node_modules/.bin/grunt watch",
|
||||||
|
"codecov": "jest --coverage && codecov"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -23,6 +24,7 @@
|
|||||||
"babel-plugin-transform-es2015-modules-systemjs": "^6.5.0",
|
"babel-plugin-transform-es2015-modules-systemjs": "^6.5.0",
|
||||||
"babel-preset-es2015": "^6.5.0",
|
"babel-preset-es2015": "^6.5.0",
|
||||||
"benchmark": "^2.1.4",
|
"benchmark": "^2.1.4",
|
||||||
|
"codecov": "^3.0.0",
|
||||||
"grunt": "~0.4.5",
|
"grunt": "~0.4.5",
|
||||||
"grunt-babel": "~6.0.0",
|
"grunt-babel": "~6.0.0",
|
||||||
"grunt-benchmark": "^1.0.0",
|
"grunt-benchmark": "^1.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user