la-casa-del-libro
v1.0.11
Published
## Description
Downloads
17
Readme
la-casa-del-libro
Description
UI component library project developed with Svelte 4, using Vite as the bundler and Storybook 8 for component documentation and visualization.
Available Scripts
npm run dev
Starts the development server using Vite.npm run build
Builds the project for production.npm run check
Runssvelte-checkto verify code and types with TypeScript.npm run test
Placeholder script for tests. No tests defined yet.npm run storybook
Starts Storybook in development mode to document and visually test components.npm run build-storybook
Builds the static production version of Storybook.npm run types
Compiles TypeScript types (runstsc).npm run build:lib
Runs type compilation and production build (combinestypesandbuild).
Project Configuration
- Main entry:
./dist/index.js - ES module:
./dist/index.js - Type definitions:
./dist/index.d.ts - Svelte entry point:
./src/index.ts
Main Dependencies and DevDependencies
- Svelte 4
- Vite (bundler and dev server)
- Storybook 8 for Svelte with essential addons
- TypeScript with Svelte-specific configuration
- Sass for styles
- Prettier and prettier-plugin-svelte for code formatting
- Autoprefixer and postcss-load-config for CSS processing
- Vitest for testing (tests not configured yet)
- Playwright for e2e testing (tests not configured yet)
Notes
- The project uses ES Modules (
"type": "module"in package.json). - CSS processing uses PostCSS with Autoprefixer.
- Storybook is configured to work with Vite and Svelte.
- Components are distributed in the
distfolder with support for types and ES modules.
How to Contribute
- Clone the repository.
- Run
npm installto install dependencies. - Use
npm run devfor local development. - Use
npm run storybookto work with components visually. - Before pushing changes, run
npm run checkto verify types. - Add tests and documentation in Storybook for new components.
License
ISC
Author
Not specified
