Skip to content

Commit

Permalink
Upgraded packages
Browse files Browse the repository at this point in the history
  • Loading branch information
filoscoder committed Aug 7, 2022
1 parent 3e94551 commit 8532c64
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn prettify
git add
5 changes: 5 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint:fix
yarn build
24 changes: 8 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"authors": "filoscoder",
"license": "MIT",
"scripts": {
"precommit": "lint-staged",
"prepare": "husky install",
"lint": "eslint 'src/**/*.{ts,js}' '__tests__/**/*.{ts,js}'",
"lint:fix": "eslint --fix 'src/**/*.{ts,js}' '__tests__/**/*.{ts,js}' --quiet",
"transpile": "tsc",
Expand All @@ -25,13 +25,6 @@
"service:logs": "pm2 logs",
"prettify": "prettier --write \"src/**/*.{ts,js,json}\" \"__tests__/**/*.{ts,js,json}\""
},
"lint-staged": {
"*.{ts,js}": [
"prettier --single-quote --write",
"tslint --fix -c tslint.json 'src/**/*.{ts,js}'; exit 0",
"git add"
]
},
"keywords": [
"typescript",
"node",
Expand All @@ -44,11 +37,11 @@
"bcrypt": "^5.0.0",
"connect-timeout": "^1.9.0",
"cors": "^2.8.3",
"dotenv": "^10.0.0",
"dotenv": "^16.0.1",
"express": "^4.15.3",
"express-pino-logger": "^7.0.0",
"express-validator": "^6.14.2",
"helmet": "^4.3.1",
"helmet": "^5.1.1",
"http-status": "^1.5.2",
"jsonwebtoken": "^8.5.1",
"lodash-es": "^4.17.21",
Expand All @@ -72,18 +65,17 @@
"@types/lodash-es": "^4.17.4",
"@types/module-alias": "^2.0.1",
"@types/morgan": "^1.7.32",
"@types/node": "^16.4.13",
"@types/node": "^18.6.4",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^7.0.1",
"husky": "^7.0.0",
"jest": "^28.1.3",
"jest-watch-typeahead": "^2.0.0",
"lint-staged": "^11.1.2",
"module-alias": "^2.2.2",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
Expand All @@ -93,12 +85,12 @@
"ts-jest": "^28.0.7",
"ts-node": "^10.2.0",
"tsc": "^2.0.3",
"tsconfig-paths": "^3.10.1",
"tsconfig-paths": "^4.1.0",
"tslint": "^6.1.3",
"typescript": "^4.1.3"
},
"engines": {
"node": ">= 12.0.0",
"npm": ">= 5.0.0"
"node": ">= 16.0.0",
"npm": ">= 8.0.0"
}
}

0 comments on commit 8532c64

Please sign in to comment.