- Install @schedule-x/{calendar,react,theme-default,event-modal,events-service}@4.x
- Install temporal-polyfill@0.3.2 and lucide-react@1.17.0
- Create src/styles/tokens.css: all color/spacing/typography/breakpoint tokens
plus --sx-color-* Schedule-X overrides mapped to project tokens
- Create src/styles/tokens.ts: TypeScript mirror of token values for inline styles
- Create src/styles/index.css: imports tokens.css + minimal global reset
- Update main.tsx: Temporal polyfill first, then SX theme CSS, then styles/index.css
39 lines
993 B
JSON
39 lines
993 B
JSON
{
|
|
"name": "@familysync/pwa",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@schedule-x/calendar": "4.6.0",
|
|
"@schedule-x/event-modal": "4.6.0",
|
|
"@schedule-x/events-service": "4.6.0",
|
|
"@schedule-x/react": "4.1.0",
|
|
"@schedule-x/theme-default": "4.6.0",
|
|
"@tanstack/react-query": "5.101.0",
|
|
"ical.js": "2.2.1",
|
|
"lucide-react": "1.17.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"temporal-polyfill": "0.3.2",
|
|
"zustand": "5.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^4.3.0",
|
|
"jsdom": "^26.1.0",
|
|
"typescript": "^5.5.0",
|
|
"vite": "8.0.16",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|