2024-08-24 15:29:04 +00:00
|
|
|
{
|
|
|
|
"name": "sdserver",
|
|
|
|
"version": "1.0.0",
|
2024-08-25 14:34:21 +00:00
|
|
|
"main": "dist/electron/main.js",
|
2024-08-24 15:29:04 +00:00
|
|
|
"scripts": {
|
|
|
|
"start": "electron .",
|
2024-08-25 14:34:21 +00:00
|
|
|
"build": "tsc && copyfiles -u 1 src/electron/index.html dist/ && copyfiles -u 1 src/electron/index.css dist/",
|
2024-08-24 15:29:04 +00:00
|
|
|
"pack": "electron-packager . SDServer --platform=win32 --arch=x64 --out=dist/",
|
|
|
|
"buildexe": "npx electron-builder",
|
2024-08-26 08:44:51 +00:00
|
|
|
"api": "tsrpc-cli proto && tsrpc-cli api",
|
2024-08-24 15:29:04 +00:00
|
|
|
"watch": "nodemon"
|
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"appId": "SDServer",
|
|
|
|
"files": [
|
|
|
|
"dist/**/*",
|
|
|
|
"node_modules/**/*",
|
|
|
|
"package.json"
|
|
|
|
],
|
|
|
|
"directories": {
|
|
|
|
"output": "release"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-08-25 14:34:21 +00:00
|
|
|
"dayjs": "^1.11.13",
|
|
|
|
"dotenv": "^16.4.5",
|
2024-08-26 08:44:51 +00:00
|
|
|
"module-alias": "^2.2.3",
|
|
|
|
"tsrpc": "^3.4.16",
|
2024-08-24 15:29:04 +00:00
|
|
|
"ws": "^8.18.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/node": "^22.5.0",
|
|
|
|
"@types/ws": "^8.5.12",
|
|
|
|
"copyfiles": "^2.4.1",
|
|
|
|
"electron": "^32.0.1",
|
|
|
|
"electron-builder": "^24.7.0",
|
|
|
|
"electron-packager": "^17.1.2",
|
|
|
|
"nodemon": "^3.1.4",
|
|
|
|
"ts-node": "^10.9.2",
|
2024-08-26 08:44:51 +00:00
|
|
|
"tsrpc-cli": "^2.4.5",
|
2024-08-24 15:29:04 +00:00
|
|
|
"typescript": "^5.5.4"
|
|
|
|
},
|
2024-08-26 08:44:51 +00:00
|
|
|
"_moduleAliases": {
|
|
|
|
"@": "dist"
|
|
|
|
},
|
2024-08-24 15:29:04 +00:00
|
|
|
"bin": "dist/server.js",
|
|
|
|
"pkg": {
|
|
|
|
"assets": [
|
|
|
|
"public/**/*"
|
|
|
|
],
|
|
|
|
"outputPath": "executables",
|
|
|
|
"targets": [
|
|
|
|
"node18-win-x64"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"description": ""
|
2024-08-26 08:44:51 +00:00
|
|
|
}
|