diff --git a/package-lock.json b/package-lock.json index cd6116e3..268300b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -794,9 +794,9 @@ "dev": true }, "husky": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/husky/-/husky-5.1.0.tgz", - "integrity": "sha512-Os0EY2haOO+59YZSwMiUDsHY43RFwBVIRStHcnnT8/kvA+sFfaA/YS4uLFRiymXYgQl6E6TQTt3y4v/Z2ctEtw==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/husky/-/husky-5.1.2.tgz", + "integrity": "sha512-lilaRYeDXcAOj8DuRnN9IxUyEMVbYg9rK7yVNkPB5V4hCvxIUxpMeiv9K2h77CE0HzjCnk1Br0oWe1IghXngDQ==", "dev": true }, "iconv-lite": { diff --git a/package.json b/package.json index 84810592..7de6a40d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "lint": "eslint --ext .ts src", "lint:fix": "eslint --ext .ts --fix src", "changelog": "ts-node scripts/changelog.ts && npm i", - "postinstall": "husky install", + "prepare": "husky install", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { @@ -45,7 +45,7 @@ "eslint": "^6.8.0", "eslint-config-prettier": "^6.15.0", "eslint-plugin-prettier": "^3.3.1", - "husky": "^5.1.0", + "husky": "^5.1.2", "prettier": "^2.2.1", "ts-node": "^9.1.1", "typescript": "^4.2.2",