SDServer/package.json

66 lines
1.4 KiB
JSON
Raw Permalink Normal View History

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": {
2024-08-30 07:37:33 +00:00
"start": "cross-env NODE_ENV=dev electron .",
"build": "cross-env NODE_ENV=prod tsc && npm run copyfiles",
"copyfiles": "copyfiles -u 1 src/electron/index.html dist/ && copyfiles -u 1 src/electron/index.css dist/ && copyfiles -u 1 shared/jsons/* dist/shared",
2024-08-26 09:22:51 +00:00
"buildexe": "npm run build && electron-builder",
2024-08-24 15:29:04 +00:00
"watch": "nodemon"
},
"build": {
"appId": "SDServer",
2024-08-30 07:37:33 +00:00
"productName": "SDServer",
2024-08-24 15:29:04 +00:00
"files": [
"dist/**/*",
"node_modules/**/*",
2024-08-30 07:37:33 +00:00
"package.json",
".env.prod"
2024-08-24 15:29:04 +00:00
],
"directories": {
"output": "release"
2024-08-30 07:54:25 +00:00
},
"extraFiles": [
{
"from": "shared",
"to": "resources/shared"
}
]
2024-08-24 15:29:04 +00:00
},
"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",
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",
2024-08-30 07:37:33 +00:00
"cross-env": "^7.0.3",
2024-08-24 15:29:04 +00:00
"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
}