Added all necessary dependencies & created the start & dev script

This commit is contained in:
Mathias Wagner 2022-06-26 17:02:26 +02:00
parent d4baa39c82
commit ea89af3224
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -4,6 +4,8 @@
"description": "The backend of the CrazyAddons project", "description": "The backend of the CrazyAddons project",
"main": "app.js", "main": "app.js",
"scripts": { "scripts": {
"start": "node app.js",
"dev": "nodemon app.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"repository": { "repository": {
@ -19,5 +21,23 @@
"bugs": { "bugs": {
"url": "https://github.com/CrazyAddonsMC/Backend/issues" "url": "https://github.com/CrazyAddonsMC/Backend/issues"
}, },
"homepage": "https://crazyaddons.app" "homepage": "https://crazyaddons.app",
"dependencies": {
"bcrypt": "^5.0.1",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-fileupload": "^1.4.0",
"express-rate-limit": "^6.4.0",
"joi": "^17.6.0",
"joi-extension-semver": "^5.0.0",
"mmmagic": "^0.5.3",
"mongoose": "^6.4.0",
"semver": "^7.3.7",
"ws": "^8.8.0",
"ws-heartbeat": "^1.2.0"
},
"devDependencies": {
"nodemon": "^2.0.18"
}
} }