Enable code coverage
This commit is contained in:
parent
ded253f1ad
commit
4cf4ac6cbb
2
experimental/babel-preset-env/.gitignore
vendored
2
experimental/babel-preset-env/.gitignore
vendored
@ -1,6 +1,8 @@
|
||||
node_modules
|
||||
coverage
|
||||
lib
|
||||
test/tmp
|
||||
.DS_Store
|
||||
*.log
|
||||
.vscode
|
||||
.nyc_output
|
||||
|
||||
4
experimental/babel-preset-env/codecov.yml
Normal file
4
experimental/babel-preset-env/codecov.yml
Normal file
@ -0,0 +1,4 @@
|
||||
coverage:
|
||||
parsers:
|
||||
javascript:
|
||||
enable_partials: yes
|
||||
@ -13,7 +13,8 @@
|
||||
"dev": "babel -w src -d lib",
|
||||
"lint": "eslint .",
|
||||
"fix": "eslint . --fix",
|
||||
"ci": "npm run test",
|
||||
"cov": "nyc npm run test",
|
||||
"ci": "nyc npm run test && nyc report --reporter=json && codecov -f coverage/coverage-final.json",
|
||||
"changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'",
|
||||
"test": "npm run build && mocha ./test --compilers js:babel-register -t 10000"
|
||||
},
|
||||
@ -58,6 +59,7 @@
|
||||
"babel-preset-es2015": "^6.14.0",
|
||||
"babel-register": "^6.14.0",
|
||||
"chai": "^3.0.0",
|
||||
"codecov": "^1.0.1",
|
||||
"compat-table": "kangax/compat-table#c38f039b8ea7fadf347d3e300fec3611645e31e9",
|
||||
"eslint": "^3.13.1",
|
||||
"eslint-config-babel": "^5.0.0",
|
||||
@ -65,6 +67,7 @@
|
||||
"fs-extra": "^2.0.0",
|
||||
"lodash": "^4.15.0",
|
||||
"mocha": "^3.0.2",
|
||||
"nyc": "^10.1.2",
|
||||
"rimraf": "^2.5.4"
|
||||
},
|
||||
"babel": {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user