update nyc config

This commit is contained in:
Pooya Parsa 2017-06-18 14:12:03 +04:30
parent 13fd871359
commit 7ea16f8bde

View File

@ -42,6 +42,13 @@
"bin": { "bin": {
"nuxt": "./bin/nuxt" "nuxt": "./bin/nuxt"
}, },
"nyc": {
"exclude": [
"index.js",
"node_mdoules/**/*.js",
"test/**/*.js"
]
},
"scripts": { "scripts": {
"test": "npm run lint && nyc ava --verbose --serial test/", "test": "npm run lint && nyc ava --verbose --serial test/",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",