@camera.ui/camera-ui-wasm-motion 0.0.22 → 1.0.0
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/CHANGELOG.md +1 -1
- package/bundle.zip +0 -0
- package/package.json +10 -9
package/CHANGELOG.md
CHANGED
package/bundle.zip
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "WASM Motion",
|
|
3
3
|
"name": "@camera.ui/camera-ui-wasm-motion",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"description": "Motion detection for camera.ui running as a WebAssembly module. Portable, dependency-free pixel motion analysis.",
|
|
6
6
|
"author": "seydx (https://github.com/cameraui/plugins)",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -9,16 +9,15 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "rimraf dist && npm run build:wasm && tsc",
|
|
11
11
|
"build:wasm": "cd ./src/wasm && asc assembly/* --config asconfig.json && cd ../../",
|
|
12
|
-
"bundle": "npm run format && npm run lint
|
|
13
|
-
"bundle:dev": "npm run format && npm run lint
|
|
12
|
+
"bundle": "npm run format && npm run lint && npm run build && cui bundle",
|
|
13
|
+
"bundle:dev": "npm run format && npm run lint && npm run build && cross-env MODE=development cui bundle",
|
|
14
14
|
"format": "prettier --write \"src/\" --ignore-unknown --no-error-on-unmatched-pattern",
|
|
15
|
-
"install-updates": "npm i --save",
|
|
16
|
-
"lint": "eslint .",
|
|
17
|
-
"lint:fix": "eslint --fix .",
|
|
15
|
+
"install-updates": "npm i --save --force",
|
|
16
|
+
"lint": "eslint --fix .",
|
|
18
17
|
"prepublishOnly": "node -e \"if(!process.env.SAFE_PUBLISH){console.error('Error: Please use @camera.ui/cli to publish the plugin:\\n npm run publish:alpha\\n npm run publish:beta\\n npm run publish:latest\\n');process.exit(1)}\"",
|
|
19
|
-
"publish:alpha": "npm i --save && npm run bundle && cui publish --alpha",
|
|
20
|
-
"publish:beta": "npm i --save && npm run bundle && cui publish --beta",
|
|
21
|
-
"publish:latest": "npm i --save && npm run bundle && cui publish --latest",
|
|
18
|
+
"publish:alpha": "npm i --save --force && npm run bundle && cui publish --alpha",
|
|
19
|
+
"publish:beta": "npm i --save --force && npm run bundle && cui publish --beta",
|
|
20
|
+
"publish:latest": "npm i --save --force && npm run bundle && cui publish --latest",
|
|
22
21
|
"update": "updates --update ./"
|
|
23
22
|
},
|
|
24
23
|
"bugs": {
|
|
@@ -28,6 +27,8 @@
|
|
|
28
27
|
"camera.ui": ">=0.0.50",
|
|
29
28
|
"node": ">=22.0.0"
|
|
30
29
|
},
|
|
30
|
+
"os": [],
|
|
31
|
+
"cpu": [],
|
|
31
32
|
"homepage": "https://github.com/cameraui/plugins/tree/main/camera-ui-wasm-motion#readme",
|
|
32
33
|
"keywords": [
|
|
33
34
|
"camera-ui-plugin",
|