| Package | Description |
|---|---|
@smartcompanion/ui |
Stencil v4 web components — image-slideshow, marquee, numpad, player-controls, station-icon |
@smartcompanion/data |
Domain models and data layer — assets, languages, pins, servers, stations, text, tours |
@smartcompanion/services |
Service layer — AudioPlayerService, MenuService, RoutingService |
npm install # Install all workspace dependencies
npm run build # Build all packages
npm test # Run tests for all packagesnpm run build -w packages/data # Compile TypeScript to dist/
npm run test -w packages/data # Run Vitest tests
npm run lint -w packages/data # Lint source files
npm run format -w packages/data # Format source files with Prettiernpm run build -w packages/services # Compile TypeScript to dist/
npm run test -w packages/services # Run Vitest tests
npm run lint -w packages/services # Lint source files
npm run format -w packages/services # Format source files with PrettierUI components are developed in isolation with Storybook.
npm run build -w packages/ui # Compile Stencil components
npm run test -w packages/ui # Run Vitest and Playwright browser tests
npm run watch -w packages/ui # Stencil watch mode
npm run storybook -w packages/ui # Dev server at http://localhost:6006The SmartCompanion Library Packages are licensed under the terms of the BSD 2-Clause license. Check the LICENSE text for further details.