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",
|
|
|
|
"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-24 15:29:04 +00:00
|
|
|
"ws": "^8.18.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/electron": "^1.6.10",
|
|
|
|
"@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",
|
|
|
|
"typescript": "^5.5.4"
|
|
|
|
},
|
|
|
|
"bin": "dist/server.js",
|
|
|
|
"pkg": {
|
|
|
|
"assets": [
|
|
|
|
"public/**/*"
|
|
|
|
],
|
|
|
|
"outputPath": "executables",
|
|
|
|
"targets": [
|
|
|
|
"node18-win-x64"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"description": ""
|
2024-08-25 14:34:21 +00:00
|
|
|
}
|