Design system for Mattilsynet
Opening in storybook
When you have cloned this repo to your computer, you can run the following commands, to view the project in StorybookJS.
npm install
npm run storybook
// also run in other terminal to build sass
npm run start
Installation and usage
Install the design system from npm into your project, you can run the following command:
npm i --save @mattilsynet/designsystem
Building and deploy to npm
You can run the following command to build the scss into css files, and deploy package to npm:
npm run build
npm publish