Introduce a lint task

This commit is contained in:
Matheus Fernandes 2016-11-22 10:42:06 -02:00
parent 23b7687167
commit 332d3037ef
No known key found for this signature in database
GPG key ID: DD07CA4EA7B65C4F

View file

@ -5,7 +5,8 @@
"app": "electron app",
"dev": "webpack -w",
"build": "cross-env NODE_ENV=production webpack",
"test": "xo && npm run dist && ava",
"lint": "xo",
"test": "npm run lint && npm run dist && ava",
"prepush": "npm test",
"postinstall": "install-app-deps",
"pack": "npm run build && build --dir && babel --no-comments --compact --minified --out-file app/dist/bundle.js app/dist/bundle.js",