diff --git a/package.json b/package.json index 7306ebd4..a2986799 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ "pretty-check": "npx prettier --check --config .prettierrc \"*.ts\" \"*.js\" \"test/**/*.js\"", "build-pretty": "npm run build && npm run pretty", "set-up-hooks": "cp hooks/pre-commit.sh .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit", - "pack": "./node_modules/.bin/webpack -p" + "pack": "./node_modules/.bin/webpack -p", + "postinstall": "npm run set-up-hooks" }, "repository": { "type": "git",