Documentation ¶
Overview ¶
Package target exposes npm targets that can be imported in magefile using import syntax. For more low level usage the npm package should be preferred.
Index ¶
- Variables
- type Npm
- func (Npm) Audit(ctx context.Context) error
- func (Npm) Build(ctx context.Context) error
- func (Npm) CleanBuild(ctx context.Context)
- func (Npm) CleanInstall(ctx context.Context) error
- func (Npm) Install(ctx context.Context) error
- func (Npm) Lint(ctx context.Context) error
- func (Npm) Start(ctx context.Context) error
- func (Npm) Test(ctx context.Context) error
- func (Npm) TypeCheck(ctx context.Context) error
- func (Npm) Update(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var NpmCmd = npm.NewCmd()
Functions ¶
This section is empty.
Types ¶
type Npm ¶
func (Npm) CleanBuild ¶
CleanBuild executes clean-install before build script
func (Npm) CleanInstall ¶
CleanInstall does clean install on npm dependencies
Click to show internal directories.
Click to hide internal directories.