From 0c5df74fad4994ddbb683f806d8acd0965dc93d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Tue, 19 Jul 2022 13:04:03 +0200 Subject: [PATCH] :sparkles: Set up `prepublishOnly` command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c40832f..3df2e2b 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "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", - "prepare": "npm run build && npm run lint" + "prepublishOnly": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json" }, "files": [ "dist"