chore: change travis script

run lint and test
This commit is contained in:
2018-03-28 14:44:38 -07:00
parent efbda1b1f5
commit f4dfddef8e
2 changed files with 3 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
"prepublish": "in-publish && npm run test || not-in-publish",
"test": "retire -n -p package.json && npm run build && npm run unit",
"lint": "eslint \"*.js\" \"src/**/*.js\"",
"test:ci": "npm run lint && npm run test",
"unit": "nyc --require babel-core/register mocha test/src/**"
},
"author": "Joe Fleming (https://github.com/w33ble)",