scripts

package
v2.0.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScriptFor

func ScriptFor(plug plugins.Plugin, ctx context.Context, root string, name string) (string, error)

ScriptFor will attempt to find the named script in the package.json file of the application.

func Tool

func Tool(plug plugins.Plugin, ctx context.Context, root string) (string, error)

Tool tries to determine whether to use yarn or npm

func WebpackBin

func WebpackBin(root string) string

WebpackBin returns the location of the webpack binary

Types

This section is empty.

Jump to

Keyboard shortcuts

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