diff --git a/package.json b/package.json index e0520b6..1a41936 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sern/create-bot", - "version": "1.1.1", + "version": "1.1.2", "main": "./dist/index.js", "license": "MIT", "scripts": { diff --git a/src/index.ts b/src/index.ts index cdbf920..636b046 100644 --- a/src/index.ts +++ b/src/index.ts @@ -168,7 +168,7 @@ async function createProject( await Promise.all([ fs.promises.writeFile( path.join(root, 'sern.config.json'), - JSON.stringify(config), + JSON.stringify(config, null, 2), 'utf8' ), fs.promises.writeFile( @@ -207,7 +207,7 @@ function createConfig(isTypescript: boolean) { language: isTypescript ? 'typescript' : 'javascript', paths: { base: 'src', - cmds_dir: 'commands', + commands: 'commands', }, }; }