1.0.2 • Published 3 years ago
@matoruru/animal v1.0.2
animal
Installation
yarn
$ yarn global add @matoruru/animal
npm
$ npm install -g @matoruru/animal
Usage
$ animal -h
How I published this as a scoped package
Clone the repo:
git clone git@github.com:matoruru/animal
and 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 login
to log in on registry.npmjs.org.Run
npm publish --access public
to publish the package.