diff --git a/src/index.ts b/src/index.ts index 968731c..a397d5a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,7 +3,6 @@ import fs from 'fs'; import path, {dirname} from 'path'; import inquirer from 'inquirer'; -import chalk from 'chalk'; import shell from 'shelljs'; import {fileURLToPath} from 'url'; import ejs from 'ejs'; @@ -63,7 +62,7 @@ inquirer.prompt(QUESTIONS).then(answers => { function createProject(projectPath: string) { if (fs.existsSync(projectPath)) { - console.log(chalk.red(`Folder ${projectPath} exists. Delete or use another name.`)); + console.log(`Folder ${projectPath} exists. Delete or use another name.`); return false; } fs.mkdirSync(projectPath); diff --git a/tsconfig.json b/tsconfig.json index d98b15c..eabd5f8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "rootDir": "src", "strict": true, "esModuleInterop": true, - "module": "ESNext", /* Specify what module code is generated. */ + "module": "ESNext", "moduleResolution": "node" },