Skip to content

Commit

Permalink
fix: format package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Apr 2, 2020
1 parent 65647d5 commit b2dce9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/scaffold.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default async (projectName: string): Promise<void> => {
}
};

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
Expand Down

0 comments on commit b2dce9d

Please sign in to comment.