node

package
v0.2.0-rc.21 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = struct {
	Paths config.PathConfig
}{}

Functions

func DetectNodeProject

func DetectNodeProject(projectDir string) bool

DetectNodeProject checks if the target directory is a java project

Types

type BuildActionStruct

type BuildActionStruct struct{}

Action implementation

func (BuildActionStruct) Check

Check will evaluate if this action can be executed for the specified project

func (BuildActionStruct) Execute

func (action BuildActionStruct) Execute(ctx api.ActionExecutionContext)

Execute will run the action

func (BuildActionStruct) GetDetails

GetDetails returns information about this action

type PackageStruct

type PackageStruct struct {
	Name         string
	Version      string
	Dependencies map[string]string
	Scripts      map[string]string
}

func ParsePackageJSON

func ParsePackageJSON(file string) PackageStruct

ParsePackageJSON will parse the package.json to evaluate its content

Jump to

Keyboard shortcuts

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