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/uiSetup
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 -- --openEverything 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 packageTo create a production version of app:
npm run buildPreview 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 publishContributing
TODO