1.0.0 • Published 4 years ago

myob-practice-components v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

MYOB Practice components library

MYOB Practice specific shared code library

Getting started

Commands

  • npm start -> runs your components in Storybook and watch for changes
  • npm test -> runs your the components tests
  • npm run clean -> cleans up the build directories
  • npm run lint -> runs the linter on the Javascript code
  • npm run format -> runs code style checks on code, styles, json and fix them
  • npm run type-check -> type checks any Typescript code
  • npm run build -> produces a production ready artifact containing the components
  • npm run build-storybook -> builds the storybook web pages for deployment / hosting
  • npm run release -> build and deploy the components as a NPM package

Storybook

Up to date storybook can be found here: https://myob-technology.github.io/myob-practice-components

Regression tests

Pushing to master branch will do the following:

  • Build static representation of storybook (build-storybook)
  • Upload snapshots of storybook to percy (percy-storybook)

Percy builds can be found here: https://percy.io/MYOB-Spike/myob-practice-components.

Percy build results are also connected to slack channel #myob-practice-components.

Contributing

Refer to our contribution guide