diff --git a/.husky/pre-commit b/.husky/pre-commit index 02cdcc9..8cb8631 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -3,5 +3,3 @@ npm run check:lint && npm run check:types npm run format:renderer && npm run format:main -npm run check:lint && npm run check:types -npm run format:renderer && npm run format:main diff --git a/package.json b/package.json index 5fa2729..c8a6cfd 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "check:types": "npx tsc --noEmit", "format:renderer": "prettier --write \"renderer/**/*.{js,jsx,ts,tsx,css}\"", "format:main": "prettier --write \"main/**/*.{js,ts}\"", - "prepare": "husky install && husky add .husky/pre-commit \"npm run check:lint && npm run check:types\" && husky add .husky/pre-commit \"npm run format:renderer && npm run format:main\"" + "prepare": "husky install" }, "husky": { "hooks": {