-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibconfig.json
56 lines (56 loc) · 1.59 KB
/
libconfig.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
{
"$schema": "./src/schemas/schema.json",
"projects": {
"lib-tools": {
"root": ".",
"tasks": {
"generate-json-schema": {
"handler": "tools/generate-json-schema.mjs",
"outFile": "src/schemas/schema.json"
},
"build": {
"outDir": "dist",
"copy": ["README.md", "LICENSE"],
"script": {
"banner": true,
"substitutions": {
"files": []
},
"compilations": [
{
"compiler": "tsc",
"entry": "src/public-api.mts",
"tsconfig": "tsconfig.build.json",
"emitDeclarationOnly": true,
"outDir": "types"
},
{
"compiler": "tsc",
"tsconfig": "tsconfig.build.json",
"declaration": false
},
{
"compiler": "esbuild",
"entry": ["src/public-api.mts", "src/cli/index.mts"],
"tsconfig": "tsconfig.build.json",
"moduleFormat": "esm",
"bundle": true,
"environmentTargets": ["esnext", "node18.16"],
"assetLoaders": {
".json": "copy"
},
"assetOut": "schemas/[name]"
}
]
}
},
"test": {
"handler": "exec: glob -c \"node --no-warnings --loader ts-node/esm --test\" \"tests/**/*test.ts\""
},
"lint": {
"handler": "exec: eslint ."
}
}
}
}
}