Documentation ¶
Index ¶
Constants ¶
View Source
const PortalJson = "portal.json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type PackageJson ¶
type PackageJson struct { Module string `json:"module,omitempty"` Scripts struct { Build string `json:"build"` } `json:"scripts,omitempty"` }
func LoadPackageJson ¶
func LoadPackageJson(files fs.FS) (pkgJson PackageJson, err error)
func (PackageJson) HasBuildScript ¶
func (p PackageJson) HasBuildScript() bool
func (PackageJson) IsPortalLib ¶
func (p PackageJson) IsPortalLib() bool
Click to show internal directories.
Click to hide internal directories.