This commit is contained in:
Arihant Bansal
2025-01-05 11:17:41 +05:30
parent d58417a444
commit f9d8261a16
3 changed files with 3 additions and 6 deletions

1
.husky/pre-commit Normal file
View File

@@ -0,0 +1 @@
tsc && lint-staged

View File

@@ -1,5 +0,0 @@
{
"hooks": {
"pre-commit": "tsc && lint-staged"
}
}

View File

@@ -12,7 +12,8 @@
"generate": "ts-node src/utils/keypair.ts",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\""
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"prepare": "husky"
},
"engines": {
"node": ">=22.0.0",