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

30 lines (29 loc) 973 B
{ "version": 2, "outputCapture": "direct-nodejs", "title": "React Native Storybook Load Stories", "cli": "nx", "description": "Load stories for react native.", "type": "object", "properties": { "searchDir": { "type": "array", "items": { "type": "string" }, "default": [], "description": "The directory or directories, relative to the project root, to search for files in." }, "outputFile": { "type": "string", "description": "The output file that will be written. It is relative to the project directory.", "default": "./.storybook/story-loader.ts" }, "pattern": { "type": "string", "description": "The pattern of files to look at. It can be a specific file, or any valid glob. Note: if using the CLI, globs with `**/*...` must be escaped with quotes", "default": "**/*.stories.@(js|jsx|ts|tsx|md)" } }, "required": ["searchDir", "outputFile", "pattern"] }