fix build scripts

This commit is contained in:
Pooya Parsa 2018-03-19 04:37:47 +03:30
parent f9c4f8bfb2
commit 05e3da6e51
2 changed files with 3 additions and 4 deletions

View File

@ -19,10 +19,10 @@ install:
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# - npm --version
- yarn --version
# run tests
- yarn test-appveyor
- yarn test
# Don't actually build.
build: off

View File

@ -42,8 +42,7 @@
},
"scripts": {
"build-fixtures": "node ./scripts/build-fixtures",
"test": "npm run lint && npm run build-fixtures && jest",
"test-appveyor": "yarn test",
"test": "npm run lint && npm run build-fixtures && jest test/",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "eslint --ext .js,.mjs,.vue bin/* build/ lib/ test/ examples/",
"precommit": "npm run lint",