Files
FuneralArranger/package.json
Richie 1baa55c417 Add library build pipeline and token alignment report
- Configure Vite library mode to export MUI theme as plain JS
- Add tsconfig.build.json for declaration generation
- Add package.json exports for theme, Tailwind config, and tokens
- Create src/index.ts as library entry point
- Document token alignment between design system and production
  including colour mapping, flagged conflicts, and breakpoint alignment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-22 13:32:45 +10:00

94 lines
2.8 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"
},
"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"
]
}
}