myob-practice-components

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i myob-practice-components

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

32.7 kB

Total Files

29

Last publish

Collaborators

  • juha.vainola