dev (#160)
Some checks failed
continuous-integration/drone/push Build is failing

Co-authored-by: sora-ext
Co-authored-by: soraefir
Reviewed-on: #160
This commit is contained in:
2025-03-02 01:09:29 +01:00
parent 977751d517
commit aee79aac75
67 changed files with 6060 additions and 5661 deletions

View File

@ -2,12 +2,14 @@
"name": "volp",
"version": "1.0.0",
"description": "Open Travel Mapper",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "esbuild src/app.ts --bundle --outfile=public/main.js --bundle --minify --sourcemap --tsconfig=tsconfig.json",
"start": "node server.js",
"demon": "nodemon -e ts,pug --watch src --exec \"yarn build && yarn start\""
"build": "yarn build-server && yarn build-client && yarn build-style",
"build-style": "esbuild src/style/index.css --outfile=public/index.css --bundle --minify ",
"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 --watch src --watch template --watch router --exec \"yarn build && yarn start\""
},
"repository": {
"type": "git",
@ -19,14 +21,13 @@
"@fastify/leveldb": "^6.0.0",
"@fastify/static": "^8.0.0",
"@fastify/view": "^10.0.0",
"@prettier/plugin-pug": "^3.0.0",
"@types/node": "^22.13.5",
"axios": "^1.7.9",
"esbuild": "^0.25.0",
"fastify": "^5.0.0",
"fastify": "^5.2.1",
"jsdom": "^26.0.0",
"nodemon": "^3.0.1",
"pretier": "^0.0.1",
"prettier": "^3.5.2",
"pug": "^3.0.2"
"pug": "^3.0.2",
"undici": "^7.3.0"
}
}