From c76b0b130dbcd94e34321b67ac9e29475dd7d711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Gon=C3=A7alves?= Date: Thu, 2 Dec 2021 17:16:42 +0100 Subject: [PATCH] fix(build): resolve install husky script and omit release dir npm package --- .npmignore | 2 ++ package.json | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.npmignore b/.npmignore index 4c955bf..a0cd1ab 100644 --- a/.npmignore +++ b/.npmignore @@ -1,9 +1,11 @@ .git .idea .circleci +.husky .github configurations/ demo/ +release/ scripts/ src/ .browserslistrc diff --git a/package.json b/package.json index 765d9f7..98489c5 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,7 @@ ], "scripts": { "authors": "node ./scripts/authors.js", - "postinstall": "husky install", - "prepare": "npm run build && npm run authors", + "prepare": "husky install && npm run build && npm run authors", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "postversion": "git push && git push --tags",