Skip to content

Commit bdcfec6

Browse files
author
MICHAEL JACKSON
committed
Prettify scripts
1 parent b44bf78 commit bdcfec6

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

scripts/build.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
const execSync = require('child_process').execSync
1+
const execSync = require("child_process").execSync;
22

33
const exec = (cmd, env) =>
44
execSync(cmd, {
5-
stdio: 'inherit',
5+
stdio: "inherit",
66
env: Object.assign({}, process.env, env)
7-
})
7+
});
88

99
if (process.env.CI) {
10-
exec('lerna run build --stream --ignore react-router-website')
10+
exec("lerna run build --stream --ignore react-router-website");
1111
} else {
12-
exec('lerna run build --stream')
12+
exec("lerna run build --stream");
1313
}

scripts/postinstall.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
const execSync = require('child_process').execSync
1+
const execSync = require("child_process").execSync;
22

33
const exec = (cmd, env) =>
44
execSync(cmd, {
5-
stdio: 'inherit',
5+
stdio: "inherit",
66
env: Object.assign({}, process.env, env)
7-
})
7+
});
88

99
if (process.env.CI) {
10-
exec('lerna bootstrap --stream --ignore react-router-website --hoist --nohoist react-native --nohoist react-test-renderer')
10+
exec(
11+
"lerna bootstrap --stream --ignore react-router-website --hoist --nohoist react-native --nohoist react-test-renderer"
12+
);
1113
} else {
12-
exec('lerna bootstrap --stream --hoist --nohoist react-native --nohoist react-test-renderer')
14+
exec(
15+
"lerna bootstrap --stream --hoist --nohoist react-native --nohoist react-test-renderer"
16+
);
1317
}

0 commit comments

Comments
 (0)