0.1.11 • Published 2 years ago
@bloom-labs/ui v0.1.11
@bloom-labs/ui
A Svelte component library for the Bloom application
Installation
# NPM
npm i @bloom-labs/ui
# Yarn
yarn add @bloom-labs/ui
Setup
Developing
Once you've installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Everything inside src/lib
is part of library, everything inside src/routes
can be used as a showcase or preview app.
Building
To build library:
npm run package
To create a production version of app:
npm run build
Preview the production build with npm run preview
.
To deploy the app, you may need to install an adapter for the target environment.
Publishing
Consider adding a "license"
field and point it to a LICENSE
file which you can create from a template (one popular option is the MIT license).
To publish your library to npm:
npm publish
Contributing
TODO