-
Notifications
You must be signed in to change notification settings - Fork 1
/
codux.config.json
55 lines (55 loc) · 1.33 KB
/
codux.config.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
{
"$schema": "https://wixplosives.github.io/codux-config-schema/codux.config.schema.json",
"boardGlobalSetup": "./_codux/boards-global-setup.ts",
"componentsDiscovery": {
"include": ["src/**", "lib/**"],
"exclude": ["_codux/component-templates/**"]
},
"boardsPath": "_codux/boards",
"newComponent": {
"componentsPath": "src/components",
"templatesPath": "_codux/component-templates"
},
"safeRender": {
"maxInstancesPerComponent": 1000
},
"scripts": {
"install": {
"title": "Install",
"description": "Run install",
"command": "npm i",
"trigger": ["checkout", "pull", "setup"]
}
},
"styling": {
"solution": "scss modules"
},
"styleFilesConfig": {
"commonStyleFilePattern": "**/styles/**"
},
"resolve": {
"alias": {
"@styles": "./src/styles",
"@styles/*": "./src/styles/*",
"~/*": "./*",
"node:fs": false,
"node:fs/promises": false,
"node:path": false,
"node:crypto": false,
"crypto": false,
"node:stream": false,
"stream": false,
"node:os": false,
"node:util": false,
"node:events": false,
"node:url": false,
"node:buffer": false,
"node:assert": false
}
},
"svgLoader": "both",
"previewConfiguration": {
"environmentVariables": {},
"envFile": ".env"
}
}