🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@patternson/cli

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patternson/cli

command line interface for patternson

latest
Source
npmnpm
Version
1.3.1
Version published
Weekly downloads
1
-96%
Maintainers
3
Weekly downloads
 
Created
Source

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.

Keywords

cli

FAQs

Package last updated on 02 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts