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