diff --git a/package-lock.json b/package-lock.json index e7168fc7..34b58de0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "luxon", "version": "3.4.4", + "hasInstallScript": true, "license": "MIT", "devDependencies": { "@babel/core": "^7.18.6", diff --git a/package.json b/package.json index 7f97f3dd..37cc54b1 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "format-check": "prettier --check 'src/**/*.js' 'test/**/*.js' 'benchmarks/*.js'", "benchmark": "node benchmarks/index.js", "codecov": "codecov", - "prepack": "babel-node tasks/buildAll.js", - "prepare": "husky install", + "postinstall": "husky install || exit 0", + "prepare": "babel-node tasks/buildAll.js", "show-site": "http-server build" }, "lint-staged": {