@webex/ladon-ts 5.4.1 → 5.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,95 +1,101 @@
1
- {
2
- "name": "@webex/ladon-ts",
3
- "version": "5.4.1",
4
- "description": "WebexIntelligence computer vision library",
5
- "type": "module",
6
- "main": "build/module/index.js",
7
- "typings": "build/module/index.d.ts",
8
- "module": "build/module/index.js",
9
- "exports": {
10
- ".": {
11
- "import": "./build/module/index.js",
12
- "require": "./build/module/index.js"
13
- },
14
- "./worker": {
15
- "import": "./build/worker/segmentation.js"
16
- }
17
- },
18
- "keywords": [],
19
- "license": "SEE LICENSE in LICENSE",
20
- "scripts": {
21
- "update-version": "node -p \"const fs = require('fs'); function handle_result(err){console.log(err);}; fs.writeFile('src/lib/version.ts', 'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version).replaceAll('\\\"', '\\'') + ';\\n', handle_result);\"",
22
- "build": "run-s build:*",
23
- "build:module": "vite build",
24
- "build:worker": "npm --prefix ./worker run build",
25
- "build:test": "npm --prefix ./test run build",
26
- "fix": "run-s fix:*",
27
- "fix:prettier": "prettier \"src/**/*.ts\" --write",
28
- "fix:lint": "eslint src --ext .ts --fix",
29
- "test": "run-s build test:*",
30
- "test:lint": "eslint src --ext .ts",
31
- "test:prettier": "prettier \"src/**/*.ts\" --list-different",
32
- "check-cli": "run-s test diff-integration-tests check-integration-tests",
33
- "check-integration-tests": "run-s check-integration-test:*",
34
- "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
35
- "watch:build": "tsc -p tsconfig.module.json -w",
36
- "doc": "run-s doc:html && open-cli build/docs/index.html",
37
- "doc:html": "typedoc src/ --exclude **/*.spec.ts --out build/docs",
38
- "doc:json": "typedoc src/ --exclude **/*.spec.ts --json build/docs/typedoc.json",
39
- "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
40
- "version": "standard-version",
41
- "test-release": "run-s test build doc:html",
42
- "prepare-release": "run-s test version update-version build doc:html doc:publish"
43
- },
44
- "devDependencies": {
45
- "@types/chai": "^4.3.0",
46
- "@types/mocha": "^9.0.0",
47
- "@typescript-eslint/eslint-plugin": "^4.0.1",
48
- "@typescript-eslint/parser": "^4.0.1",
49
- "chai": "^4.3.4",
50
- "cz-conventional-changelog": "^3.3.0",
51
- "eslint": "^7.8.0",
52
- "eslint-config-prettier": "^6.11.0",
53
- "eslint-plugin-eslint-comments": "^3.2.0",
54
- "eslint-plugin-functional": "^3.0.2",
55
- "eslint-plugin-import": "^2.22.0",
56
- "gh-pages": "^3.1.0",
57
- "mocha": "^9.1.3",
58
- "npm-run-all": "^4.1.5",
59
- "open-cli": "^6.0.1",
60
- "parcel": "^2.12.0",
61
- "prettier": "^2.1.1",
62
- "standard-version": "^9.0.0",
63
- "typedoc": "^0.23.24",
64
- "typescript": "^4.7.4",
65
- "vite": "^6.0.3",
66
- "vite-plugin-copy": "^0.1.6",
67
- "vite-plugin-dts": "^4.3.0",
68
- "vite-plugin-static-copy": "^2.2.0"
69
- },
70
- "files": [
71
- "build/main",
72
- "build/module",
73
- "build/worker",
74
- "!**/*.spec.*",
75
- "!**/*.json",
76
- "CHANGELOG.md",
77
- "LICENSE",
78
- "README.md"
79
- ],
80
- "config": {
81
- "commitizen": {
82
- "path": "cz-conventional-changelog"
83
- }
84
- },
85
- "prettier": {
86
- "singleQuote": true
87
- },
88
- "dependencies": {
89
- "onnxruntime-web": "1.20.1"
90
- },
91
- "engines": {
92
- "npm": ">=7.0.0",
93
- "node": ">=14.0.0"
94
- }
95
- }
1
+ {
2
+ "name": "@webex/ladon-ts",
3
+ "version": "5.4.2",
4
+ "description": "WebexIntelligence computer vision library",
5
+ "type": "module",
6
+ "main": "build/module/index.js",
7
+ "module": "build/module/index.js",
8
+ "typings": "build/module/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./build/module/index.js",
12
+ "require": "./build/module/index.js"
13
+ },
14
+ "./worker": {
15
+ "import": "./build/worker/segmentation.js"
16
+ }
17
+ },
18
+ "keywords": [],
19
+ "license": "SEE LICENSE in LICENSE",
20
+ "scripts": {
21
+ "update-version": "node -p \"const fs = require('fs'); function handle_result(err){console.log(err);}; fs.writeFile('src/lib/version.ts', 'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version).replaceAll('\\\"', '\\'') + ';\\n', handle_result);\"",
22
+ "build": "run-s clean build:module build:worker copy:worker",
23
+ "build:module": "vite build",
24
+ "build:worker": "npm --prefix ./worker run build",
25
+ "build:test": "npm --prefix ./test run build",
26
+ "clean": "rimraf build",
27
+ "copy:worker": "cpx './worker/dist/*' './build/worker/'",
28
+ "fix": "run-s fix:*",
29
+ "fix:prettier": "prettier \"src/**/*.ts\" --write",
30
+ "fix:lint": "eslint src --ext .ts --fix",
31
+ "test": "run-s build test:*",
32
+ "test:lint": "eslint src --ext .ts",
33
+ "test:prettier": "prettier \"src/**/*.ts\" --list-different",
34
+ "check-cli": "run-s test diff-integration-tests check-integration-tests",
35
+ "check-integration-tests": "run-s check-integration-test:*",
36
+ "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
37
+ "watch:build": "tsc -p tsconfig.module.json -w",
38
+ "doc": "run-s doc:html && open-cli build/docs/index.html",
39
+ "doc:html": "typedoc src/ --exclude **/*.spec.ts --out build/docs",
40
+ "doc:json": "typedoc src/ --exclude **/*.spec.ts --json build/docs/typedoc.json",
41
+ "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs -b $RELEASE_BRANCH",
42
+ "version": "standard-version",
43
+ "test-release": "run-s test build doc:html",
44
+ "prepare-release": "run-s test version update-version build doc:html"
45
+ },
46
+ "devDependencies": {
47
+ "@types/chai": "^4.3.0",
48
+ "@types/mocha": "^9.0.0",
49
+ "@typescript-eslint/eslint-plugin": "^4.0.1",
50
+ "@typescript-eslint/parser": "^4.0.1",
51
+ "chai": "^4.3.4",
52
+ "cpx": "^1.5.0",
53
+ "cz-conventional-changelog": "^3.3.0",
54
+ "eslint": "^7.8.0",
55
+ "eslint-config-prettier": "^6.11.0",
56
+ "eslint-plugin-eslint-comments": "^3.2.0",
57
+ "eslint-plugin-functional": "^3.0.2",
58
+ "eslint-plugin-import": "^2.22.0",
59
+ "gh-pages": "^3.1.0",
60
+ "mocha": "^9.1.3",
61
+ "npm-run-all": "^4.1.5",
62
+ "open-cli": "^6.0.1",
63
+ "parcel": "^2.12.0",
64
+ "prettier": "^2.1.1",
65
+ "rimraf": "^6.0.1",
66
+ "standard-version": "^9.0.0",
67
+ "typedoc": "^0.23.24",
68
+ "typescript": "^4.7.4",
69
+ "vite": "^6.0.3",
70
+ "vite-plugin-copy": "^0.1.6",
71
+ "vite-plugin-dts": "^4.3.0"
72
+ },
73
+ "optionalDependencies": {
74
+ "@rollup/rollup-linux-x64-gnu": "4.36.0"
75
+ },
76
+ "files": [
77
+ "build/main",
78
+ "build/module",
79
+ "build/worker",
80
+ "!**/*.spec.*",
81
+ "!**/*.json",
82
+ "CHANGELOG.md",
83
+ "LICENSE",
84
+ "README.md"
85
+ ],
86
+ "config": {
87
+ "commitizen": {
88
+ "path": "cz-conventional-changelog"
89
+ }
90
+ },
91
+ "prettier": {
92
+ "singleQuote": true
93
+ },
94
+ "dependencies": {
95
+ "onnxruntime-web": "1.20.1"
96
+ },
97
+ "engines": {
98
+ "npm": ">=7.0.0",
99
+ "node": ">=14.0.0"
100
+ }
101
+ }