mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 06:04:05 +00:00
dockerize!
changes to sequelize, env loading, ts workflow, minor improvements
This commit is contained in:
13
package.json
13
package.json
@@ -5,10 +5,9 @@
|
||||
"exports": "./index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "cross-env NODE_ENV=development tsx watch index.ts",
|
||||
"test_setup": "npm i && cross-env NODE_ENV=test npx sequelize-cli db:migrate",
|
||||
"test": "NODE_ENV=test tsx index.ts",
|
||||
"prod": "NODE_ENV=production tsx index.ts"
|
||||
"build": "tsc",
|
||||
"migrate": "npx sequelize-cli db:migrate --config dist/config/sequelize.js --models-path dist/models --migrations-path dist/migrations",
|
||||
"start": "npm run migrate && node dist/index.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -26,7 +25,6 @@
|
||||
"connect-redis": "^8.0.1",
|
||||
"cookie-parser": "^1.4.7",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.4.7",
|
||||
"express": "^4.21.2",
|
||||
"express-session": "^1.18.1",
|
||||
"express-validator": "^7.2.0",
|
||||
@@ -36,6 +34,7 @@
|
||||
"redis": "^4.7.0",
|
||||
"reflect-metadata": "^0.2.2",
|
||||
"sequelize": "^6.37.6",
|
||||
"sequelize-cli": "^6.6.2",
|
||||
"sequelize-typescript": "^2.1.6",
|
||||
"serializr": "^3.0.3",
|
||||
"winston": "^3.17.0"
|
||||
@@ -49,10 +48,6 @@
|
||||
"@types/node": "^22.13.10",
|
||||
"@types/sequelize": "^4.28.20",
|
||||
"@types/validator": "^13.12.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"nodemon": "^3.1.9",
|
||||
"sequelize-cli": "^6.6.2",
|
||||
"tsx": "^4.19.3",
|
||||
"typescript": "^5.8.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user