Files
slm-design/examples/react-vite/package.json
2026-08-10 19:13:20 +03:00

44 lines
1.2 KiB
JSON

{
"name": "react-vite",
"private": true,
"version": "0.0.0",
"description": "Lightweight SLM React storefront for the Demo Simple API",
"type": "module",
"scripts": {
"codegen:simple-rest-api": "npx @gromlab/api-codegen@5.1.0 -i ../demo-backend/openapi/simple.json -o src/infra/simple-rest-api/generated",
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "oxlint",
"typecheck": "tsc -b",
"test": "vitest run",
"test:watch": "vitest",
"check": "npm run lint && npm run typecheck && npm run test && npm run build",
"preview": "vite preview"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"clsx": "^2.1.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-router-dom": "^7.18.2",
"swr": "^2.5.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.3",
"@types/node": "^24.13.3",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.4",
"jsdom": "^30.0.1",
"oxlint": "^1.75.0",
"typescript": "~6.0.2",
"vite": "^8.2.0",
"vitest": "^4.1.10"
}
}