mirror of https://github.com/vladmandic/human
simplify dependencies
parent
f42f64427a
commit
fbd04f8555
|
@ -6,4 +6,3 @@ test
|
||||||
wiki
|
wiki
|
||||||
dist/tfjs.esm.js
|
dist/tfjs.esm.js
|
||||||
dist/tfjs.esm.js.map
|
dist/tfjs.esm.js.map
|
||||||
types/dist/tfjs.esm.d.ts
|
|
||||||
|
|
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -1,16 +1,18 @@
|
||||||
# @vladmandic/human
|
# packageJson
|
||||||
|
|
||||||
Version: **2.1.5**
|
Version: **undefined**
|
||||||
Description: **Human: AI-powered 3D Face Detection & Rotation Tracking, Face Description & Recognition, Body Pose Tracking, 3D Hand & Finger Tracking, Iris Analysis, Age & Gender & Emotion Prediction, Gesture Recognition**
|
Description: **undefined**
|
||||||
|
|
||||||
Author: **Vladimir Mandic <mandic00@live.com>**
|
Author: **undefined**
|
||||||
License: **MIT**
|
License: **undefined**
|
||||||
Repository: **<https://github.com/vladmandic/human>**
|
Repository: **<https://github.com/vladmandic/human>**
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
### **HEAD -> main** 2021/09/06 mandic00@live.com
|
### **HEAD -> main** 2021/09/10 mandic00@live.com
|
||||||
|
|
||||||
|
- remove old build server
|
||||||
|
- change build process
|
||||||
- add benchmark info
|
- add benchmark info
|
||||||
- simplify canvas handling in nodejs
|
- simplify canvas handling in nodejs
|
||||||
- full rebuild
|
- full rebuild
|
||||||
|
|
40
build.json
40
build.json
|
@ -5,21 +5,21 @@
|
||||||
"console": true,
|
"console": true,
|
||||||
"output": "test/build.log"
|
"output": "test/build.log"
|
||||||
},
|
},
|
||||||
|
"profiles": {
|
||||||
|
"production": ["clean", "compile", "typings", "typedoc", "lint", "changelog"],
|
||||||
|
"development": ["serve", "watch", "compile"]
|
||||||
|
},
|
||||||
"clean": {
|
"clean": {
|
||||||
"enabled": true,
|
|
||||||
"locations": ["dist/*", "types/*", "typedoc/*"]
|
"locations": ["dist/*", "types/*", "typedoc/*"]
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
"enabled": true,
|
|
||||||
"locations": [ "src/**/*.ts", "test/*.js", "demo/**/*.js" ],
|
"locations": [ "src/**/*.ts", "test/*.js", "demo/**/*.js" ],
|
||||||
"rules": { }
|
"rules": { }
|
||||||
},
|
},
|
||||||
"changelog": {
|
"changelog": {
|
||||||
"enabled": true,
|
|
||||||
"log": "CHANGELOG.md"
|
"log": "CHANGELOG.md"
|
||||||
},
|
},
|
||||||
"serve": {
|
"serve": {
|
||||||
"enabled": true,
|
|
||||||
"sslKey": "node_modules/@vladmandic/build/cert/https.key",
|
"sslKey": "node_modules/@vladmandic/build/cert/https.key",
|
||||||
"sslCrt": "node_modules/@vladmandic/build/cert/https.crt",
|
"sslCrt": "node_modules/@vladmandic/build/cert/https.crt",
|
||||||
"httpPort": 10030,
|
"httpPort": 10030,
|
||||||
|
@ -29,21 +29,14 @@
|
||||||
"defaultFile": "index.html"
|
"defaultFile": "index.html"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"enabled": true,
|
|
||||||
"global": {
|
"global": {
|
||||||
"target": "es2018",
|
"target": "es2018",
|
||||||
"sourcemap": true,
|
"sourcemap": true,
|
||||||
"banner": { "js": "/*\n Human\n homepage: <https://github.com/vladmandic/human>\n author: <https://github.com/vladmandic>'\n*/\n" }
|
"banner": { "js": "/*\n Human\n homepage: <https://github.com/vladmandic/human>\n author: <https://github.com/vladmandic>'\n*/\n" }
|
||||||
},
|
},
|
||||||
"production": {
|
|
||||||
"minify": false
|
|
||||||
},
|
|
||||||
"development": {
|
|
||||||
"minify": false
|
|
||||||
},
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"name": "tfjs for nodejs with cpu",
|
"name": "tfjs/nodejs/cpu",
|
||||||
"platform": "node",
|
"platform": "node",
|
||||||
"format": "cjs",
|
"format": "cjs",
|
||||||
"input": "tfjs/tf-node.ts",
|
"input": "tfjs/tf-node.ts",
|
||||||
|
@ -52,7 +45,7 @@
|
||||||
"external": ["@tensorflow"]
|
"external": ["@tensorflow"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "human for nodejs with cpu",
|
"name": "human/nodejs/cpu",
|
||||||
"platform": "node",
|
"platform": "node",
|
||||||
"format": "cjs",
|
"format": "cjs",
|
||||||
"input": "src/human.ts",
|
"input": "src/human.ts",
|
||||||
|
@ -61,7 +54,7 @@
|
||||||
"external": ["@tensorflow"]
|
"external": ["@tensorflow"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tfjs for nodejs with gpu",
|
"name": "tfjs/nodejs/gpu",
|
||||||
"platform": "node",
|
"platform": "node",
|
||||||
"format": "cjs",
|
"format": "cjs",
|
||||||
"input": "tfjs/tf-node-gpu.ts",
|
"input": "tfjs/tf-node-gpu.ts",
|
||||||
|
@ -70,7 +63,7 @@
|
||||||
"external": ["@tensorflow"]
|
"external": ["@tensorflow"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "human for nodejs with gpu",
|
"name": "human/nodejs/gpu",
|
||||||
"platform": "node",
|
"platform": "node",
|
||||||
"format": "cjs",
|
"format": "cjs",
|
||||||
"input": "src/human.ts",
|
"input": "src/human.ts",
|
||||||
|
@ -79,7 +72,7 @@
|
||||||
"external": ["@tensorflow"]
|
"external": ["@tensorflow"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tfjs for nodejs with wasm",
|
"name": "tfjs/nodejs/wasm",
|
||||||
"platform": "node",
|
"platform": "node",
|
||||||
"format": "cjs",
|
"format": "cjs",
|
||||||
"input": "tfjs/tf-node-wasm.ts",
|
"input": "tfjs/tf-node-wasm.ts",
|
||||||
|
@ -88,7 +81,7 @@
|
||||||
"external": ["@tensorflow"]
|
"external": ["@tensorflow"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "human for nodejs with wasm",
|
"name": "human/nodejs/wasm",
|
||||||
"platform": "node",
|
"platform": "node",
|
||||||
"format": "cjs",
|
"format": "cjs",
|
||||||
"input": "src/human.ts",
|
"input": "src/human.ts",
|
||||||
|
@ -97,7 +90,7 @@
|
||||||
"external": ["@tensorflow"]
|
"external": ["@tensorflow"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tfjs for browser esm nobundle",
|
"name": "tfjs/browser/esm/nobundle",
|
||||||
"platform": "browser",
|
"platform": "browser",
|
||||||
"format": "esm",
|
"format": "esm",
|
||||||
"input": "tfjs/tf-browser.ts",
|
"input": "tfjs/tf-browser.ts",
|
||||||
|
@ -106,7 +99,7 @@
|
||||||
"external": ["@tensorflow", "fs", "os", "buffer", "util"]
|
"external": ["@tensorflow", "fs", "os", "buffer", "util"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "human for browser esm nobundle",
|
"name": "human/browser/esm/nobundle",
|
||||||
"platform": "browser",
|
"platform": "browser",
|
||||||
"format": "esm",
|
"format": "esm",
|
||||||
"input": "src/human.ts",
|
"input": "src/human.ts",
|
||||||
|
@ -115,25 +108,27 @@
|
||||||
"external": ["@tensorflow", "fs", "os", "buffer", "util"]
|
"external": ["@tensorflow", "fs", "os", "buffer", "util"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tfjs for browser esm bundle",
|
"name": "tfjs/browser/esm/bundle",
|
||||||
"platform": "browser",
|
"platform": "browser",
|
||||||
"format": "esm",
|
"format": "esm",
|
||||||
"input": "tfjs/tf-browser.ts",
|
"input": "tfjs/tf-browser.ts",
|
||||||
"output": "dist/tfjs.esm.js",
|
"output": "dist/tfjs.esm.js",
|
||||||
"sourcemap": false,
|
"sourcemap": false,
|
||||||
|
"minify": true,
|
||||||
"external": ["fs", "os", "buffer", "util"]
|
"external": ["fs", "os", "buffer", "util"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "human for browser iife bundle",
|
"name": "human/browser/iife/bundle",
|
||||||
"platform": "browser",
|
"platform": "browser",
|
||||||
"format": "iife",
|
"format": "iife",
|
||||||
"input": "src/human.ts",
|
"input": "src/human.ts",
|
||||||
"output": "dist/human.js",
|
"output": "dist/human.js",
|
||||||
"sourcemap": false,
|
"sourcemap": false,
|
||||||
|
"minify": true,
|
||||||
"external": ["fs", "os", "buffer", "util"]
|
"external": ["fs", "os", "buffer", "util"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "human for browser esm bundle",
|
"name": "human/browser/esm/bundle",
|
||||||
"platform": "browser",
|
"platform": "browser",
|
||||||
"format": "esm",
|
"format": "esm",
|
||||||
"input": "src/human.ts",
|
"input": "src/human.ts",
|
||||||
|
@ -146,7 +141,6 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"watch": {
|
"watch": {
|
||||||
"enabled": true,
|
|
||||||
"locations": [ "src/**", "tfjs/*" ]
|
"locations": [ "src/**", "tfjs/*" ]
|
||||||
},
|
},
|
||||||
"typescript": {
|
"typescript": {
|
||||||
|
|
28
package.json
28
package.json
|
@ -8,15 +8,22 @@
|
||||||
"browser": "dist/human.esm.js",
|
"browser": "dist/human.esm.js",
|
||||||
"types": "types/src/human.d.ts",
|
"types": "types/src/human.d.ts",
|
||||||
"author": "Vladimir Mandic <mandic00@live.com>",
|
"author": "Vladimir Mandic <mandic00@live.com>",
|
||||||
"bugs": { "url": "https://github.com/vladmandic/human/issues" },
|
"bugs": {
|
||||||
|
"url": "https://github.com/vladmandic/human/issues"
|
||||||
|
},
|
||||||
"homepage": "https://vladmandic.github.io/human/demo/index.html",
|
"homepage": "https://vladmandic.github.io/human/demo/index.html",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": { "node": ">=14.0.0" },
|
"engines": {
|
||||||
"repository": { "type": "git", "url": "git+https://github.com/vladmandic/human.git" },
|
"node": ">=14.0.0"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/vladmandic/human.git"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node --no-warnings demo/nodejs/node.js",
|
"start": "node --no-warnings demo/nodejs/node.js",
|
||||||
"dev": "build development",
|
"dev": "build --profile development",
|
||||||
"build": "build production",
|
"build": "build --profile production",
|
||||||
"test": "node --no-warnings --unhandled-rejections=strict --trace-uncaught test/test.js",
|
"test": "node --no-warnings --unhandled-rejections=strict --trace-uncaught test/test.js",
|
||||||
"lint": "eslint src demo test",
|
"lint": "eslint src demo test",
|
||||||
"scan": "npx auditjs@latest ossi --dev --quiet"
|
"scan": "npx auditjs@latest ossi --dev --quiet"
|
||||||
|
@ -63,9 +70,8 @@
|
||||||
"@typescript-eslint/eslint-plugin": "^4.31.0",
|
"@typescript-eslint/eslint-plugin": "^4.31.0",
|
||||||
"@typescript-eslint/parser": "^4.31.0",
|
"@typescript-eslint/parser": "^4.31.0",
|
||||||
"@vladmandic/pilogger": "^0.3.1",
|
"@vladmandic/pilogger": "^0.3.1",
|
||||||
"@vladmandic/build": "^0.3.4",
|
"@vladmandic/build": "^0.4.1",
|
||||||
"canvas": "^2.8.0",
|
"canvas": "^2.8.0",
|
||||||
"chokidar": "^3.5.2",
|
|
||||||
"dayjs": "^1.10.7",
|
"dayjs": "^1.10.7",
|
||||||
"esbuild": "^0.12.26",
|
"esbuild": "^0.12.26",
|
||||||
"eslint": "^7.32.0",
|
"eslint": "^7.32.0",
|
||||||
|
@ -75,13 +81,11 @@
|
||||||
"eslint-plugin-node": "^11.1.0",
|
"eslint-plugin-node": "^11.1.0",
|
||||||
"eslint-plugin-promise": "^5.1.0",
|
"eslint-plugin-promise": "^5.1.0",
|
||||||
"node-fetch": "^3.0.0",
|
"node-fetch": "^3.0.0",
|
||||||
"rimraf": "^3.0.2",
|
|
||||||
"seedrandom": "^3.0.5",
|
"seedrandom": "^3.0.5",
|
||||||
"simple-git": "^2.45.1",
|
|
||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
"typedoc": "0.22.1",
|
"typedoc": "0.22.2",
|
||||||
"typescript": "4.4.3"
|
"typescript": "4.4.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": { },
|
"dependencies": {
|
||||||
"dependencies": { }
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue