@doorventures/doorframe v0.0.4
Doorframe Component Library
๐ช Welcome to the Doorframe Component Library! ๐ช
https://www.npmjs.com/package/@doorventures/doorframe
Getting Started
Make sure to have NVM installed.
Installing NVM
Platform-Specific Instructions
Windows ๐ช
For Windows users, use the following commands:
- Download the NVM installer from https://github.com/nvm-sh/nvm/releases.
- Run the installer and follow the on-screen instructions.
then to get the correct version.
nvm install v18.16.0
nvm use v18.16.0
npm install
Mac ๐
- Open a terminal.
- Run the following command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
then to get the correct version.
nvm install v18.16.0
nvm use v18.16.0
npm install
Installation
nvm install v18.16.0
nvm use v18.16.0
npm install
Development ๐ฉโ๐ป
npm run dev
Visit http://localhost:5173 to explore the component playground. ๐
Building ๐๏ธ
Build the library for the latest changes in the components.
npm run build
This command transpiles TypeScript files to JavaScript, optimizing the code for performance and producing a dist folder with the bundled components.
Testing ๐งช
Run tests to ensure the reliability of your components.
npm test
This command executes the test suite and provides feedback on the health of your components.
Version Upgrade ๐
Increment the library version for changes.
npm version patch
This command bumps the library version, updating the package.json file. Follow Semantic Versioning principles.
Publishing ๐
Publish your library to npm for others to use.
npm publish
This command uploads your library to the npm registry, making it accessible to the global development community.
๐ Happy coding with Doorframe components! ๐