Skip to content

Commit 03f2f5d

Browse files
committed
chore: add ygsec check
1 parent 5eb78a6 commit 03f2f5d

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
@@ -18,9 +18,9 @@
1818
},
1919
"husky": {
2020
"hooks": {
21-
"pre-commit": "lint-staged",
21+
"pre-commit": "ygsec && lint-staged",
2222
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
23-
"pre-push": "npm run lint:fix && npm run prettier:fix"
23+
"pre-push": "ygsec && npm run lint:fix && npm run prettier:fix"
2424
}
2525
},
2626
"lint-staged": {
@@ -45,14 +45,15 @@
4545
"@semantic-release/npm": "^7.0.4",
4646
"@semantic-release/release-notes-generator": "^9.0.1",
4747
"@serverless/platform-client-china": "^1.0.35",
48+
"@ygkit/secure": "0.0.3",
4849
"axios": "^0.20.0",
4950
"babel-eslint": "^10.1.0",
5051
"dotenv": "^8.2.0",
5152
"eslint": "^6.8.0",
5253
"eslint-config-prettier": "^6.10.0",
5354
"eslint-plugin-import": "^2.20.1",
5455
"eslint-plugin-prettier": "^3.1.2",
55-
"husky": "^4.2.3",
56+
"husky": "^4.2.5",
5657
"jest": "^26.4.2",
5758
"lint-staged": "^10.0.8",
5859
"prettier": "^1.19.1",

0 commit comments

Comments
 (0)