Files
dss/admin-ui/package.json
DSS 5844a277bb
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
fix: Configure Vite for nginx reverse proxy
- Add --host flag to bind to all interfaces
- Add __VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS env var for external domain
- Configure allowedHosts in vite.config.ts
- Remove duplicate vite.config.js (was overriding .ts config)
- Enable IPv4 binding for nginx proxy compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 23:07:36 -03:00

43 lines
1.3 KiB
JSON

{
"name": "dss-admin-ui",
"version": "2.0.0",
"description": "DSS Admin UI - Design System Server Management",
"private": true,
"type": "module",
"scripts": {
"dev": "__VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS=dss.overbits.luz.uy vite --host",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest",
"test:watch": "vitest --watch",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"test:debug": "vitest --inspect-brk --inspect-port=9229 --no-coverage",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"dependencies": {
"preact": "^10.19.0",
"@preact/signals": "^1.2.0"
},
"devDependencies": {
"@preact/preset-vite": "^2.8.0",
"@testing-library/preact": "^3.2.0",
"@types/node": "^20.10.0",
"typescript": "^5.3.0",
"vite": "^5.0.0",
"vite-plugin-pwa": "^0.17.0",
"vitest": "^1.0.0",
"workbox-window": "^7.0.0",
"storybook": "^10.1.6",
"@storybook/html-vite": "^10.1.6",
"@chromatic-com/storybook": "^4.1.3",
"@storybook/addon-vitest": "^10.1.6",
"@storybook/addon-a11y": "^10.1.6",
"@storybook/addon-docs": "^10.1.6",
"playwright": "^1.57.0",
"@vitest/browser": "^1.0.0",
"@vitest/coverage-v8": "^1.0.0"
}
}