Skip to content

Commit 8db0f92

Browse files
committed
feat: init generator format package
1 parent 5192896 commit 8db0f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-native-desktop-cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function createProject(name, verbose) {
175175
start: 'node node_modules/react-native-desktop/local-cli/cli.js start'
176176
}
177177
};
178-
fs.writeFileSync(path.join(root, 'package.json'), JSON.stringify(packageJson));
178+
fs.writeFileSync(path.join(root, 'package.json'), JSON.stringify(packageJson, null, 2));
179179
process.chdir(root);
180180

181181
console.log('Installing react-native-desktop package from npm...');

0 commit comments

Comments
 (0)