Create, Run and Publish helper for Patternson Libraries.
npm i -g @patternson/cli
There are multiple ways to configure the patternson cli.
Sorted by importance (cli args will overwrite env vars etc.)
patternson <command> --[key]=[value]
patternson_[key]=[value] patternson <command>
or
export patternson_[key]=[value]
patternson <command>
[key]=[value]
{
"name": "mylib",
"patternson": {
"[key]": "[value]"
}
}
authentication token for patternson registry.
required
name of the component library.
defaults to name
in package.json
version of the library.
defaults to version
in package.json
directory where all components can be found.
defaults to src/components
root directory of the local library.
defaults to dirname of package.json
http endpoint of the patternson registry.
defaults to the official patternson registry
Feel free to send us issues and pull requests.