MDLIVE's design system
To install and publish a package, you will need a Github personal access token.
- Create a Github *personal access token with access to the
repo,read:packages, andwrite:packagesscopes. - Create or edit your npmrc (
~/.npmrc) replacing TOKEN with your personal access token
@BreakthroughBehavioralInc:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=TOKENPackages are available *here
- Add the following to the
.npmrcin the root of your project
@breakthroughbehavioralinc:registry=https://npm.pkg.github.com- Install the package
npm install @breakthroughbehavioralinc/mdlkitor
yarn add @breakthroughbehavioralinc/mdlkit- Login to the package registry
npm login --registry=https://npm.pkg.github.com- Your username is your github username.
- Your password is your github personal access token.
- Build the package
yarn prepare- Publish!
npm publish