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: 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

View File

@ -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",