Need private packages and team management tools?Check out npm Teams »

@patternson/cli

1.3.1 • Public • Published

Patternsoncli Banner

Create, Run and Publish helper for Patternson Libraries.

Install

npm i -g @patternson/cli

Config

There are multiple ways to configure the patternson cli.

Sorted by importance (cli args will overwrite env vars etc.)

command line arguments

patternson <command> --[key]=[value]

environment variables

patternson_[key]=[value] patternson <command>

or

export patternson_[key]=[value]
patternson <command>

.patternsonrc file in any parent folder

[key]=[value]

package.json file of the project

{
  "name": "mylib",
  "patternson": {
    "[key]": "[value]"
  }
}

Options

accessToken

authentication token for patternson registry.
required

name

name of the component library.
defaults to name in package.json

version

version of the library.
defaults to version in package.json

componentsDir

directory where all components can be found.
defaults to src/components

rootDir

root directory of the local library.
defaults to dirname of package.json

registryUrl

http endpoint of the patternson registry.
defaults to the official patternson registry

Contributing

Feel free to send us issues and pull requests.

Install

npm i @patternson/cli

DownloadsWeekly Downloads

0

Version

1.3.1

License

MIT

Unpacked Size

43.7 kB

Total Files

25

Last publish

Collaborators

  • avatar
  • avatar
  • avatar