forked from huan/node-facenet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 3.09 KB
/
package.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "facenet",
"version": "0.1.40",
"description": "FaceNet is for easy face recognition, verification, and clustering.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"argparse": "^1.0.9",
"brolog": "^1.1.34",
"gm": "^1.23.0",
"numjs": "^0.14.1",
"python-bridge": "^1.0.3"
},
"devDependencies": {
"@types/argparse": "^1.0.30",
"@types/gm": "^1.17.31",
"@types/node": "^8.0.15",
"@types/numjs": "^0.14.0",
"nyc": "^11.1.0",
"shx": "^0.2.2",
"tap": "^10.7.0",
"ts-node": "^3.0.4",
"tslint": "^5.4.2",
"typescript": "^2.4.2"
},
"scripts": {
"check-version": "./bin/check-version.sh",
"clean": "shx rm -fr dist/*",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"demo": "ts-node examples/demo.ts",
"dist": "npm run clean && tsc && shx cp src/*.py dist/src/",
"download:facenet": " cd python3 && git clone https://github.com/davidsandberg/facenet.git && cd -",
"download:models": "mkdir models && cd models && curl -L https://github.com/zixia/facenet/releases/download/v0.1.9/model-20170512.tar.bz2 | tar jxv && cd -",
"lint": "npm run lint:ts && npm run lint:py",
"lint:ts": "tslint --project tsconfig.json --type-check && npm run clean && tsc --noEmit",
"lint:py": ". python3/bin/activate && PYTHONPATH='src/:python3/facenet/src/' pylint src/*.py && npm run lint:flake8 && npm run lint:mypy",
"lint:flake8": "flake8 src/*.py",
"lint:mypy": "mypy --disallow-untyped-defs src/*.py",
"postinstall": "npm run check-version && npm run venv && npm run download:facenet && npm run download:models",
"start": "echo `npm run demo` to show a demo.",
"test": "npm run test:py && npm run test:ts",
"test:ts": "tap --timeout=300 src/**/*.spec.ts tests/**/*.spec.ts",
"test:py": ". python3/bin/activate && PYTHONPATH='src/:python3/facenet/src/' pytest src/ tests/",
"test:npm": "export TMPDIR=/tmp/npm-package-test.$$ && npm pack && mkdir $TMPDIR && mv *-*.*.*.tgz $TMPDIR && cp tests/fixtures/facenet-smoke-testing.js $TMPDIR && cd $TMPDIR && npm init -y && npm i *-*.*.*.tgz && node facenet-smoke-testing.js",
"venv": "python3 -m venv python3 && . python3/bin/activate && pip3 install -r requirements.txt"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zixia/facenet.git"
},
"keywords": [
"facenet",
"openface",
"face",
"recognition",
"verification",
"clustering"
],
"author": "Huan LI <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/zixia/facenet/issues"
},
"homepage": "https://github.com/zixia/facenet#readme",
"files": [
"CHANGELOG",
"LICENSE",
"README.md",
"package.json",
"requirements.txt",
"bin/",
"dist/",
"src/"
],
"bin": {
"facenet-align": "dist/bin/align.js",
"facenet-embedding": "dist/bin/embedding.js"
},
"facenet": {
"env": {
"PYTHON_FACENET_MODEL_PATH": "models/",
"PYTHON_FACENET_MODEL_URL": "https://github.com/zixia/facenet/releases/download/v0.1.9/model-20170512.tar.bz2"
}
}
}