yarn

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package yarn contains yarn related mage targets.

Index

Constants

This section is empty.

Variables

View Source
var (
	// NpmToken to be added to npm config in order to access private packages. Optional.
	NpmToken string
	// Cwd is the current working directory. Optional.
	Cwd = "web"
	// TestCmd is the test subcommand to be executed.
	TestCmd = "test --watchAll=false"
	// LintCmd is the lint subcommand to be executed.
	LintCmd = "lint"
)

Functions

This section is empty.

Types

type Yarn

type Yarn mg.Namespace

Yarn groups yarn related targets.

func (Yarn) Install

func (y Yarn) Install() error

Install runs the yarn install subcommand.

func (Yarn) Lint

func (y Yarn) Lint() error

Lint runs the yarn lint subcommand.

func (Yarn) Test

func (y Yarn) Test() error

Test runs the yarn test subcommand.

Jump to

Keyboard shortcuts

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