forked from justadudewhohacks/npm-opencv-build
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
1,397 additions
and
4,782 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
opencv | ||
node_modules | ||
opencv-*/ | ||
lib/ | ||
.pnpm-debug.log | ||
dist/esm/*.js | ||
dist/esm/*.ts | ||
dist/esm/*.map | ||
dist/cjs/*.js | ||
dist/cjs/*.ts | ||
dist/cjs/*.map | ||
latest | ||
dist/esm/helper | ||
dist/cjs/helper | ||
dist/types/ | ||
*log | ||
esm/src | ||
cjs/src | ||
types | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env node | ||
const OpenCVBuilder = require("../dist/cjs/OpenCVBuilder.js"); | ||
const OpenCVBuilder = require("../cjs/src/OpenCVBuilder.js"); | ||
const builder = new OpenCVBuilder.OpenCVBuilder(process.argv); | ||
void builder.install(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env node | ||
import { OpenCVBuilder } from "../dist/esm/OpenCVBuilder.js"; | ||
import { OpenCVBuilder } from "../esm/src/OpenCVBuilder.js"; | ||
void new OpenCVBuilder(process.argv).install(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env node | ||
import * as OpenCVBuilder from "../src/OpenCVBuilder"; | ||
import * as OpenCVBuilder from "../src/OpenCVBuilder.ts"; | ||
//= require("../dist/cjs/OpenCVBuilder.js"); | ||
const builder = new OpenCVBuilder.OpenCVBuilder(process.argv); | ||
void builder.install(); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// @ts-check | ||
import eslint from '@eslint/js'; | ||
import tseslint from 'typescript-eslint'; | ||
|
||
export default tseslint.config( | ||
eslint.configs.recommended, | ||
...tseslint.configs.recommended, | ||
{ | ||
ignores: [ | ||
"test/**/*.ts", | ||
"**/*.js", | ||
"types/**/*.d.ts", | ||
"src/lib/meta.ts", | ||
], | ||
} | ||
, | ||
{"rules": { | ||
"linebreak-style": 0, | ||
"comma-dangle": ["error", "always-multiline"], | ||
"no-plusplus": "off", | ||
"import/no-unresolved": 0, | ||
"import/extensions": 0, | ||
"import/no-extraneous-dependencies": 0, | ||
"no-async-promise-executor": 0, | ||
"radix": 1, | ||
"no-undef": 0, | ||
"no-case-declarations": 0, | ||
// unit tests only | ||
// "max-len" : 0, | ||
// "no-new" : 0, | ||
// "no-unused-expressions": 0, | ||
// "prefer-spread": 0, | ||
// "@typescript-eslint/ban-ts-comment": 0, | ||
// "@typescript-eslint/no-explicit-any": 0 | ||
}}, | ||
); |
File renamed without changes.
Oops, something went wrong.