Update package.json
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
sora-ext 2025-02-25 16:08:53 +01:00
parent 3568de823d
commit bfd13fd782

View File

@ -2,11 +2,12 @@
"name": "volp", "name": "volp",
"version": "1.0.0", "version": "1.0.0",
"description": "Open Travel Mapper", "description": "Open Travel Mapper",
"main": "server.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "esbuild src/app.ts --bundle --outfile=public/main.js --tree-shaking=true --bundle --minify --sourcemap --tsconfig=tsconfig.json", "build": "yarn build-server && yarn build-client",
"start": "node server.js", "build-client": "esbuild src/client/main.ts --outfile=public/main.js --tree-shaking=true --bundle --minify --sourcemap --tsconfig=tsconfig-client.json",
"build-server": "esbuild src/server/**/*.ts --outdir=build --platform=node --format=cjs",
"start": "node build/main.js",
"demon": "nodemon -e ts,js,pug --watch src --watch template --watch router --exec \"yarn build && yarn start\"" "demon": "nodemon -e ts,js,pug --watch src --watch template --watch router --exec \"yarn build && yarn start\""
}, },
"repository": { "repository": {
@ -22,9 +23,11 @@
"@prettier/plugin-pug": "^3.0.0", "@prettier/plugin-pug": "^3.0.0",
"@types/node": "^22.13.5", "@types/node": "^22.13.5",
"esbuild": "^0.25.0", "esbuild": "^0.25.0",
"fastify": "^5.0.0", "fastify": "^5.2.1",
"jsdom": "^26.0.0",
"nodemon": "^3.0.1", "nodemon": "^3.0.1",
"prettier": "^3.5.2", "prettier": "^3.5.2",
"pug": "^3.0.2" "pug": "^3.0.2",
"undici": "^7.3.0"
} }
} }