-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.json
54 lines (54 loc) · 1.25 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"log": {
"enabled": false,
"debug": false,
"console": true,
"output": "build.log"
},
"profiles": {
"production": ["clean", "compile", "lint"],
"development": ["serve", "watch", "compile"]
},
"clean": {
"locations": ["dist/*"]
},
"lint": {
"locations": [ "src/*.ts" ],
"rules": { }
},
"changelog": {
"log": "CHANGELOG.md"
},
"serve": {
"sslKey": "node_modules/@vladmandic/build/cert/https.key",
"sslCrt": "node_modules/@vladmandic/build/cert/https.crt",
"httpPort": 8000,
"httpsPort": 8001,
"documentRoot": ".",
"defaultFolder": "src",
"defaultFile": "human-vrm.html"
},
"build": {
"global": {
"target": "es2018",
"banner": { "js": "/*\n Human-VRM\n homepage: <https://github.com/vladmandic/human-three-vrm>\n author: <https://github.com/vladmandic>'\n*/\n" }
},
"targets": [
{
"name": "human-vrm",
"platform": "browser",
"format": "esm",
"input": "src/human-vrm.ts",
"output": "dist/human-vrm.esm.js",
"sourcemap": true,
"external": ["fs", "os", "buffer", "util", "@tensorflow"]
}
]
},
"watch": {
"locations": [ "src/**" ]
},
"typescript": {
"allowJs": false
}
}