Skip to content

Commit 1fcfddd

Browse files
committed
chore: add ygsec check
1 parent 4b882b2 commit 1fcfddd

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
@@ -19,9 +19,9 @@
1919
},
2020
"husky": {
2121
"hooks": {
22-
"pre-commit": "lint-staged",
22+
"pre-commit": "ygsec && lint-staged",
2323
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
24-
"pre-push": "npm run lint:fix && npm run prettier:fix"
24+
"pre-push": "ygsec && npm run lint:fix && npm run prettier:fix"
2525
}
2626
},
2727
"lint-staged": {
@@ -46,14 +46,15 @@
4646
"@semantic-release/npm": "^7.0.4",
4747
"@semantic-release/release-notes-generator": "^9.0.1",
4848
"@serverless/platform-client-china": "^1.0.19",
49+
"@ygkit/secure": "0.0.3",
4950
"axios": "^0.19.2",
5051
"babel-eslint": "^10.1.0",
5152
"dotenv": "^8.2.0",
5253
"eslint": "^6.8.0",
5354
"eslint-config-prettier": "^6.10.0",
5455
"eslint-plugin-import": "^2.20.1",
5556
"eslint-plugin-prettier": "^3.1.2",
56-
"husky": "^4.2.3",
57+
"husky": "^4.2.5",
5758
"jest": "^25.0.1",
5859
"lint-staged": "^10.0.8",
5960
"prettier": "^1.19.1",

0 commit comments

Comments
 (0)