diff --git a/.husky/post-merge b/.husky/post-merge new file mode 100755 index 0000000..b5a2edf --- /dev/null +++ b/.husky/post-merge @@ -0,0 +1,2 @@ +npm install --no-audit --no-fund +npm run build diff --git a/package.json b/package.json index 0d28c78..99a0307 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "cli:dev": "tsc -p tsconfig.cli.json --watch", "cli:build": "tsc -p tsconfig.cli.json", "ttrpg": "node --loader ts-node/esm ./src/cli/index.ts", - "test": "jest" + "test": "jest", + "prepare": "husky" }, "keywords": [ "ttrpg",