js-mvc-app
Version:
A CLI tool to scaffold complete Node.js MVC projects with TypeScript, just like Laravel
25 lines • 690 B
TypeScript
export interface ProjectConfig {
language: 'typescript' | 'javascript';
framework: 'express' | 'nestjs';
database: 'mongodb' | 'mysql' | 'postgresql' | 'sqlite';
projectType: 'api' | 'views-ejs' | 'views-hbs' | 'views-pug';
extras: string[];
hasViews: boolean;
viewEngine: string | null;
}
export interface DatabaseConfig {
dependencies: string[];
devDependencies: string[];
connectionFile: string;
modelExample: string;
}
export interface TemplateFile {
path: string;
content: string;
}
export interface GeneratorOptions {
projectName: string;
projectPath: string;
config: ProjectConfig;
}
//# sourceMappingURL=types.d.ts.map