JavaScript Requirements
Specify which JavaScript packages should be available in order to run the component.
Example:
setup:
- type: javascript
npm: packagename
git: "https://some.git.repository/org/repo"
github: "owner/repository"
url: "https://github.com/org/repo/archive/HEAD.zip"
git
Type: String
/ List of String
Default: Empty
Specifies which packages to install using a Git URI.
Example:
git: [ https://some.git.repository/org/repo ]
github
Type: String
/ List of String
Default: Empty
Specifies which packages to install from GitHub.
Example:
github: [ owner/repository ]
npm
Type: String
/ List of String
Default: Empty
Specifies which packages to install from npm.
Example:
npm: [ packagename ]
packages
Type: String
/ List of String
Default: Empty
Specifies which packages to install from npm.
Example:
packages: [ packagename ]
type
Type: String
Specifies the type of the requirement specification.
url
Type: String
/ List of String
Default: Empty
Specifies which packages to install using a generic URI.
Example:
url: [ https://github.com/org/repo/archive/HEAD.zip ]