Files
wizarr/app/static/package.json
RicoUHD a378d76683 fix: resolve White Screen of Death (WSOD) by serving external assets from clean vendor directories
- Relocated Alpine.js, HTMX, Flowbite, Bowser, Inapp-spy, and Animate.css assets out of node_modules into safe vendor folders during build.
- Created cross-platform Node.js copy-assets.js script to copy required front-end packages.
- Updated base.html template to serve assets from secure vendor folders instead of node_modules and fixed Alpine plugin loading order.
- Modified .gitignore to ignore portable local development tools and compiled vendor assets.
2026-05-25 14:14:59 +02:00

31 lines
832 B
JSON

{
"name": "wizarr",
"version": "1.0.0",
"description": "Wizarr",
"scripts": {
"build:css": "npx @tailwindcss/cli -i src/style.css -o css/main.css",
"watch:css": "npx @tailwindcss/cli -i src/style.css -o css/main.css --watch",
"build:js": "node copy-assets.js",
"build": "npm run build:css && npm run build:js"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@tailwindcss/cli": "^4.2.2",
"@tailwindcss/typography": "^0.5.19",
"tailwindcss": "^4.2.1"
},
"dependencies": {
"@alpinejs/collapse": "^3.15.9",
"alpinejs": "^3.15.10",
"animate.css": "^4.1.1",
"bowser": "^2.13.1",
"flowbite": "^4.0.1",
"htmx-ext-preload": "^2.1.2",
"htmx.org": "^2.0.8",
"inapp-spy": "^5.0.9",
"sortablejs": "^1.15.7",
"tiny-markdown-editor": "^0.2.25"
}
}