diff --git a/.husky/pre-commit b/.husky/pre-commit index e688051ac..d37daa075 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,4 +2,3 @@ . "$(dirname "$0")/_/husky.sh" npx --no-install lint-staged -npx lint-staged diff --git a/package-lock.json b/package-lock.json index 49f4b8ff4..454b86970 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,6 @@ "packages": { "": { "version": "0.9.3", - "hasInstallScript": true, "dependencies": { "@emotion/core": "^10.1.1", "@emotion/styled": "^10.0.27", diff --git a/package.json b/package.json index feaa45ad5..83d370185 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "format:fix": "npm run prettier -- --write", "lint": "eslint --ext .js,.jsx .", "lint:fix": "npm run lint -- --fix", - "postinstall": "husky install", + "prepare": "husky install", "postversion": "git push origin v$npm_package_version && git push origin master", "prettier": "prettier '**/*.{js,jsx,json,md}' '!docs-tools/**'", "preversion": "npm run ensure-master && npm run format && npm run lint && npm run test",