Lint the code before trying to build it

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

View file

@ -5,7 +5,7 @@
"app": "electron app",
"dev": "webpack -w",
"build": "cross-env NODE_ENV=production webpack",
"test": "npm run dist && xo && ava",
"test": "xo && 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",