Use prettier (#600)

This commit is contained in:
Brian Ng
2017-06-28 11:41:42 -05:00
committed by Henry Zhu
parent a95f55c468
commit 5180ecdca4
30 changed files with 6800 additions and 4830 deletions

13
scripts/yarn-install.js Normal file
View File

@@ -0,0 +1,13 @@
"use strict";
const exec = require("child_process").exec;
const runIfYarn = fn => {
exec("yarn -V", error => {
if (error === null) fn();
});
};
runIfYarn(() => {
console.log("`package.json` was changed. Running yarn...🐈");
exec("yarn");
});