项目初始化

This commit is contained in:
Stev_Wang
2025-12-22 23:51:21 +08:00
commit 4a97b964ac
64 changed files with 8371 additions and 0 deletions

48
backend/package.json Normal file
View File

@@ -0,0 +1,48 @@
{
"name": "game-operation-platform-backend",
"version": "1.0.0",
"description": "Game operation platform backend API",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "concurrently \"tsc --watch\" \"nodemon -q dist/index.js\"",
"typeorm": "ts-node ./node_modules/typeorm/cli.js",
"init:admin": "ts-node src/scripts/initAdmin.ts"
},
"keywords": [
"game",
"operation",
"platform",
"backend"
],
"author": "",
"license": "MIT",
"dependencies": {
"axios": "^1.13.2",
"bcryptjs": "^2.4.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.2",
"mysql2": "^3.9.7",
"typeorm": "^0.3.17"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/chai": "^5.2.3",
"@types/cors": "^2.8.17",
"@types/deep-eql": "^4.0.2",
"@types/estree": "^1.0.8",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.5",
"@types/node": "^20.10.5",
"concurrently": "^9.2.1",
"nodemon": "^3.1.11",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.3.3"
}
}