From d636ca3161606fa5397ea4f36f5a8d738069a836 Mon Sep 17 00:00:00 2001 From: Nicolas Hedger Date: Thu, 24 Aug 2023 17:36:52 +0200 Subject: [PATCH] chore: install lefthook --- package.json | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 37d7eb1..40f8e20 100644 --- a/package.json +++ b/package.json @@ -19,11 +19,7 @@ "url": "git+https://github.com/nhedger/nestjs-encryption.git" }, "bugs": "https://github.com/nhedger/nestjs-encryption/issues", - "keywords": [ - "nestjs", - "encryption", - "crypto" - ], + "keywords": ["nestjs", "encryption", "crypto"], "sideEffects": false, "exports": { ".": { @@ -37,15 +33,10 @@ "types": "./dist/lib/index.d.ts", "typesVersions": { "*": { - "*": [ - "./dist/lib/*", - "./dist/lib/index.d.ts" - ] + "*": ["./dist/lib/*", "./dist/lib/index.d.ts"] } }, - "files": [ - "dist" - ], + "files": ["dist"], "bin": { "nestjs-encryption-keygen": "./dist/cli/keygen.mjs" }, @@ -55,7 +46,8 @@ "format": "rome format --write .", "lint": "rome check .", "test": "vitest", - "typecheck": "tsc --noEmit" + "typecheck": "tsc --noEmit", + "postinstall": "lefthook install" }, "devDependencies": { "@nestjs/common": "^10.2.1",