Publish package to NPM.
$ yarn add --dev @start/plugin-lib-npm-publish
# or
$ npm install --save-dev @start/plugin-lib-npm-publish
npmPublish(packagePath: string, options?: {})
Relative path to package, .
by default.
Default:
{
registry: 'https://registry.npmjs.org/'
}
import npmPublish from '@start/plugin-npm-plugin-lib-npm-publish'
export task = (packageName) => npmPublish(`packages/${packageName}`)