OTM/package.json
sora aee79aac75
Some checks failed
continuous-integration/drone/push Build is failing
dev (#160)
Co-authored-by: sora-ext
Co-authored-by: soraefir
Reviewed-on: #160
2025-03-02 01:09:29 +01:00

34 lines
1.3 KiB
JSON

{
"name": "volp",
"version": "1.0.0",
"description": "Open Travel Mapper",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"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",
"url": "git@git.helcel.net:sora/otm.git"
},
"author": "",
"license": "ISC",
"dependencies": {
"@fastify/leveldb": "^6.0.0",
"@fastify/static": "^8.0.0",
"@fastify/view": "^10.0.0",
"@types/node": "^22.13.5",
"esbuild": "^0.25.0",
"fastify": "^5.2.1",
"jsdom": "^26.0.0",
"nodemon": "^3.0.1",
"prettier": "^3.5.2",
"pug": "^3.0.2",
"undici": "^7.3.0"
}
}