(destDir: string, basename: string)
| 123 | } |
| 124 | |
| 125 | async copyTemplateFile(destDir: string, basename: string): Promise<void> { |
| 126 | await this.copy( |
| 127 | path.join(this.templateDir, basename), |
| 128 | path.resolve(destDir, basename), |
| 129 | ); |
| 130 | } |
| 131 | |
| 132 | async initializePackageJSON(directory: string): Promise<void> { |
| 133 | const packageJSON = await fs.readJson( |
no test coverage detected