UNPKG

@nx/react-native

Version:

The Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides: -Integration with libraries such as Jest, Detox, and Storybook. -Scaffolding for creating buildable libraries th

24 lines (23 loc) 685 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.processStartOptions = processStartOptions; function processStartOptions(_projectName, options, _migrationLogs) { const args = []; for (const k of Object.keys(options)) { if (k === 'resetCache') { if (options[k] === true) { args.push(`--reset-cache`); } } else if (k === 'interactive') { if (options[k] === false) { args.push(`--no-interactive`); } } else { args.push(`--${k}`, options[k]); } delete options[k]; } options.args = args; }