face-api/.build.json

149 lines
3.8 KiB
JSON
Raw Normal View History

2021-09-08 19:51:28 +02:00
{
"log": {
"enabled": false,
2021-09-10 16:24:33 +02:00
"debug": false,
"console": true,
2021-09-11 17:11:38 +02:00
"output": "build.log"
},
"profiles": {
2024-01-17 23:01:20 +01:00
"production": ["compile", "typings", "typedoc", "lint", "changelog"],
2021-09-11 17:11:38 +02:00
"development": ["serve", "watch", "compile"]
2021-09-08 19:51:28 +02:00
},
"clean": {
2021-12-01 21:37:52 +01:00
"locations": ["dist/*", "typedoc/*", "types/lib/src"]
2021-09-08 19:51:28 +02:00
},
"lint": {
2021-12-01 23:21:12 +01:00
"locations": [ "src/" ],
2021-09-08 19:51:28 +02:00
"rules": { }
},
"changelog": {
"log": "CHANGELOG.md"
},
"serve": {
"sslKey": "cert/https.key",
"sslCrt": "cert/https.crt",
"httpPort": 8000,
"httpsPort": 8001,
"documentRoot": ".",
"defaultFolder": "demo",
"defaultFile": "index.html"
},
"build": {
"global": {
"target": "es2018",
2021-12-01 21:37:52 +01:00
"treeShaking": true,
"ignoreAnnotations": true,
2021-09-11 17:11:38 +02:00
"sourcemap": false,
2021-09-08 19:51:28 +02:00
"banner": { "js": "/*\n Face-API\n homepage: <https://github.com/vladmandic/face-api>\n author: <https://github.com/vladmandic>'\n*/\n" }
},
"targets": [
2022-10-18 13:10:36 +02:00
{
"name": "tfjs/browser/tf-version",
"platform": "browser",
"format": "esm",
"input": "src/tfjs/tf-version.ts",
"output": "dist/tfjs.version.js"
},
2021-09-08 19:51:28 +02:00
{
2021-09-11 17:11:38 +02:00
"name": "tfjs/node/cpu",
"platform": "node",
"format": "cjs",
"input": "src/tfjs/tf-node.ts",
"output": "dist/tfjs.esm.js",
"external": ["@tensorflow"]
2021-09-08 19:51:28 +02:00
},
{
2021-09-11 17:11:38 +02:00
"name": "faceapi/node/cpu",
"platform": "node",
"format": "cjs",
"input": "src/index.ts",
"output": "dist/face-api.node.js",
"external": ["@tensorflow"]
2021-09-08 19:51:28 +02:00
},
{
2021-09-11 17:11:38 +02:00
"name": "tfjs/node/gpu",
"platform": "node",
"format": "cjs",
"input": "src/tfjs/tf-node-gpu.ts",
"output": "dist/tfjs.esm.js",
"external": ["@tensorflow"]
2021-09-08 19:51:28 +02:00
},
{
2021-09-11 17:11:38 +02:00
"name": "faceapi/node/gpu",
"platform": "node",
"format": "cjs",
"input": "src/index.ts",
"output": "dist/face-api.node-gpu.js",
"external": ["@tensorflow"]
2021-09-08 19:51:28 +02:00
},
2022-01-06 13:59:13 +01:00
{
"name": "tfjs/node/wasm",
"platform": "node",
"format": "cjs",
"input": "src/tfjs/tf-node-wasm.ts",
"output": "dist/tfjs.esm.js",
"external": ["@tensorflow"]
},
{
"name": "faceapi/node/wasm",
"platform": "node",
"format": "cjs",
"input": "src/index.ts",
"output": "dist/face-api.node-wasm.js",
"external": ["@tensorflow"]
},
2021-09-08 19:51:28 +02:00
{
2021-09-11 17:11:38 +02:00
"name": "tfjs/browser/esm/nobundle",
"platform": "browser",
"format": "esm",
"input": "src/tfjs/tf-browser.ts",
"output": "dist/tfjs.esm.js",
2021-12-01 21:37:52 +01:00
"external": ["@tensorflow"]
2021-09-08 19:51:28 +02:00
},
{
2021-09-11 17:11:38 +02:00
"name": "faceapi/browser/esm/nobundle",
"platform": "browser",
"format": "esm",
"input": "src/index.ts",
2021-12-03 17:32:42 +01:00
"output": "dist/face-api.esm-nobundle.js",
"external": ["@tensorflow"]
2021-09-08 19:51:28 +02:00
},
{
2021-09-11 17:11:38 +02:00
"name": "tfjs/browser/esm/bundle",
"platform": "browser",
"format": "esm",
2021-12-06 12:34:50 +01:00
"input": "src/tfjs/tf-browser.ts",
2021-12-01 21:37:52 +01:00
"output": "dist/tfjs.esm.js"
2021-09-08 19:51:28 +02:00
},
{
2021-09-11 17:11:38 +02:00
"name": "faceapi/browser/iife/bundle",
"platform": "browser",
"format": "iife",
"globalName": "faceapi",
"minify": true,
"input": "src/index.ts",
"output": "dist/face-api.js",
2021-12-01 21:37:52 +01:00
"external": ["@tensorflow"]
2021-09-08 19:51:28 +02:00
},
{
2021-09-11 17:11:38 +02:00
"name": "faceapi/browser/esm/bundle",
"platform": "browser",
"format": "esm",
"sourcemap": true,
"input": "src/index.ts",
"output": "dist/face-api.esm.js",
2021-12-01 21:37:52 +01:00
"typings": "types/lib",
"typedoc": "typedoc",
"external": ["@tensorflow"]
2021-09-08 19:51:28 +02:00
}
]
},
"watch": {
"enabled": true,
"locations": [ "src/**" ]
},
"typescript": {
2021-09-10 16:24:33 +02:00
"allowJs": false
2021-09-08 19:51:28 +02:00
}
}