Rerun prettier and pin version (#3058)

* rerun prettier for all files

* pin prettier to 1.6.1
This commit is contained in:
Ade Viankakrisna Fadlil
2017-09-10 12:12:38 +07:00
committed by Joe Haddad
parent 5e300cebb3
commit 44cfbccfda
34 changed files with 79 additions and 133 deletions

View File

@@ -167,9 +167,11 @@ inquirer
// Sort the deps
const unsortedDependencies = appPackage.dependencies;
appPackage.dependencies = {};
Object.keys(unsortedDependencies).sort().forEach(key => {
appPackage.dependencies[key] = unsortedDependencies[key];
});
Object.keys(unsortedDependencies)
.sort()
.forEach(key => {
appPackage.dependencies[key] = unsortedDependencies[key];
});
console.log();
console.log(cyan('Updating the scripts'));