react-native-get-pixel_edit/node_modules/@react-native-community/cli/build/commands/init/index.js
2025-07-09 11:41:52 +09:00

51 lines
2.0 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _init = _interopRequireDefault(require("./init"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = {
func: _init.default,
detached: true,
name: 'init [projectName]',
description: 'New app will be initialized in the directory of the same name. Android and iOS projects will use this name for publishing setup.',
options: [{
name: '--version <string>',
description: 'Shortcut for `--template react-native@version`'
}, {
name: '--template <string>',
description: 'Uses a custom template. Valid arguments are the ones supported by `yarn add [package]` or `npm install [package]`, if you are using `--npm` option'
}, {
name: '--npm',
description: 'Forces using npm for initialization'
}, {
name: '--pm <string>',
description: 'Use specific package manager to initialize the project. Available options: `yarn`, `npm`, `bun`. Default: `yarn`'
}, {
name: '--directory <string>',
description: 'Uses a custom directory instead of `<projectName>`.'
}, {
name: '--title <string>',
description: 'Uses a custom app title name for application'
}, {
name: '--skip-install',
description: 'Skips dependencies installation step'
}, {
name: '--install-pods [boolean]',
description: 'Determine if CocoaPods should be installed when initializing a project'
}, {
name: '--package-name <string>',
description: 'Inits a project with a custom package name (Android) and bundle ID (iOS), e.g. com.example.app'
}, {
name: '--platform-name <string>',
description: 'Name of out of tree platform to be used for ex. react-native-macos. This flag is optional as it should be passed automatically by out of tree platform. It needs to match the name of the platform declared in package.json'
}, {
name: '--skip-git-init',
description: 'Skip git repository initialization'
}]
};
exports.default = _default;
//# sourceMappingURL=index.ts.map