diff --git a/package.json b/package.json index 2a176c19..0180a5c9 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,8 @@ "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", "test:e2e": "./setupPrismaDatabase.sh && pnpm prisma generate --schema apps/prisma-sample/prisma/schema.prisma && DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma nx run-many --target=e2e --all", "test:cov:total": "DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma jest -c jest.cov.js", - "nx": "nx" + "nx": "nx", + "prepare": "husky install" }, "dependencies": { "@nestjs/apollo": "10.1.3", @@ -110,13 +111,13 @@ "eslint": "^8.24.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-prettier": "^4.0.0", - "husky": "^5.1.3", + "husky": "8.0.1", "jest": "^27.5.1", "lint-staged": "^10.5.4", "nx": "^14.8.3", "pactum": "^3.2.2", "prettier": "^2.2.1", - "prisma": "^3.1.1", + "prisma": "^4.4.0", "supertest": "^6.1.3", "ts-jest": "^27.1.5", "ts-loader": "^9.2.6", @@ -125,12 +126,6 @@ "typescript": "^4.7.4", "uuid": "^8.3.2" }, - "husky": { - "hooks": { - "pre-commit": "lint-staged", - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" - } - }, "lint-staged": { "*.ts": [ "prettier --write",