@vadistic/pika-plugin-publish-config
v0.5.0
Published
Personal @vadistic configs
Downloads
5,389
Readme
@vadisitc/pika-plugin-publish-config
Pika plugin for private / publishConfig package.json fields
What it does
With @pika only pkg
dir should be published.
Set
"private": true
inpackage.json
- to prevent accidental publishing of wrong directory.Add "publishConfig": {"access": "public"} - with aditional fields like "registry configurable via options
Installation
$ yarn add -D @vadistic/pika-plugin-publish-config
Usage
"@pika/pack": {
"pipeline": [
[
"@pika/plugin-standard-pkg",
],
[
"@vadistic/pika-plugin-publishConfig",
{
// use eg. github registry
"registry": "https://npm.pkg.github.com"
}
],
]
}