mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
update nyc config
This commit is contained in:
parent
13fd871359
commit
7ea16f8bde
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user