package_json

package
v1.7.37 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultNodeVersion = "6"
	PackageJson        = "package.json"
)

Variables

This section is empty.

Functions

func GetNodeFromPackageJSON

func GetNodeFromPackageJSON(pkgJSONPath string, logger logger) (string, error)

Types

type Engines

type Engines struct {
	Node string `json:"node"`
}

type PackageJSON

type PackageJSON struct {
	Engines Engines `json:"engines"`
}

Jump to

Keyboard shortcuts

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