Simplify npm scripts

This commit is contained in:
Pig Fang 2018-07-27 16:50:19 +08:00
parent 69e9641bf4
commit e7c2ceeeb4
2 changed files with 2 additions and 4 deletions

View File

@ -38,6 +38,6 @@ matrix:
- echo "Testing JavaScript Code" > /dev/null
script:
- yarn run lint
- yarn test:coverage
- yarn test --verbose --coverage
after_success:
- yarn run codecov

View File

@ -13,9 +13,7 @@
"build": "parcel build -d public --no-source-maps resources/assets/src/components/index.js",
"lint": "gulp lint",
"release": "gulp zip",
"test": "jest --verbose",
"test:watch": "jest --watch",
"test:coverage": "jest --verbose --coverage --coverageDirectory ./coverage/",
"test": "jest",
"codecov": "codecov -F js",
"dev": "parcel watch -d public resources/assets/src/components/index.js"
},