alves-material-font
v0.0.4
Published
Foodji Design System implementation using Web Components (`lit`) with Storybook support for component documentation.
Readme
Foodji UI components
Foodji UI is a project based on Web Components using the lit library. It also supports Storybook for component documentation and interactive testing.
🛠 Technologies used
- Lit - Library for creating Web Components
- Storybook - Tool for documenting components
- TypeScript - Strongly typed programming language
📦 Installation
To install the project dependencies, run the following command:
npm i📜 Available scripts
Wireit coordinates the execution of scripts, ensuring that the dependencies between commands are followed. For example, before running Storybook, the compilation process (which includes building TypeScript, converting CSS to TS and processing SASS) needs to be completed. The project includes the following:
storybook: Runs Storybook on port 6006, with build dependency to be run first.npm run storybookbuild-storybook: Build Storybook for production.npm run build-storybookbuild: Runs the build process with Wireit, orchestrating other commands such as TypeScript compilation.npm run buildbuild:ts: Compiles TypeScript files to JavaScript.npm run build:tsbuild:css-to-ts: Converts .css files into TypeScript modules.npm run build:css-to-tsbuild:sass: Compile SASS files to minified CSS.npm run build:sassbuild:scripts: Build specific scripts with a separate tsconfig.npm run build:scriptsbuild:watch: Build TypeScript in watch mode.npm run build:watchtest: Run tests (currently not implemented).npm run test
