Copies the multi-page demo app (Providers → Packages → Comparison flow) with Zustand basket state, URL sync, and per-slice Vite build config. All pages render correctly on React 19 + MUI v7 with zero code changes needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
96 lines
2.9 KiB
JSON
96 lines
2.9 KiB
JSON
{
|
|
"name": "fa-design-system",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Funeral Arranger Design System — React 19 + MUI v7 + Storybook 9 + Tailwind v3",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./theme": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./tailwind-config": "./tailwind.config.js",
|
|
"./tailwind-tokens": "./src/theme/generated/tailwind-tokens.js",
|
|
"./tokens.css": "./src/theme/generated/tokens.css"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"tailwind.config.js",
|
|
"src/theme/generated/tailwind-tokens.js",
|
|
"src/theme/generated/tokens.css"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc --noEmit && vite build",
|
|
"build:lib": "vite build && tsc -p tsconfig.build.json",
|
|
"preview": "vite preview",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build:storybook": "storybook build",
|
|
"build:tokens": "node style-dictionary/config.js",
|
|
"type-check": "tsc --noEmit",
|
|
"lint": "eslint src/",
|
|
"lint:fix": "eslint src/ --fix",
|
|
"format": "prettier --write 'src/**/*.{ts,tsx}'",
|
|
"format:check": "prettier --check 'src/**/*.{ts,tsx}'",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:watch": "vitest",
|
|
"demo:dev": "vite -c vite.demo.config.ts --mode arrangement",
|
|
"demo:build": "vite build -c vite.demo.config.ts --mode arrangement"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.13.0",
|
|
"@emotion/styled": "^11.13.0",
|
|
"@googlemaps/markerclusterer": "^2.6.2",
|
|
"@mui/icons-material": "^7.0.0",
|
|
"@mui/material": "^7.0.0",
|
|
"@mui/system": "^7.0.0",
|
|
"@vis.gl/react-google-maps": "^1.8.3",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-router-dom": "^7.14.1",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.4",
|
|
"@storybook/addon-a11y": "^9.0.0",
|
|
"@storybook/addon-designs": "^9.0.0-next.3",
|
|
"@storybook/react": "^9.0.0",
|
|
"@storybook/react-vite": "^9.0.0",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^4.3.0",
|
|
"autoprefixer": "^10.4.0",
|
|
"eslint": "^9.39.4",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"jsdom": "^29.0.1",
|
|
"lint-staged": "^16.4.0",
|
|
"postcss": "^8.4.0",
|
|
"prettier": "^3.8.1",
|
|
"storybook": "^9.0.0",
|
|
"style-dictionary": "^4.2.0",
|
|
"tailwindcss": "^3.4.0",
|
|
"typescript": "^5.5.0",
|
|
"typescript-eslint": "^8.57.2",
|
|
"vite": "^5.4.0",
|
|
"vitest": "^4.1.2"
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|