Skip to content

Commit a93fd5d

Browse files
committed
chore: setup husky hooks
1 parent 09bcdc1 commit a93fd5d

2 files changed

Lines changed: 17 additions & 15 deletions

File tree

package-lock.json

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "test55-node-backend",
2+
"name": "on_subcriber_test",
33
"version": "1.0.0",
44
"description": "",
55
"main": "index.js",
@@ -16,7 +16,8 @@
1616
"test:all": "jest",
1717
"test:unit": "jest \"./tests/unit/\"",
1818
"test:integration": "jest \"./tests/integration/\"",
19-
"postinstall": "husky install"
19+
"postinstall": "husky install",
20+
"prepare": "husky"
2021
},
2122
"author": "",
2223
"license": "ISC",
@@ -31,10 +32,10 @@
3132
"winston": "^3.11.0"
3233
},
3334
"devDependencies": {
34-
"@types/cors": "^2.8.17",
3535
"@commitlint/cli": "^18.4.3",
3636
"@commitlint/config-conventional": "^18.4.3",
3737
"@types/body-parser": "^1.19.5",
38+
"@types/cors": "^2.8.17",
3839
"@types/express": "^4.17.21",
3940
"@types/express-pino-logger": "^4.0.5",
4041
"@types/jest": "^29.5.10",
@@ -49,7 +50,7 @@
4950
"eslint-plugin-import": "^2.29.0",
5051
"eslint-plugin-prettier": "^5.0.1",
5152
"eslint-plugin-security": "^1.7.1",
52-
"husky": "^8.0.3",
53+
"husky": "^9.1.7",
5354
"jest": "^29.7.0",
5455
"nodemon": "^3.0.1",
5556
"supertest": "^6.3.3",

0 commit comments

Comments
 (0)