forked from UrielCh/opencv4nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 3.6 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
86
87
88
89
90
91
92
{
"name": "@u4/opencv4nodejs",
"version": "6.4.2",
"description": "Asynchronous OpenCV 3.x / 4.x nodejs bindings with JavaScript and TypeScript API.",
"keywords": [
"opencv",
"cv",
"computer vision",
"face",
"detection",
"recognition",
"machine",
"learning",
"neural",
"network",
"async",
"typescript"
],
"contributors": [
"Uriel Chemouni <[email protected]> (https://uriel.ovh/)",
"justadudewhohacks (https://github.com/justadudewhohacks)"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/UrielCh/opencv4nodejs"
},
"bugs": {
"url": "https://github.com/UrielCh/opencv4nodejs/issues"
},
"bin": {
"build-opencv": "bin/install.js"
},
"homepage": "https://github.com/UrielCh/opencv4nodejs#readme",
"main": "./lib/opencv4nodejs.js",
"typings": "./typings/index.d.ts",
"scripts": {
"build": "tsc --pretty --project .",
"prepack": "npm run build",
"install": "node bin/install.js auto",
"install_Mac": "npm run build && CXXFLAGS=\"-std=c++14 -Wno-c++11-narrowing\" node ./install/install.js --version 4.5.3 build",
"install_default": "npm run build && node bin/install.js rebuild",
"install_ubuntu": "echo call: sudo apt install libopencv-dev; build-opencv --incDir /usr/include/opencv4/ --libDir /lib/x86_64-linux-gnu/ --binDir=/usr/bin/ --nobuild rebuild",
"install_macm1": "npm run build && node bin/install.js --version 4.5.4 --flag=\"-DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_OSX_ARCHITECTURES=arm64 -DWITH_FFMPEG=ON\" rebuild",
"install_cuda": "npm run build && cross-env OPENCV4NODEJS_DISABLE_AUTOBUILD= node bin/install.js --version 4.6.0 --flags=\"-DWITH_CUDA=ON -DWITH_CUDNN=ON -DOPENCV_DNN_CUDA=ON -DCUDA_FAST_MATH=ON -DWITH_FFMPEG=ON\" rebuild",
"install_4_6_0_cuda_30XX": "npm run build && cross-env OPENCV4NODEJS_DISABLE_AUTOBUILD= node bin/install.js --keepsource --version 4.6.0 --cuda --cudaArch=8.6 rebuild",
"test": "cd test && pnpm install && pnpm run test",
"samples": "cd examples && pnpm install && npm run build && node ./src/templateMatch/multiMatchBench.js && node ./src/templateMatch/multiMatchColision.js && node ./src/applyColorMap.js && node ./src/asyncMatchFeatures.js && node ./src/faceDetect/asyncFaceDetection.js",
"do-build": "npm run build && node bin/install.js --version 4.6.0 --jobs MAX build",
"do-rebuild": "npm run build && node bin/install.js --version 4.6.0 --jobs MAX rebuild",
"lint": "eslint examples/**/*.ts lib/**/*.ts typings/**/*.ts ",
"clean": "node-gyp clean",
"cleanjs": "rimraf {install,lib,examples}/**/*.{d.ts,js,map}",
"build-debug": "npm run build && BINDINGS_DEBUG=true node bin/install.js rebuild"
},
"dependencies": {
"@u4/opencv-build": "0.7.5",
"@u4/tiny-glob": "^0.3.2",
"nan": "^2.17.0",
"native-node-utils": "^0.2.7",
"node-gyp": "^9.3.1",
"npmlog": "^7.0.1",
"picocolors": "^1.0.0"
},
"devDependencies": {
"@types/mri": "^1.1.1",
"@types/node": "^18.13.0",
"@types/npmlog": "^4.1.4",
"@types/progress": "^2.0.5",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"axios": "^1.3.2",
"cross-env": "^7.0.3",
"eslint": "^8.34.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"progress": "^2.0.3",
"rimraf": "^3.0.2",
"typescript": "^4.9.5"
},
"files": [
"cc",
"install",
"lib",
"bin",
"typings",
"binding.gyp"
]
}