50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"name": "dms-backend",
|
|
"version": "0.8.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "src/index.js",
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "nodemon --watch src src/index.js",
|
|
"dev:desktop": "node --watch src/index.js",
|
|
"start": "node src/index.js",
|
|
"lint": "eslint . --ext .js",
|
|
"lint:fix": "eslint . --ext .js --fix",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"test:watch:coverage": "jest --watch --coverage",
|
|
"health": "node -e \"fetch('http://localhost:'+ (process.env.BACKEND_PORT||3001) +'/health').then(r=>r.text()).then(console.log).catch(e=>{console.error(e);process.exit(1)})\"",
|
|
"postinstall": "node -e \"console.log('Installed dms-backend %s','0.6.0')\""
|
|
},
|
|
"dependencies": {
|
|
"bcrypt": "5.1.1",
|
|
"bcryptjs": "^2.4.3",
|
|
"cookie-parser": "^1.4.7",
|
|
"cors": "2.8.5",
|
|
"dotenv": "16.4.5",
|
|
"express": "^4.21.2",
|
|
"express-rate-limit": "7.4.0",
|
|
"helmet": "7.1.0",
|
|
"jsonwebtoken": "9.0.2",
|
|
"mariadb": "3.3.1",
|
|
"morgan": "^1.10.1",
|
|
"multer": "^2.0.2",
|
|
"mysql2": "^3.11.0",
|
|
"sequelize": "6.37.3",
|
|
"winston": "^3.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "^3.1.10",
|
|
"eslint": "^8.56.0",
|
|
"prettier": "^3.1.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"jest": "^29.7.0",
|
|
"supertest": "^6.3.4"
|
|
}
|
|
}
|