LABs/ui
UI components for our lab project
You can see running example: https://twoforce.github.io/labs-ui
Dependencies:
- Node.js
>=
v8;
Up and running
- Install dependencies:
yarn
(ornpm i
); - Run
yarn storybook
(ornpm run storybook
) to storybook onhttp://localhost:6006
- Run
yarn storybook:build
(ornpm run storybook:build
) for docs build (files will be) generated in thedocs
directory) - Run
yarn build
(ornpm run build
) for production build (files will be generated in thedist
directory)
Scripts
-
yarn build (or npm run build)
: Build project to production -
yarn storybook (or npm run storybook)
: Run Storybook on6006
port -
yarn storybook:build
: Build Storybook to static files -
npm run pub
: Publish to npm -
yarn test
: Run all tests -
yarn test:watch
: Run all tests in watch mode -
yarn test:coverage
: Run tests and show the project coverage -
yarn test:ci
: Run tests and generate an output to CI tools
License
MIT © two-force