- Use curl with -L flag for proper redirect handling - Remove duplicate scripts section - Clean up npm dependency management
15 lines
608 B
JSON
15 lines
608 B
JSON
{
|
|
"name": "bookmann",
|
|
"version": "1.0.0",
|
|
"description": "A self-hosted ebook management system",
|
|
"scripts": {
|
|
"build:css": "tailwindcss -i ./cmd/server/static/input.css -o ./cmd/server/static/style.css --watch",
|
|
"build:css:prod": "tailwindcss -i ./cmd/server/static/input.css -o ./cmd/server/static/style.css --minify",
|
|
"postinstall": "mkdir -p cmd/server/static && curl -L https://unpkg.com/htmx.org@1.9.10/dist/htmx.min.js -o cmd/server/static/htmx.min.js"
|
|
},
|
|
"devDependencies": {
|
|
"tailwindcss": "^3.4.0",
|
|
"autoprefixer": "^10.4.0",
|
|
"@tailwindcss/forms": "^0.5.7"
|
|
}
|
|
} |