From b2dce9d48c2c1a706b5e43e497e76203f4c59288 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Thu, 2 Apr 2020 23:17:49 +0530 Subject: [PATCH] fix: format package.json --- src/commands/scaffold.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/scaffold.ts b/src/commands/scaffold.ts index a023174..f6f93ec 100644 --- a/src/commands/scaffold.ts +++ b/src/commands/scaffold.ts @@ -101,7 +101,7 @@ export default async (projectName: string): Promise => { } }; - fs.writeFileSync("./package.json", JSON.stringify(pkgJson)); + fs.writeFileSync("./package.json", JSON.stringify(pkgJson, null, 2)); const webpackConfig = fs.readFileSync(`${templatePath}/webpack.config.js`); // Write back the config