JavaScriptFolder class

JavaScript project nature: a package.json without a tsconfig.json.

Inheritance

Constructors

JavaScriptFolder(FsFolder fsFolder, {String? projectName, String? version, Map<String, String> scripts = const {}})

Properties

fsFolder → FsFolder
The underlying filesystem folder.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
language → String
The language, named as the SOM runtimes name it: typescript, javascript, python, java, go, rust, c, cpp; and scala.
no setteroverride
name → String
Folder name (basename of path).
no setterinherited
path → String
Absolute path to the folder.
no setterinherited
projectFile → String
The file that marks the project, relative to its folder.
no setteroverride
projectName → String?
The project's name as its project file states it, if it does.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scripts → Map<String, String>
The scripts of package.json by name.
final
version → String?
The project's version as its project file states it, if it does.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited