From 54505f391a188ac6f4d515241d9dadf00a2bc30c Mon Sep 17 00:00:00 2001 From: BenjaVR Date: Sun, 17 Feb 2019 20:13:07 +0100 Subject: [PATCH] Lint and build before deploy (in npm script) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ab2bb2..ef86bf9 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "build": "react-scripts build", "test": "react-scripts test", "lint": "tslint --project tsconfig.json", - "deploy": "firebase deploy" + "deploy": "yarn run lint && yarn run build && firebase deploy" }, "browserslist": [ ">0.2%",