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

43 lines (42 loc) 1.29 kB
{ "$schema": "http://json-schema.org/schema", "$id": "NxReactNativeWebConfiguration", "description": "Setup web configuration to React Native apps using react-native-web.", "title": "Nx React Native Web configuration", "type": "object", "properties": { "project": { "type": "string", "aliases": ["name", "projectName"], "description": "Project for which to generate web configuration.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "For which project do you want to generate web configuration?", "x-dropdown": "projects", "x-priority": "important" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false, "x-priority": "internal" }, "skipPackageJson": { "description": "Do not add dependencies to `package.json`.", "type": "boolean", "default": false, "x-priority": "internal" }, "bundler": { "description": "The bundler to use.", "type": "string", "enum": ["vite", "webpack"], "x-prompt": "Which bundler do you want to use to build the application?", "default": "vite", "x-priority": "important" } }, "required": ["project", "bundler"] }