@kubohiroya/turbowarp-teachable-machine 4.0.1 → 4.0.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/dist/posenet.js CHANGED
@@ -1,6 +1,6 @@
1
1
  var package_default = {
2
2
  name: "@kubohiroya/turbowarp-teachable-machine",
3
- version: "4.0.1",
3
+ version: "4.0.2",
4
4
  description: "A TurboWarp extension for recognition using Teachable Machine pose, image, and audio models.",
5
5
  author: "Hiroya Kubo <hiroya@cuc.ac.jp>",
6
6
  license: "MPL-2.0",
@@ -24,8 +24,10 @@ var package_default = {
24
24
  "./dist/backend-wasm.js": "./dist/backend-wasm.js",
25
25
  "./dist/backend-webgpu.js": "./dist/backend-webgpu.js",
26
26
  "./runtime": "./dist/runtime.js",
27
- "./dist/tm.js": "./dist/tm.js",
28
- "./package.json": "./package.json"
27
+ "./dist/teachable-machine.js": "./dist/teachable-machine.js",
28
+ "./package.json": "./package.json",
29
+ "./dist/teachable-machine-webgpu.js": "./dist/teachable-machine-webgpu.js",
30
+ "./dist/teachable-machine-wasm.js": "./dist/teachable-machine-wasm.js"
29
31
  },
30
32
  type: "module",
31
33
  files: [
@@ -38,8 +40,8 @@ var package_default = {
38
40
  "schemas/",
39
41
  "docs/fixed-input-editors.ja.md"
40
42
  ],
41
- unpkg: "./dist/tm.js",
42
- jsdelivr: "./dist/tm.js",
43
+ unpkg: "./dist/teachable-machine.js",
44
+ jsdelivr: "./dist/teachable-machine.js",
43
45
  publishConfig: {
44
46
  "access": "public",
45
47
  "registry": "https://registry.npmjs.org/"
@@ -49,7 +51,7 @@ var package_default = {
49
51
  scripts: {
50
52
  "dev": "vite build --watch",
51
53
  "typecheck": "tsc --noEmit",
52
- "build": "pnpm build:extension && pnpm build:composition && pnpm build:runtime && pnpm build:backends && pnpm build:posenet && pnpm build:notices && pnpm build:types",
54
+ "build": "pnpm build:extension && pnpm build:standalone && pnpm build:composition && pnpm build:runtime && pnpm build:backends && pnpm build:posenet && pnpm build:notices && pnpm build:types",
53
55
  "build:extension": "vite build",
54
56
  "build:composition": "vite build --config vite.composition.config.ts",
55
57
  "build:runtime": "vite build --config vite.runtime.config.ts",
@@ -69,7 +71,8 @@ var package_default = {
69
71
  "pack:check": "npm pack --dry-run --ignore-scripts",
70
72
  "release:check": "npm publish --dry-run --access public --tag latest",
71
73
  "check": "npm run typecheck && npm run test && npm run build && npm run types:composition:check && npm run types:posenet:check && npm run docs:check && npm run docs:pages:check && npm run release:consistency:check && npm run check:dist && npm run archive:check && npm run pack:check",
72
- "prepack": "npm run build && npm run release:consistency:check"
74
+ "prepack": "npm run build && npm run release:consistency:check",
75
+ "build:standalone": "vite build --config vite.standalone.config.ts --mode webgpu && vite build --config vite.standalone.config.ts --mode wasm"
73
76
  },
74
77
  devDependencies: {
75
78
  "@kubohiroya/turbowarp-camera-source": "^0.21.1",