diff --git a/package.json b/package.json index 7433010..a5f22c4 100644 --- a/package.json +++ b/package.json @@ -11,16 +11,17 @@ "build": "turbo run build", "dev": "turbo run dev --parallel", "lint": "turbo run lint", - "format": "prettier --write \"**/*.{ts,tsx,md}\"" + "format": "prettier --write \"**/*.{ts,tsx,md}\"", + "prepare": "husky install" }, "devDependencies": { "eslint-config-custom": "workspace:*", + "husky": "^8.0.0", "prettier": "latest", "turbo": "latest" }, "engines": { "node": ">=14.0.0" }, - "dependencies": {}, "packageManager": "pnpm@7.15.0" -} \ No newline at end of file +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 41ec184..0f64575 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,10 +5,12 @@ importers: .: specifiers: eslint-config-custom: workspace:* + husky: ^8.0.0 prettier: latest turbo: latest devDependencies: eslint-config-custom: link:common/eslint-config-custom + husky: 8.0.2 prettier: 2.7.1 turbo: 1.6.3 @@ -1608,6 +1610,12 @@ packages: resolve-alpn: 1.2.1 dev: false + /husky/8.0.2: + resolution: {integrity: sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==} + engines: {node: '>=14'} + hasBin: true + dev: true + /iconv-lite/0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'}