mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
fix build scripts
This commit is contained in:
parent
f9c4f8bfb2
commit
05e3da6e51
@ -19,10 +19,10 @@ install:
|
|||||||
test_script:
|
test_script:
|
||||||
# Output useful info for debugging.
|
# Output useful info for debugging.
|
||||||
- node --version
|
- node --version
|
||||||
- npm --version
|
# - npm --version
|
||||||
- yarn --version
|
- yarn --version
|
||||||
# run tests
|
# run tests
|
||||||
- yarn test-appveyor
|
- yarn test
|
||||||
|
|
||||||
# Don't actually build.
|
# Don't actually build.
|
||||||
build: off
|
build: off
|
||||||
|
@ -42,8 +42,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build-fixtures": "node ./scripts/build-fixtures",
|
"build-fixtures": "node ./scripts/build-fixtures",
|
||||||
"test": "npm run lint && npm run build-fixtures && jest",
|
"test": "npm run lint && npm run build-fixtures && jest test/",
|
||||||
"test-appveyor": "yarn test",
|
|
||||||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
||||||
"lint": "eslint --ext .js,.mjs,.vue bin/* build/ lib/ test/ examples/",
|
"lint": "eslint --ext .js,.mjs,.vue bin/* build/ lib/ test/ examples/",
|
||||||
"precommit": "npm run lint",
|
"precommit": "npm run lint",
|
||||||
|
Loading…
Reference in New Issue
Block a user