All checks were successful
continuous-integration/drone/push Build is passing
Change build script to output to public/dist instead of ../backend/web/static/dist. The Dockerfile copies from frontend/public/, so the previous path caused builds to output to a non-existent directory, resulting in stale files being deployed. Also add mkdir -p to dev script for robustness.
29 lines
922 B
JSON
29 lines
922 B
JSON
{
|
|
"name": "aethera",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "mkdir -p public/dist && bun build src/main.ts --outdir public/dist --target browser --watch & bunx tailwindcss -i styles.css -o public/dist/styles.css --watch",
|
|
"build": "bun build src/main.ts --outdir public/dist --target browser && bunx tailwindcss -i styles.css -o public/dist/styles.css --minify",
|
|
"lint": "eslint ./src/**"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/cli": "^4.1.18",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"@types/alpinejs": "^3.13.11",
|
|
"@types/bun": "latest",
|
|
"@typescript-eslint/eslint-plugin": "^8.52.0",
|
|
"@typescript-eslint/parser": "^8.52.0",
|
|
"eslint": "^9.39.2",
|
|
"tailwindcss": "^4.1.18"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5"
|
|
},
|
|
"dependencies": {
|
|
"alpinejs": "^3.15.3",
|
|
"highlight.js": "^11.11.1",
|
|
"marked": "^17.0.1",
|
|
"marked-highlight": "^2.2.3"
|
|
}
|
|
}
|