nodejs

package
v19.10.22+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2019 License: MIT, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageScripts

type PackageScripts struct {
	mg.ReducerType

	// Cmd is the command to run i.e. `yarn` or `npm`
	// if not set and `yarn` in found in $PATH it will be set to `yarn`,
	// otherwise it will be set to `npm`
	Cmd string
}

PackageScripts adds UserCmd entries for each script defined in package.json

func (*PackageScripts) RCond

func (ps *PackageScripts) RCond(mx *mg.Ctx) bool

func (*PackageScripts) RMount

func (ps *PackageScripts) RMount(mx *mg.Ctx)

func (*PackageScripts) Reduce

func (ps *PackageScripts) Reduce(mx *mg.Ctx) *mg.State

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL