diff --git a/package.json b/package.json index dd2d6fa..57e3341 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "package:lib": "npm run build && cp ./package.json build && cp README.md build && cd build && npm version \"5.0.0\" && npm pack", "lint:fix": "npx prettier --write '{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,json,yml,md,graphql}'", "lint": "npx prettier --check '{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,json,yml,md,graphql}'", - "postinstall": "[ -d .git ] && git config core.hooksPath ./.git-hooks || true" + "prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks || true" }, "publishConfig": { "access": "public"