@elizaos/capacitor-canvas 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/package.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "@elizaos/capacitor-canvas",
3
+ "version": "1.0.0",
4
+ "description": "Creates interactive canvases with layers, drawing primitives, and A2UI integration.",
5
+ "keywords": [
6
+ "canvas",
7
+ "drawing",
8
+ "rendering",
9
+ "a2ui"
10
+ ],
11
+ "main": "./dist/plugin.cjs.js",
12
+ "module": "./dist/esm/index.js",
13
+ "types": "./dist/esm/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/esm/index.d.ts",
17
+ "import": "./dist/esm/index.js",
18
+ "require": "./dist/plugin.cjs.js"
19
+ },
20
+ "./package.json": "./package.json"
21
+ },
22
+ "unpkg": "dist/plugin.js",
23
+ "files": [
24
+ "android/src/main/",
25
+ "android/build.gradle",
26
+ "dist/",
27
+ "ios/Sources/",
28
+ "ios/Plugin.xcodeproj/",
29
+ "electrobun/",
30
+ "*.podspec"
31
+ ],
32
+ "author": "elizaOS",
33
+ "license": "MIT",
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "https://github.com/elizaOS/eliza"
37
+ },
38
+ "scripts": {
39
+ "build": "npm run clean && tsc && rollup -c rollup.config.mjs",
40
+ "clean": "rimraf ./dist",
41
+ "prepublishOnly": "npm run build",
42
+ "watch": "tsc --watch"
43
+ },
44
+ "devDependencies": {
45
+ "@capacitor/android": "^8.0.0",
46
+ "@capacitor/core": "^8.3.1",
47
+ "@capacitor/ios": "^8.0.0",
48
+ "@rollup/plugin-node-resolve": "^16.0.0",
49
+ "rimraf": "^6.0.0",
50
+ "rollup": "^4.60.2",
51
+ "typescript": "^6.0.0"
52
+ },
53
+ "peerDependencies": {
54
+ "@capacitor/core": "^8.3.1"
55
+ },
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
59
+ "capacitor": {
60
+ "ios": {
61
+ "src": "ios",
62
+ "podName": "ElizaCapacitorCanvas"
63
+ },
64
+ "android": {
65
+ "src": "android"
66
+ }
67
+ },
68
+ "elizaos": {
69
+ "platforms": [
70
+ "browser",
71
+ "node"
72
+ ],
73
+ "runtime": "both",
74
+ "platformDetails": {
75
+ "browser": "Full support via HTML5 Canvas API (drawing, layers, web view, A2UI bridge)",
76
+ "node": "Full support via Electrobun native canvas and web view integration",
77
+ "ios": true,
78
+ "android": true
79
+ }
80
+ }
81
+ }