Documentation
¶
Overview ¶
Package npm handles the creation of artefacts required for publishing the oto generate package
Index ¶
Constants ¶
View Source
const ( // NPMPackageMain is an arbitrary output name for client NPMPackageMain = "client.js" // NPMRegistry is the default registry url for most JS projects. NPMRegistry = "//registry.npmjs.org/" // GithubRegistry is the NPM registry url Github uses GHRegistry = "//npm.pkg.github.com/" )
Variables ¶
This section is empty.
Functions ¶
func GeneratePackageInfo ¶
GeneratePackageInfo validates that all Package fields are present and returns the marshalled bytes of the package json
func Publish ¶
func Publish(path string, options PublishOptions) error
Types ¶
Click to show internal directories.
Click to hide internal directories.