Skip to content

Commit f384ade

Browse files
committed
Remove stale build message.
Closes expo#38
1 parent 15a8311 commit f384ade

File tree

4 files changed

+1
-22
lines changed

4 files changed

+1
-22
lines changed

react-native-scripts/src/bin/react-native-scripts.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const script = process.argv[2];
66
const args = process.argv.slice(3);
77

88
const validCommands = [
9-
'build',
109
'eject',
1110
'android',
1211
'ios',

react-native-scripts/src/scripts/build.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

react-native-scripts/src/scripts/eject.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@ If you have a .babelrc in your project, make sure to change the preset to \`reac
158158
pkgJson.scripts.ios = 'react-native run-ios';
159159
pkgJson.scripts.android = 'react-native run-android';
160160

161-
// these are no longer relevant to an ejected project (maybe build is?)
162-
delete pkgJson.scripts.build;
161+
// no longer relevant to an ejected project (maybe build is?)
163162
delete pkgJson.scripts.eject;
164163

165164
console.log(chalk.blue(`Updating your ${npmOrYarn} scripts in package.json...`));

react-native-scripts/src/scripts/init.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ module.exports = async (appPath: string, appName: string, verbose: boolean) => {
3535
appPackage.main = './node_modules/react-native-scripts/build/bin/crna-entry.js';
3636
appPackage.scripts = {
3737
start: "react-native-scripts start",
38-
build: "react-native-scripts build",
3938
eject: "react-native-scripts eject",
4039
android: "react-native-scripts android",
4140
ios: "react-native-scripts ios",

0 commit comments

Comments
 (0)