package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "face-api.js",
  3. "version": "0.22.2",
  4. "description": "JavaScript API for face detection and face recognition in the browser with tensorflow.js",
  5. "module": "./build/es6/index.js",
  6. "main": "./build/commonjs/index.js",
  7. "typings": "./build/commonjs/index.d.ts",
  8. "scripts": {
  9. "rollup-min": "rollup -c rollup.config.js --environment minify:true",
  10. "rollup": "rollup -c rollup.config.js",
  11. "tsc": "tsc",
  12. "tsc-es6": "tsc --p tsconfig.es6.json",
  13. "build": "rm -rf ./build && rm -rf ./dist && npm run rollup && npm run rollup-min && npm run tsc && npm run tsc-es6",
  14. "test": "npm run test-browser && npm run test-node",
  15. "test-browser": "karma start --single-run",
  16. "test-node": "ts-node -r ./test/env.node.ts node_modules/jasmine/bin/jasmine --config=jasmine-node.js",
  17. "test-facelandmarknets": "set UUT=faceLandmarkNet&& karma start",
  18. "test-facerecognitionnet": "set UUT=faceRecognitionNet&& karma start",
  19. "test-agegendernet": "set UUT=ageGenderNet&& karma start",
  20. "test-ssdmobilenetv1": "set UUT=ssdMobilenetv1&& karma start",
  21. "test-tinyfacedetector": "set UUT=tinyFaceDetector&& karma start",
  22. "test-globalapi": "set UUT=globalApi&& karma start",
  23. "test-cpu": "set BACKEND_CPU=true&& karma start",
  24. "docs": "typedoc --options ./typedoc.config.js ./src"
  25. },
  26. "keywords": [
  27. "face",
  28. "detection",
  29. "recognition",
  30. "tensorflow",
  31. "tf"
  32. ],
  33. "author": "justadudewhohacks",
  34. "license": "MIT",
  35. "dependencies": {
  36. "@tensorflow/tfjs-core": "1.7.0",
  37. "tslib": "^1.11.1"
  38. },
  39. "devDependencies": {
  40. "@tensorflow/tfjs-node": "1.7.0",
  41. "@types/jasmine": "^3.5.9",
  42. "@types/node": "^13.9.2",
  43. "canvas": "2.6.1",
  44. "jasmine": "^3.5.0",
  45. "jasmine-core": "^3.5.0",
  46. "karma": "^4.4.1",
  47. "karma-chrome-launcher": "^3.1.0",
  48. "karma-jasmine": "^3.1.1",
  49. "karma-typescript": "^5.0.1",
  50. "rollup": "^2.1.0",
  51. "rollup-plugin-commonjs": "^10.1.0",
  52. "rollup-plugin-node-resolve": "^5.2.0",
  53. "rollup-plugin-typescript2": "^0.26.0",
  54. "rollup-plugin-uglify": "^6.0.4",
  55. "ts-node": "^8.7.0",
  56. "typescript": "^3.8.3"
  57. }
  58. }