generated from morewings/react-library-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
generate-react-cli.json
77 lines (77 loc) · 2.39 KB
/
generate-react-cli.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"usesTypeScript": true,
"usesCssModule": true,
"cssPreprocessor": "css",
"testLibrary": "Testing Library",
"usesStyledComponents": false,
"component": {
"default": {
"path": "src/lib",
"withLazy": false,
"withStory": true,
"withStyle": true,
"withTest": false,
"withIndex": true,
"withMdx": true,
"customTemplates": {
"component": "templates/Component/TemplateName.tsx",
"style": "templates/Component/TemplateName.module.css",
"story": "templates/Component/TemplateName.stories.tsx",
"index": "templates/Component/index.ts",
"mdx": "templates/Component/TemplateName.mdx"
}
},
"input": {
"path": "src/lib",
"withLazy": false,
"withStory": true,
"withStyle": true,
"withTest": false,
"withIndex": true,
"withMdx": true,
"customTemplates": {
"component": "templates/Input/TemplateName.tsx",
"style": "templates/Input/TemplateName.module.css",
"story": "templates/Input/TemplateName.stories.tsx",
"index": "templates/Input/index.ts",
"mdx": "templates/Input/TemplateName.mdx"
}
},
"icon": {
"path": "src/internal/Icons",
"withLazy": false,
"withStory": false,
"withStyle": false,
"withTest": false,
"withIndex": false,
"withMdx": false,
"customTemplates": {
"component": "templates/Icon/TemplateName.tsx"
}
},
"global": {
"path": "src/lib",
"withLazy": false,
"withStory": true,
"withStyle": true,
"withTest": false,
"withIndex": true,
"withMdx": true,
"withContext": true,
"withProvider": true,
"withReducer": true,
"withHook": true,
"customTemplates": {
"component": "templates/GlobalComponent/TemplateName.tsx",
"style": "templates/GlobalComponent/TemplateName.module.css",
"story": "templates/GlobalComponent/TemplateName.stories.tsx",
"index": "templates/GlobalComponent/index.ts",
"mdx": "templates/GlobalComponent/TemplateName.mdx",
"context": "templates/GlobalComponent/TemplateNameContext.ts",
"provider": "templates/GlobalComponent/TemplateNameProvider.ts",
"reducer": "templates/GlobalComponent/TemplateNameReducer.ts",
"hook": "templates/GlobalComponent/useTemplateNameState.tsx"
}
}
}
}