From 8254a885d5f9204637294a9ba875b1d2c340420c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Tue, 28 Jun 2022 15:38:34 +0200 Subject: [PATCH] :zap: Add `prepare` script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 72720bc..786448b 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "dev": "tsc --watch", "format": "prettier nodes credentials --write", "lint": "tslint -p tsconfig.json -c tslint.json; eslint nodes credentials package.json", - "lintfix": "tslint --fix -p tsconfig.json -c tslint.json; eslint nodes credentials package.json --fix" + "lintfix": "tslint --fix -p tsconfig.json -c tslint.json; eslint nodes credentials package.json --fix", + "prepare": "npm run build && npm run lint" }, "files": [ "dist"