@minervaproject/forum-design-system v1.1.1
forum-design-system
This project was created using nwb
.
Prerequisites
From picasso
, run nvm use
.
Installation
Run yarn
.
Storybook and Chromatic
yarn storybook
will run a development server with Storybook at http://localhost:6006 with hot module reloading.
yarn chromatic
will push changes to Chromatic.
Running Tests
Note: we currently do not have any tests.
npm test
will run the tests once.
npm run test:coverage
will run the tests and produce a coverage report in coverage/
.
npm run test:watch
will run the tests on every change.
Building
yarn build
will build the components for publishing to npm.
yarn build:watch
will build whenever there is a change to src
.
yarn clean
will delete built resources.
Publishing
You need an npm account and you need to be part of the @minervaproject org.
npm login
npm publish --access=public
After publishing, you can then use these components in other projects like any other npm package:
yarn add @minervaproject/forum-design-system