node-api-template/package.json

101 lines
2.8 KiB
JSON

{
"name": "node-api-template",
"version": "0.1.0",
"description": "node-api-template is a micro service api template.",
"main": "bin/www",
"scripts": {
"start": "node --trace-deprecation bin/www",
"dev": "npx nodemon",
"build": "npx rimraf dist && npx tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
"clean": "npx rimraf dist",
"skip:postinstall": "npx sequelize db:migrate",
"db:setup:production": "npx sequelize db:create --env production && npx sequelize db:migrate --env production && npx sequelize db:seed:all --env production",
"test": "npx jest --forceExit"
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged"
}
},
"lint-staged": {
"*.ts": [
"npx prettier --write",
"npx eslint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/MathieuLussier/node-apit-template.git"
},
"keywords": [
"api",
"template",
"express",
"node",
"micro service"
],
"author": "Mathieu Lussier",
"license": "MIT",
"bugs": {
"url": "https://github.com/MathieuLussier/node-apit-template/issues"
},
"homepage": "https://github.com/MathieuLussier/node-apit-template#readme",
"devDependencies": {
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.6",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/morgan": "^1.9.9",
"@types/node": "^20.11.27",
"@types/redis": "^4.0.11",
"@types/sequelize": "^4.28.20",
"@types/supertest": "^6.0.2",
"@types/validator": "^13.11.9",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"nodemon": "^3.0.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tscpaths": "^0.0.9",
"typescript": "^5.5.3"
},
"dependencies": {
"axios": "^1.6.7",
"bcrypt": "^5.1.1",
"bullmq": "^5.2.1",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.4.4",
"express": "^4.18.2",
"express-validation": "^4.1.0",
"helmet": "^7.1.0",
"http-status": "^1.7.3",
"jsonwebtoken": "^9.0.2",
"morgan": "^1.10.0",
"node-cron": "^3.0.3",
"pg": "^8.12.0",
"pg-hstore": "^2.3.4",
"pm2": "^5.3.1",
"redis": "^4.6.15",
"reflect-metadata": "^0.2.1",
"sequelize": "^6.37.3",
"sequelize-cli": "^6.6.2",
"sequelize-typescript": "^2.1.6",
"winston": "^3.13.0",
"winston-daily-rotate-file": "^5.0.0"
}
}