From 0c9fc55155a68536185ad015eeda5325221a6b01 Mon Sep 17 00:00:00 2001 From: sophstad Date: Thu, 4 Mar 2021 16:13:15 -0500 Subject: [PATCH] Fix husky workflow --- .husky/pre-commit | 1 - package-lock.json | 1 - package.json | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) 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",