dev #160
13
package.json
13
package.json
@ -2,11 +2,12 @@
|
||||
"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 --tree-shaking=true --bundle --minify --sourcemap --tsconfig=tsconfig.json",
|
||||
"start": "node server.js",
|
||||
"build": "yarn build-server && yarn build-client",
|
||||
"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\""
|
||||
},
|
||||
"repository": {
|
||||
@ -22,9 +23,11 @@
|
||||
"@prettier/plugin-pug": "^3.0.0",
|
||||
"@types/node": "^22.13.5",
|
||||
"esbuild": "^0.25.0",
|
||||
"fastify": "^5.0.0",
|
||||
"fastify": "^5.2.1",
|
||||
"jsdom": "^26.0.0",
|
||||
"nodemon": "^3.0.1",
|
||||
"prettier": "^3.5.2",
|
||||
"pug": "^3.0.2"
|
||||
"pug": "^3.0.2",
|
||||
"undici": "^7.3.0"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user