Skip to content

Commit bbda634

Browse files
committed
chore: add ygsec check
1 parent d38f1fb commit bbda634

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
},
2929
"husky": {
3030
"hooks": {
31-
"pre-commit": "lint-staged",
31+
"pre-commit": "ygsec && lint-staged",
3232
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
33-
"pre-push": "npm run lint:fix && npm run prettier:fix"
33+
"pre-push": "ygsec && npm run lint:fix && npm run prettier:fix"
3434
}
3535
},
3636
"lint-staged": {
@@ -79,13 +79,14 @@
7979
"@semantic-release/git": "^9.0.0",
8080
"@semantic-release/npm": "^7.0.4",
8181
"@semantic-release/release-notes-generator": "^9.0.1",
82+
"@ygkit/secure": "0.0.3",
8283
"babel-eslint": "^10.1.0",
8384
"dotenv": "^8.2.0",
8485
"eslint": "^6.8.0",
8586
"eslint-config-prettier": "^6.10.0",
8687
"eslint-plugin-import": "^2.20.1",
8788
"eslint-plugin-prettier": "^3.1.2",
88-
"husky": "^4.2.3",
89+
"husky": "^4.2.5",
8990
"lint-staged": "^10.0.8",
9091
"prettier": "^1.19.1",
9192
"semantic-release": "^17.0.4"

0 commit comments

Comments
 (0)