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 language: node_js
node_js: node node_js: node
script: npm run lint script: npm test
notifications: notifications:
email: email:
on_success: never on_success: never

3
package.json

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

Loading…
Cancel
Save