1.0.2 • Published 5 years ago
@matoruru/animal v1.0.2
animal
Installation
yarn
$ yarn global add @matoruru/animalnpm
$ npm install -g @matoruru/animalUsage
$ animal -hHow I published this as a scoped package
Clone the repo:
git clone git@github.com:matoruru/animaland thencd animal.Run
npm init --scope=@matoruru.This will show the prompts to initialize your package.
$ npm init --scope=@matoruru This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sensible defaults. See `npm help init` for definitive documentation on these fields and exactly what they do. Use `npm install <pkg>` afterwards to install a package and save it as a dependency in the package.json file. Press ^C at any time to quit. package name: (@matoruru/animal)Run
npm loginto log in on registry.npmjs.org.Run
npm publish --access publicto publish the package.