diff --git a/package-lock.json b/package-lock.json index ff1e5c0..dbe2680 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "name": "edventure", "dependencies": { "@types/argon2": "^0.15.0", - "@types/cookie-parser": "^1.4.7", "@types/cors": "^2.8.17", "@types/express": "^4.17.21", "@types/jsonwebtoken": "^9.0.6", @@ -16,7 +15,6 @@ "@types/otp-generator": "^4.0.2", "@types/ws": "^8.5.10", "argon2": "^0.40.1", - "cookie-parser": "^1.4.6", "cors": "^2.8.5", "dotenv": "^16.4.5", "express": "^4.19.2", @@ -26,6 +24,10 @@ "typescript": "^5.5.3", "ws": "^8.16.0", "zod": "^3.22.4" + }, + "devDependencies": { + "@types/cookie-parser": "^1.4.7", + "cookie-parser": "^1.4.6" } }, "node_modules/@mongodb-js/saslprep": { @@ -74,6 +76,7 @@ "version": "1.4.7", "resolved": "https://registry.npmjs.org/@types/cookie-parser/-/cookie-parser-1.4.7.tgz", "integrity": "sha512-Fvuyi354Z+uayxzIGCwYTayFKocfV7TuDYZClCdIP9ckhvAu/ixDtCB6qx2TT0FKjPLf1f3P/J1rgf6lPs64mw==", + "dev": true, "dependencies": { "@types/express": "*" } @@ -330,6 +333,7 @@ "version": "1.4.6", "resolved": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.4.6.tgz", "integrity": "sha512-z3IzaNjdwUC2olLIB5/ITd0/setiaFMLYiZJle7xg5Fe9KWAceil7xszYfHHBtDFYLSgJduS2Ty0P1uJdPDJeA==", + "dev": true, "dependencies": { "cookie": "0.4.1", "cookie-signature": "1.0.6" @@ -342,6 +346,7 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", + "dev": true, "engines": { "node": ">= 0.6" } diff --git a/package.json b/package.json index b2483fa..a0a01db 100644 --- a/package.json +++ b/package.json @@ -6,14 +6,15 @@ "build": "cd Backend && npx tsc" }, "dependencies": { + "@types/argon2": "^0.15.0", "@types/cors": "^2.8.17", "@types/express": "^4.17.21", "@types/jsonwebtoken": "^9.0.6", + "@types/mongoose": "^5.11.97", "@types/nodemailer": "^6.4.14", "@types/otp-generator": "^4.0.2", "@types/ws": "^8.5.10", "argon2": "^0.40.1", - "cookie-parser": "^1.4.6", "cors": "^2.8.5", "dotenv": "^16.4.5", "express": "^4.19.2", @@ -23,5 +24,9 @@ "typescript": "^5.5.3", "ws": "^8.16.0", "zod": "^3.22.4" + }, + "devDependencies": { + "@types/cookie-parser": "^1.4.7", + "cookie-parser": "^1.4.6" } -} \ No newline at end of file +}