/
schema.json
48 lines (48 loc) · 1.44 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"title": "Web Library Package Target (Experimental)",
"description": "Pckages a library for web different web usages (UMD, ESM, CJS).",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The path to package.json file."
},
"entryFile": {
"type": "string",
"description": "The path to the entry file, relative to project."
},
"outputPath": {
"type": "string",
"description": "The output path of the generated files."
},
"tsConfig": {
"type": "string",
"description": "The path to tsconfig file."
},
"external": {
"type": "array",
"description": "A list of external modules that will not be bundled (react, react-dom, etc.).",
"items": {
"type": "string"
}
},
"watch": {
"type": "boolean",
"description": "Enable re-building when files change.",
"default": false
},
"rollupConfig": {
"type": "string",
"description": "Path to a function which takes a rollup config and returns an updated rollup config"
},
"babelConfig": {
"type": "string",
"description": "Path to a function which takes a babel config and returns an updated babel config"
},
"umdName": {
"type": "string",
"description": "The name of your module in UMD format. Defaulted to your project name."
}
},
"required": ["tsConfig", "project", "entryFile", "outputPath"]
}