Refactor general pour ajout d'un flow CI/CD

This commit is contained in:
Florian Sylvain
2023-02-09 20:05:33 +01:00
parent ff0cb60890
commit 6998217399
18 changed files with 298 additions and 201 deletions
+8 -5
View File
@@ -1,14 +1,14 @@
{
"dependencies": {
"@prisma/client": "^4.9.0",
"@prisma/client": "^4.10.0",
"cloudinary": "^1.33.0",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"http-errors": "^2.0.0",
"https-error": "^1.0.2",
"multer": "^1.4.5-lts.1",
"nodemon": "^2.0.20",
"prisma": "^4.9.0",
"zod": "^3.20.2"
},
"name": "popcorn",
@@ -17,8 +17,8 @@
"main": "index.js",
"type": "module",
"scripts": {
"start": "nodemon app.js",
"dev": "nodemon app.js",
"start": "npx prisma migrate deploy && node src/app.js",
"dev": "nodemon src/app.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
@@ -30,5 +30,8 @@
"bugs": {
"url": "https://github.com/scotty974/PopCorn/issues"
},
"homepage": "https://github.com/scotty974/PopCorn#readme"
"homepage": "https://github.com/scotty974/PopCorn#readme",
"devDependencies": {
"prisma": "^4.10.0"
}
}