diff --git a/package.json b/package.json index 019efc2..46ffec5 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "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", + "build": "esbuild src/app.ts --bundle --outfile=public/main.js --tree-shaking=true --bundle --minify --sourcemap --tsconfig=tsconfig.json", "start": "node server.js", - "demon": "nodemon -e ts,pug --watch src --exec \"yarn build && yarn start\"" + "demon": "nodemon -e ts,js,pug --watch src --watch template --watch router --exec \"yarn build && yarn start\"" }, "repository": { "type": "git", @@ -21,11 +21,9 @@ "@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", "nodemon": "^3.0.1", - "pretier": "^0.0.1", "prettier": "^3.5.2", "pug": "^3.0.2" }