From 23b768716780d488ab224f0c3d91468c5146b5cc Mon Sep 17 00:00:00 2001 From: Matheus Fernandes Date: Tue, 22 Nov 2016 10:36:32 -0200 Subject: [PATCH] Lint the code before trying to build it --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ca5c2732..2b8c0749 100644 --- a/package.json +++ b/package.json @@ -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",