Skip to content

Commit

Permalink
add husky on relearn server [cll2hez0s0001t40k505pfhrg]
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloendoh committed Dec 19, 2023
1 parent f4154e5 commit 381d17f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

ECHO "[HUSKY] npx tsc"
npx tsc --noEmit
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"test": "set NODE_ENV=test&& jest --detectOpenHandles",
"test:watch": "set NODE_ENV=test&& jest --watchAll --detectOpenHandles",
"swagger": "tsoa spec",
"typeorm": "typeorm-ts-node-commonjs -d ./src/dataSource.ts"
"typeorm": "typeorm-ts-node-commonjs -d ./src/dataSource.ts",
"prepare": "husky install"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.370.0",
Expand Down Expand Up @@ -103,6 +104,7 @@
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^9.0.2",
"concurrently": "^8.2.0",
"husky": "^8.0.3",
"jest": "^29.6.1",
"nodemon": "^2.0.22",
"ts-jest": "^29.1.1",
Expand Down

0 comments on commit 381d17f

Please sign in to comment.