Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasPackage ¶
HasPackage check if directory given has package.json file
func HasPackageLock ¶
HasPackageLock check if directory given has package-lock.json file
func NpmInstall ¶
func NpmInstall(packageFile string, opts tools.ContainerOptions) error
NpmInstall must be use to install package using npm
Types ¶
type NodeNpm ¶
type NodeNpm struct {
ContainerOpts tools.ContainerOptions
}
NodeNpm struct
func NewNodeNpm ¶
NewNodeNpm load viper parameters to ContainerOpts struct
Click to show internal directories.
Click to hide internal directories.