diff --git a/packages/configure-splash-screen/README.md b/packages/configure-splash-screen/README.md index b8c012f900..1f4fb8d276 100644 --- a/packages/configure-splash-screen/README.md +++ b/packages/configure-splash-screen/README.md @@ -49,6 +49,7 @@ yarn run @expo/configure-splash-screen [options] [imagePathOrD - `darkModeImagePath` - (optional) Path to valid .png image that will be displayed in native splash screen in dark mode only. If this argument is not specified then image from imagePath will be used in dark mode as well. This argument is available only if dark mode support is detected. ### Options: + - `-r, --resize-mode [resizeMode]` - ResizeMode to be used for native splash screen image. Available values: "contain" | "cover" | "native" (only available for android platform)) (default: "contain"). See [resize modes](https://github.com/expo/expo/tree/master/packages/expo-splash-screen#built-in-splash-screen-image-resize-modes) for more information. - `-p, --platform [platform]` - Selected platform to configure. Available values: "android" | "ios" | "all". (default: "all") - `--statusbar-style [statusBarStyle]` - Customizes the color of the StatusBar icons. Available values: "default" | "light-content" | "dark-content". (default: "default") diff --git a/packages/expo-cli/src/commands/eject.ts b/packages/expo-cli/src/commands/eject.ts index dce504a393..925ee1755f 100644 --- a/packages/expo-cli/src/commands/eject.ts +++ b/packages/expo-cli/src/commands/eject.ts @@ -46,7 +46,7 @@ async function action( } } -export default function(program: Command) { +export default function (program: Command) { program .command('eject [project-dir]') .description( diff --git a/packages/expo-cli/src/commands/send.ts b/packages/expo-cli/src/commands/send.ts index 79d9d5b5c0..6c11fbd5e0 100644 --- a/packages/expo-cli/src/commands/send.ts +++ b/packages/expo-cli/src/commands/send.ts @@ -38,7 +38,7 @@ async function action(projectDir: string, options: Options) { } } -export default function(program: Command) { +export default function (program: Command) { program .command('send [project-dir]') .description(`Send the project's url to an email address`) diff --git a/packages/webpack-config/README.md b/packages/webpack-config/README.md index 7b1d5c033d..2e8d39b273 100644 --- a/packages/webpack-config/README.md +++ b/packages/webpack-config/README.md @@ -32,7 +32,7 @@ Running `expo customize:web` will generate this default config in your project. ```js const createExpoWebpackConfigAsync = require('@expo/webpack-config'); -module.exports = async function(env, argv) { +module.exports = async function (env, argv) { const config = await createExpoWebpackConfigAsync(env, argv); // Customize the config before returning it. return config; @@ -242,7 +242,7 @@ You may find that you want to include universal modules that aren't part of the ```ts const createExpoWebpackConfigAsync = require('@expo/webpack-config'); -module.exports = async function(env, argv) { +module.exports = async function (env, argv) { const config = await createExpoWebpackConfigAsync( { ...env, @@ -266,7 +266,7 @@ If you're adding support to some other Webpack config like in Storybook or Gatsb ```ts const { withUnimodules } = require('@expo/webpack-config/addons'); -module.exports = function() { +module.exports = function () { const someWebpackConfig = { /* Your custom Webpack config */ }; @@ -296,7 +296,7 @@ If you want to modify the babel loader further, you can retrieve it using the he const createExpoWebpackConfigAsync = require('@expo/webpack-config'); const { getExpoBabelLoader } = require('@expo/webpack-config/utils'); -module.exports = async function(env, argv) { +module.exports = async function (env, argv) { const config = await createExpoWebpackConfigAsync(env, argv); const loader = getExpoBabelLoader(config); if (loader) { @@ -335,7 +335,7 @@ This can have some unfortunate side-effects as application libraries like expo-n ```js const createExpoWebpackConfigAsync = require('@expo/webpack-config'); -module.exports = async function(env, argv) { +module.exports = async function (env, argv) { // Set offline to `false` const config = await createExpoWebpackConfigAsync({ ...env, offline: false }, argv); return config;