Skip to content

Commit e680409

Browse files
committed
feat(chore): fix husky issue
1 parent 926f480 commit e680409

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"coverage": "nyc npm run test",
102102
"migrate:pg:up": "db-migrate up --config migrations/pg/database.json --migrations-dir migrations/pg/migrations",
103103
"migrate:pg:down": "db-migrate down --config migrations/pg/database.json --migrations-dir migrations/pg/migrations",
104-
"prepare": "husky install"
104+
"prepare": "test \"$HUSKY\" = \"0\" || husky install"
105105
},
106106
"repository": {
107107
"type": "git",
@@ -219,7 +219,8 @@
219219
{
220220
"npmPublish": true,
221221
"pkgRoot": ".",
222-
"tarballDir": "dist"
222+
"tarballDir": "dist",
223+
"npmPublishSkipScripts": true
223224
}
224225
],
225226
[

0 commit comments

Comments
 (0)