darkwatch/server/package.json
Aaron Wood be38cdc3dc feat: replace better-sqlite3 with mysql2 connection pool
Removes better-sqlite3 and its types, installs mysql2 (async MariaDB
driver) along with jsonwebtoken, bcrypt, cookie-parser, and dotenv.
Rewrites db.ts to export a mysql2 connection pool pointed at the
Darkwatch MariaDB instance (port 3307).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 23:53:40 -04:00

29 lines
665 B
JSON

{
"name": "shadowdark-server",
"private": true,
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js"
},
"dependencies": {
"bcrypt": "^6.0.0",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^17.4.1",
"express": "^4.21.2",
"jsonwebtoken": "^9.0.3",
"mysql2": "^3.22.0",
"socket.io": "^4.8.1"
},
"devDependencies": {
"@types/bcrypt": "^6.0.0",
"@types/cookie-parser": "^1.4.10",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/jsonwebtoken": "^9.0.10",
"tsx": "^4.19.0",
"typescript": "^5.7.0"
}
}