Features
npm_token
to allow NPM releasespkg
if enabled in the CI fileInstall globally via
npm install -g {NAME}
or directly use via
npx {NAME}
Usage:
Usage: npx {NAME} [options]
Options:
-V, --version output the version number
-s, --small small pizza size
-p, --pizza-type <type> flavour of pizza
-h, --help display help for command
Install the package
npm install {NAME} --save
yarn add {NAME}
Import the package and use it
import {NAME} from '{NAME}'
render(
<{NAME}
myProp={42}
/>
)
yarn
to install dependenciesyarn start
to run in dev modeyarn test
to run testsyarn lint
to test and fix linter errorsTo publish a new version, the publish pipeline can be manually
invoked, or run yarn publish
.