Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidManifest = errors.New("invalid manifest")
)
Functions ¶
func GenerateTypescriptIndex ¶
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func (*Generator) GenerateTypescriptIndex ¶
type Manifest ¶
type Manifest struct {
// contains filtered or unexported fields
}
func ParseManifest ¶
func (*Manifest) AddDependency ¶
func (*Manifest) GetDependency ¶
func (*Manifest) HasDependency ¶
func (*Manifest) RemoveDependency ¶
type PackageJSON ¶
type PackageJSON struct { Name string `json:"name"` Version string `json:"version"` Description string `json:"description,omitempty"` License string `json:"license,omitempty"` Files []string `json:"files,omitempty"` Main string `json:"main,omitempty"` Browser string `json:"browser,omitempty"` Dependencies map[string]string `json:"dependencies,omitempty"` DevDependencies map[string]string `json:"devDependencies,omitempty"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.