mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-05 11:10:03 +08:00
20 lines
1.0 KiB
JSON
20 lines
1.0 KiB
JSON
{
|
|
"name": "gradio-website",
|
|
"scripts": {
|
|
"build:html": "python build.py",
|
|
"build:css": "postcss src/style.css -o build/style.css && STYLE_FILE=$(jq -r '.\"style.css\"' build/manifest.json) && sed -i \"s/style.css/${STYLE_FILE}/g\" build/*.html && sed -i \"s/style.css/${STYLE_FILE}/g\" build/**/*.html && rm build/manifest.json",
|
|
"build:css-mac": "postcss src/style.css -o build/style.css && STYLE_FILE=$(jq -r '.\"style.css\"' build/manifest.json) && sed -i '' \"s/style.css/${STYLE_FILE}/g\" build/*.html && sed -i '' \"s/style.css/${STYLE_FILE}/g\" build/**/*.html && rm build/manifest.json",
|
|
"build": "npm run build:html && npm run build:css",
|
|
"build-mac": "npm run build:html && npm run build:css-mac"
|
|
},
|
|
"dependencies": {
|
|
"@fullhuman/postcss-purgecss": "^4.0.3",
|
|
"@tailwindcss/typography": "^0.5.4",
|
|
"@tailwindcss/forms": "^0.5.0",
|
|
"autoprefixer": "^10.4.0",
|
|
"cssnano": "^5.0.8",
|
|
"postcss-cli": "^9.0.1",
|
|
"postcss-hash": "^3.0.0",
|
|
"tailwindcss": "^3.0.24"
|
|
}
|
|
} |