portal-storybook-test
v0.0.8
Published
This project serves as a Storybook application, providing a comprehensive UI library for the Porals solution. Its primary goal is to develop and document reusable components for the frontend, ensuring a consistent, well-tested and frontend that adhere
Downloads
20
Readme
Portal Storybook application
This project serves as a Storybook application, providing a comprehensive UI library for the Porals solution. Its primary goal is to develop and document reusable components for the frontend, ensuring a consistent, well-tested and
frontend that adhere to the WCAG 2.2AA accessibility guidelines.
It contains the following features:
- Create components in React.js format.
- Unit tests cover all functionality of the components.
- Storybook allows users to preview the components in a sanbox.
- The build process creates a dist file that can be used to publich the package.
- Publish the package to NPM.
Getting started:
To run the storybook application in Development run:
npm run storybook
To build the application and minify it to the dist folder run:
npm run build
To create a "storybook-static" folder that contains the storybook sandbox application run:
npm run build-storybook
To publish the npm package to the NPM registry, you must first increase the version number in the package.json file. Afterwards run:
npm run publish-ui-library