forked from UrielCh/npm-opencv-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.58 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
{
"name": "@edumolki/opencv-build",
"version": "1.0.2",
"description": "A simple script to auto build recent OpenCV + contrib version via npm 2022 Edition",
"main": "dist/cjs/index.js",
"module": "./dist/esm/index.js",
"typings": "dist/cjs/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rimraf build",
"build": "tsc --pretty --project . && tsc --pretty --project tsconfig-cjs.json",
"build3x": "npm run build && node bin/main.js --keepsource",
"install_macm1": "npm run build && node bin/main.js --version 4.5.5 --flag=\"-DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_OSX_ARCHITECTURES=arm64\"",
"install_4_6_0": "npm run build && node bin/main.js --version 4.6.0",
"install_4_6_0_cuda_30XX": "npm run build && cross-env OPENCV4NODEJS_DISABLE_AUTOBUILD= node bin/main.js --keepsource --version 4.6.0 --cuda --cudaArch=8.6",
"install_4_7_0_cuda_30XX": "npm run build && cross-env OPENCV4NODEJS_DISABLE_AUTOBUILD= node bin/main.js --keepsource --version 4.7.0 --cuda --cudaArch=8.6",
"do-install": "node bin/main.js",
"cleanbuild": "rimraf lib dist && npm run build",
"postinstallDISABLED": "npm run do-install",
"prepare": "npm run build",
"prepublishOnly": "npm run build",
"lint": "eslint src/**/*.ts",
"test": "cross-env NODE_OPTIONS=\"-r ts-node/register --no-warnings\" TS_NODE_PROJECT=tsconfig-cjs.json mocha 'test/**/*.test.ts'"
},
"bin": {
"opencv-build-npm": "bin/main.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/eduardoabpereira/npm-opencv-build.git"
},
"keywords": [
"opencv",
"build",
"opencv4nodejs"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/eduardoabpereira/npm-opencv-build/issues"
},
"homepage": "https://github.com/eduardoabpereira/npm-opencv-build#readme",
"dependencies": {
"@u4/tiny-glob": "^0.3.2",
"npmlog": "^7.0.1",
"picocolors": "^1.0.0",
"rimraf": "^4.4.1"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/chai-string": "^1.4.2",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.11",
"@types/npmlog": "^4.1.4",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"chai": "^4.3.7",
"chai-string": "^1.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.37.0",
"mocha": "^10.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.2"
},
"files": [
"dist"
]
}