44 lines
1.5 KiB
JSON
44 lines
1.5 KiB
JSON
{
|
|
"name": "storybook",
|
|
"implementation": "/packages/react-native/src/executors/storybook/storybook.impl.ts",
|
|
"schema": {
|
|
"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)"
|
|
},
|
|
"silent": {
|
|
"type": "boolean",
|
|
"description": "Silences output.",
|
|
"default": false,
|
|
"x-deprecated": "No longer used. It will be silent as default."
|
|
}
|
|
},
|
|
"required": ["searchDir", "outputFile", "pattern"],
|
|
"presets": []
|
|
},
|
|
"description": "Serve React Native Storybook.",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/react-native/src/executors/storybook/schema.json",
|
|
"type": "executor"
|
|
}
|