Skip to content

Commit

Permalink
fix(create-web-scripts-library): format package.json (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
ollelauribostrom committed Feb 6, 2020
1 parent 0d4d114 commit 2d4b072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-web-scripts-library/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default async function createWebScriptsLibrary(projectName?: string) {
newPkg.devDependencies['@spotify/web-scripts'] =
(cwslPkg?.devDependencies || {})['@spotify/web-scripts'] ||
newPkg.devDependencies['@spotify/web-scripts'];
await fs.writeFile(newPkgPath, JSON.stringify(newPkg));
await fs.writeFile(newPkgPath, JSON.stringify(newPkg, null, 2));

console.log(chalk.gray('Installing dependencies...'));
process.chdir(projectPath);
Expand Down

0 comments on commit 2d4b072

Please sign in to comment.