Skip to content

Commit 75fb177

Browse files
authored
updated husky prepare (#3504)
1 parent 3618785 commit 75fb177

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn lint-staged

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080
"webpack-dev": "webpack --mode development --watch",
8181
"webpack": "webpack --mode development",
8282
"postinstall": "husky install",
83-
"chrome": "yarn webpack && vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
83+
"chrome": "yarn webpack && vscode-test-web --browserType=chromium --extensionDevelopmentPath=. .",
84+
"prepare": "husky"
8485
},
8586
"lint-staged": {
8687
"**/*.{ts,json,md,yml,hbs,js}": [

0 commit comments

Comments
 (0)