@u4/opencv4nodejs
Advanced tools
Comparing version 7.0.0-alpha to 7.0.0-alpha-2
#!/usr/bin/env node | ||
const compileLib = require("../install/compileLib.js"); | ||
const compileLib = require("../cjs/install/compileLib.js"); | ||
const {argv} = process; | ||
compileLib.compileLib(argv); |
{ | ||
"name": "@u4/opencv4nodejs", | ||
"version": "7.0.0-alpha", | ||
"version": "7.0.0-alpha-2", | ||
"description": "Asynchronous OpenCV 3.x / 4.x nodejs bindings with JavaScript and TypeScript API.", | ||
@@ -19,2 +19,9 @@ "keywords": [ | ||
], | ||
"exports": { | ||
".": { | ||
"require": "./cjs/lib/opencv4nodejs.js", | ||
"import": "./esm/lib/opencv4nodejs.js", | ||
"types": "./typings/index.d.ts" | ||
} | ||
}, | ||
"contributors": [ | ||
@@ -37,6 +44,7 @@ "Uriel Chemouni <uchemouni@gmail.com> (https://uriel.ovh/)", | ||
"homepage": "https://github.com/UrielCh/opencv4nodejs#readme", | ||
"main": "./lib/opencv4nodejs.js", | ||
"main": "./cjs/lib/opencv4nodejs.js", | ||
"module": "./esm/lib/opencv4nodejs.js", | ||
"typings": "./typings/index.d.ts", | ||
"scripts": { | ||
"build": "tsc --pretty --project .", | ||
"build": "tsc --pretty --project . && tsc --pretty --project tsconfig-esm.json", | ||
"prepack": "npm run build", | ||
@@ -54,9 +62,9 @@ "install_old": "node bin/install.js auto", | ||
"do-rebuild": "npm run build && node bin/install.js --version 4.6.0 --jobs MAX rebuild", | ||
"lint": "eslint examples/**/*.ts lib/**/*.ts typings/**/*.ts ", | ||
"lint": "eslint examples/**/*.ts src/**/*.ts typings/**/*.ts ", | ||
"clean": "node-gyp clean", | ||
"cleanjs": "rimraf {install,lib,examples}/**/*.{d.ts,js,map}", | ||
"cleanjs": "rimraf {examples}/**/*.{d.ts,js,map} {cjs,esm}/{lib,install}", | ||
"build-debug": "npm run build && BINDINGS_DEBUG=true node bin/install.js rebuild" | ||
}, | ||
"dependencies": { | ||
"@u4/opencv-build": "^0.9.0", | ||
"@u4/opencv-build": "^0.9.1", | ||
"glob": "^10.3.12", | ||
@@ -83,3 +91,3 @@ "nan": "^2.19.0", | ||
"progress": "^2.0.3", | ||
"rimraf": "^4.4.1", | ||
"rimraf": "^5.0.5", | ||
"typescript": "^5.4.5" | ||
@@ -89,15 +97,10 @@ }, | ||
"cc", | ||
"install/*.js", | ||
"install/*.d.ts", | ||
"install/*.map", | ||
"lib/**/*.xml", | ||
"lib/**/*.js", | ||
"lib/**/*.d.ts", | ||
"lib/**/*.map", | ||
"cjs", | ||
"esm", | ||
"src/**/*.xml", | ||
"bin/*.js", | ||
"typings", | ||
"binding.gyp", | ||
"binding_old.gyp", | ||
"tsconfig.json" | ||
"binding_old.gyp" | ||
] | ||
} |
@@ -663,3 +663,3 @@ # @u4/opencv4nodejs | ||
``` javascript | ||
import * as cv from '@u4/opencv4nodejs' | ||
import cv from '@u4/opencv4nodejs' | ||
``` | ||
@@ -666,0 +666,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11214060
419
6174
48
3
Updated@u4/opencv-build@^0.9.1