face-api/package.json

48 lines
1.5 KiB
JSON

{
"name": "@vladmandic/face-api",
"version": "0.3.5",
"description": "JavaScript API for face detection and face recognition in the browser with tensorflow.js",
"main": "./build/index.js",
"typings": "./build/index.d.ts",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"compile": "tsc",
"bundle": "esbuild --bundle --outfile=./dist/face-api.js --target=es2018 --platform=browser --format=iife --global-name=faceapi --sourcemap --log-level=error --tsconfig=./tsconfig.json build/index.js",
"minify": "esbuild --bundle --outfile=./dist/face-api.min.js --target=es2018 --platform=browser --sourcemap --format=iife --global-name=faceapi --log-level=error --minify --tsconfig=./tsconfig.json build/index.js",
"build": "npm run compile && npm run bundle && npm run minify"
},
"keywords": [
"face",
"detection",
"recognition",
"tensorflow",
"tf"
],
"repository": {
"type": "git",
"url": "git+https://github.com/vladmandic/face-api.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": "Vladimir Mandic <mandic00@live.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/vladmandic/face-api/issues"
},
"homepage": "https://github.com/vladmandic/face-api#readme",
"dependencies": {
"@tensorflow/tfjs": "^2.3.0"
},
"devDependencies": {
"@types/node": "^14.6.0",
"canvas": "2.6.1",
"ts-node": "^8.10.2",
"tslib": "^2.0.1",
"typescript": "^3.9.7",
"esbuild": "^0.6.25"
}
}