-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.build.json
38 lines (38 loc) · 1012 Bytes
/
.build.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
{
"log": {
"enabled": false,
"debug": false,
"console": true,
"output": ""
},
"profiles": {
"production": ["lint", "compile", "changelog"]
},
"lint": {
"locations": [ "*.json", "src/**/*.ts" ],
"rules": { }
},
"build": {
"global": {
"target": "es2020",
"sourcemap": true,
"treeShaking": true,
"ignoreAnnotations": true,
"banner": { "js": "/*\n proxy\n homepage: <https://github.com/vladmandic/piproxy>\n author: <https://github.com/vladmandic>'\n*/\n" }
},
"targets": [
{
"name": "client",
"format": "cjs",
"platform": "node",
"minify": false,
"input": "src/index.ts",
"output": "dist/piproxy.js",
"external": ["@vladmandic/piacme", "@vladmandic/pilogger", "http", "https", "http2", "crypto", "fs", "os", "net", "zlib", "path", "process", "superagent", "helmet", "maxmind", "simple-git", "connect"]
}
]
},
"typescript": {
"allowJs": false
}
}