Browse Source

npm test should run linter

pull/15/merge
Luke Childs 7 years ago
parent
commit
42e9419d23
  1. 3
      .travis.yml
  2. 3
      package.json

3
.travis.yml

@ -1,7 +1,6 @@
language: node_js
node_js: node
script: npm run lint
script: npm test
notifications:
email:
on_success: never

3
package.json

@ -28,10 +28,9 @@
"scripts": {
"start": "node index.js",
"dev": "nodemon -e js,json,html",
"lint": "xo",
"deploy": "now --public",
"alias": "now alias",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "xo"
},
"xo": {
"extends": "xo-lukechilds"

Loading…
Cancel
Save