-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
schema.json
29 lines (29 loc) · 973 Bytes
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"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"]
}