The name of the project. Used within the package.json as the name property.
Optionalversion: stringThe version of the project. Used within the package.json as the version property.
Optionalcb: (project: Project) => voidAn optional callback for additional setup steps after the project is constructed.
Optionalname: stringOptionalversion: stringOptionalargs: Omit<ProjectArgs, "name" | "version">OptionalprojectCallback: ProjectCallbackOptionalname: stringOptionalversion: stringOptionalprojectCallback: ProjectCallbackOptionalname: stringOptionalargs: Omit<ProjectArgs, "name">OptionalprojectCallback: ProjectCallbackOptionalargs: ProjectArgsOptionalprojectCallback: ProjectCallbackOptionalargs: ProjectOptionalprojectCallback: ProjectCallbackAdds a devDependency to the Project's package.json.
Optionalname: stringOptionalversion: stringOptionalargs: Omit<ProjectArgs, "name" | "version">OptionalprojectCallback: ProjectCallbackAdds a devDependency to the Project's package.json.
Optionalname: stringOptionalversion: stringOptionalprojectCallback: ProjectCallbackAdds a devDependency to the Project's package.json.
Optionalname: stringOptionalargs: Omit<ProjectArgs, "name">OptionalprojectCallback: ProjectCallbackAdds a devDependency to the Project's package.json.
Optionalargs: ProjectArgsOptionalprojectCallback: ProjectCallbackAdds a devDependency to the Project's package.json.
Optionalargs: ProjectOptionalprojectCallback: ProjectCallbackChanges a directory from inside the project.
Correctly disposes of the project, observing when the directory has been changed.
Links a dependency.
The name of the dependency to link.
Links a devDependency.
The name of the dependency to link.
Merges an object containing a directory represention with the existing files.
An object containing a directory representation to merge.
Removes a dependency to the Project's package.json.
The name of the dependency to remove.
Removes a devDependency.
The name of the devDependency to remove.
Writes the project files to disk.
OptionaldirJSON: DirJSONOptional directory JSON to merge before writing.
StaticfromReads an existing project from the specified base dir.
The base directory to read the project from.
Optionalopts: ReadDirOptsAn options object.
Include linking dependencies from the Project's node_modules.
Include linking devDependencies from the Project's node_modules.
Constructs an instance of a BintasticProject.