{ "name": "gradio-website", "scripts": { "build:setup": "mkdir -p dist generated", "build:html": "python render_html.py && html-minifier --input-dir generated --output-dir dist --file-ext html --remove-comments --collapse-whitespace --minify-js true", "build:css": "postcss src/style.css -o dist/style.css && python replace_style_names.py", "build:assets": "cp -R src/assets/. dist/assets/", "build": "npm run build:setup && npm run build:html && npm run build:css && npm run build:assets", "start": "npm run build && chokidar 'src/**' '../guides/*' -c 'echo '{path}' && if [[ {path} =~ ^src/.*.html ]]; then npm run build:html && npm run build:css; elif [[ {path} =~ ^../guides/.* ]]; then npm run build:html && npm ; elif [[ {path} =~ ^src/.*.css ]]; then npm run build:html && npm run build:css; elif [[ {path} =~ ^src/assets/.* ]]; then npm run build:assets; fi; echo 0 ' " }, "dependencies": { "@fullhuman/postcss-purgecss": "^4.0.3", "@tailwindcss/typography": "^0.4.1", "autoprefixer": "^10.4.0", "chokidar-cli": "^3.0.0", "cssnano": "^5.0.8", "html-minifier": "^4.0.0", "postcss-cli": "^9.0.1", "postcss-hash": "^3.0.0", "tailwindcss": "^2.2.19" } }