This repo contains a set of components.
The exported components are located here:src/periodic-table/index.ts
Use npm build-publish
to build the project.
Use npm publish
to push to npm
Every push triggers a build. If the build is succesfull, a snapshot is pushed to npm, as a tagged package. To use the latest snapshot, type the following command
npm install mat-periodic-table@next
Run npm version minor -m "Upgrade to %s"
to add a tag. Once the tag is pushed, an action will
build the components and push the package to build to npm
This will build and deploy the storybook.
Stories are defined in ./src/stories
npm deploy-storybook
If you have a local version of dash-mp-components
and react-mp-components
, you'll probably
want to use the local version of react-mp-components
for a better development workflow.
Running those commands will tell NPM
to use your local version of react-mp-components
cd <DASH_MP_HOME>
npm link <REACT_MP_HOME>