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:packages
scopes. - 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=TOKEN
Packages are available *here
- Add the following to the
.npmrc
in the root of your project
@breakthroughbehavioralinc:registry=https://npm.pkg.github.com
- Install the package
npm install @breakthroughbehavioralinc/mdlkit
or
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