Skip to content

Commit 99aa111

Browse files
committed
chore: add ygsec check
1 parent 27f4374 commit 99aa111

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

+4-3
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,13 +45,14 @@
4545
"@semantic-release/npm": "^7.0.4",
4646
"@semantic-release/release-notes-generator": "^9.0.1",
4747
"@serverless/platform-client-china": "^1.0.19",
48+
"@ygkit/secure": "0.0.3",
4849
"babel-eslint": "^10.1.0",
4950
"dotenv": "^8.2.0",
5051
"eslint": "^6.8.0",
5152
"eslint-config-prettier": "^6.10.0",
5253
"eslint-plugin-import": "^2.20.1",
5354
"eslint-plugin-prettier": "^3.1.2",
54-
"husky": "^4.2.3",
55+
"husky": "^4.2.5",
5556
"jest": "^25.0.1",
5657
"lint-staged": "^10.0.8",
5758
"prettier": "^1.19.1",

0 commit comments

Comments
 (0)