From 1cdb0ff72c5b9f2f1fabc6f0ef7f7b52efcb41d4 Mon Sep 17 00:00:00 2001 From: Alois Klink Date: Thu, 29 Sep 2022 19:48:54 +0100 Subject: [PATCH] build: re-enable `prepare` script for husky setup Re-enables the `pnpm run prepare` script. The prepare script is automatically run when running `pnpm install` locally. It both: - Sets up husky/git pre-commit scripts - Builds the `packages/mermaid/dist` folder. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 003439bb4..e58109b32 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "test": "pnpm lint && vitest run", "test:watch": "vitest --coverage --watch", "prepublishOnly": "pnpm build && pnpm test", - "todo-prepare": "concurrently \"husky install\" \"pnpm build\"", + "prepare": "concurrently \"husky install\" \"pnpm build\"", "pre-commit": "lint-staged" }, "repository": {