33 lines
1.3 KiB
JSON
33 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,css --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"
|
|
}
|
|
} |