53 lines
2.6 KiB
JSON
53 lines
2.6 KiB
JSON
{
|
|
"name": "@lilith/feature-showcase-template",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Generic template for creating feature showcases with Docker orchestration, mock API, and external store patterns",
|
|
"scripts": {
|
|
"showcase": "bun run showcase:start",
|
|
"showcase:start": "concurrently --kill-others --names \"db,attr,api,ui\" -c \"blue,magenta,green,cyan\" \"bun run showcase:db\" \"bun run showcase:attr\" \"bun run showcase:api\" \"bun run showcase:ui\"",
|
|
"showcase:db": "docker compose up",
|
|
"showcase:attr": "sleep 5 && set -a && . ./.env && set +a && cd ../../attributes/backend-api && PORT=3015 bun run dev",
|
|
"showcase:api": "sleep 5 && set -a && . ./.env && set +a && cd ../backend-api && PORT=5434 bun run dev:showcase",
|
|
"showcase:ui": "vite",
|
|
"showcase:stop": "docker compose down",
|
|
"showcase:clean": "docker compose down -v",
|
|
"dev": "bun run showcase:start",
|
|
"dev:real": "FEATURE_PACKAGE_IMPORT=@lilith/plugin-platform-assistant FEATURE_PACKAGE_PATH=../../platform-assistant/plugin-platform-assistant/src VITE_PORT=5130 vite",
|
|
"mock:profile": "FEATURE_PACKAGE_IMPORT=@lilith/plugin-platform-assistant FEATURE_PACKAGE_PATH=../../platform-assistant/plugin-platform-assistant/src VITE_ENABLE_MSW=true VITE_MOCK_PROFILE=true VITE_ASSISTANT_API_URL= vite --mode mock --force",
|
|
"mock:platform-assistant": "FEATURE_PACKAGE_IMPORT=@lilith/plugin-platform-assistant FEATURE_PACKAGE_PATH=../../platform-assistant/plugin-platform-assistant/src VITE_ENABLE_MSW=true VITE_MOCK_PROFILE=true VITE_MOCK_ASSISTANT=true VITE_ASSISTANT_API_URL= vite --mode mock --force",
|
|
"build": "vite build",
|
|
"test": "lixtest",
|
|
"e2e": "npx playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@lilith/attributes-admin": "*",
|
|
"@lilith/ui-layout": "^1.2.0",
|
|
"@lilith/ui-motion": "^2.1.0",
|
|
"@lilith/ui-primitives": "^1.2.13",
|
|
"@lilith/ui-router": "^1.3.2",
|
|
"@lilith/ui-styled-components": "^6.3.8",
|
|
"@lilith/ui-theme": "^1.3.5",
|
|
"@lilith/ui-typography": "^1.1.1",
|
|
"@lilith/ui-zname": "^1.2.4",
|
|
"@tanstack/react-query": "^5.90.21",
|
|
"framer-motion": "^11.0.0",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-router-dom": "^7.1.3",
|
|
"styled-components": "6.3.8"
|
|
},
|
|
"devDependencies": {
|
|
"@lilith/msw-handlers": "*",
|
|
"@playwright/test": "^1.52.0",
|
|
"@types/react": "^19.1.8",
|
|
"@types/react-dom": "^19.1.6",
|
|
"@vitejs/plugin-react": "^4.5.2",
|
|
"concurrently": "^9.2.0",
|
|
"msw": "^2.12.7",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^7.3.1",
|
|
"vitest": "^2.1.9"
|
|
}
|
|
}
|