|
|
|
@ -6,7 +6,7 @@ |
|
|
|
"main": "server.ts", |
|
|
|
"bin": "server.js", |
|
|
|
"scripts": { |
|
|
|
"pkg": "tsc && pkg -t node22-linux-x64,node22-win-x64 --out-path ./target ./target/src && node install.js", |
|
|
|
"pkg": "tsc && pkg -t node22-linux-x64,node22-win-x64 --no-bytecode --public-packages \"*\" --public --out-path ./target ./target/src && node install.js", |
|
|
|
"test": "echo \"Error: no test specified\" && exit 1", |
|
|
|
"start": "nodemon --watch '.' --ext 'ts' --exec 'WEB_FOLDER=./target/web ts-node server.ts'", |
|
|
|
"start-prod": "nodemon --watch '.' --ext 'ts' --exec 'WEB_FOLDER=./target/web NODE_ENV=production ts-node server.ts'", |
|
|
|
|