feat(android): add capacitor wrapper project

This commit is contained in:
DeskClaw Bot
2026-04-21 16:15:22 +00:00
Unverified
parent 3075310961
commit 60432833f2
5 changed files with 105 additions and 0 deletions

24
mobile/package.json Normal file
View File

@@ -0,0 +1,24 @@
{
"name": "deskclaw-mobile",
"private": true,
"version": "0.0.0",
"type": "module",
"packageManager": "pnpm@10.31.0",
"scripts": {
"web:build": "cd .. && pnpm run build:vite",
"web:sync": "node scripts/sync-web.mjs",
"android:init": "pnpm install && pnpm exec cap init DeskClaw dev.deskclaw.app --web-dir=www --npm-client=pnpm",
"android:add": "pnpm exec cap add android",
"android:sync": "pnpm exec cap sync android",
"android:apk:debug": "cd android && ./gradlew assembleDebug",
"android:apk:release": "cd android && ./gradlew assembleRelease"
},
"dependencies": {
"@capacitor/android": "^7.4.3",
"@capacitor/core": "^7.4.3"
},
"devDependencies": {
"@capacitor/cli": "^7.4.3"
}
}