feat(android): add capacitor wrapper project
This commit is contained in:
24
mobile/package.json
Normal file
24
mobile/package.json
Normal 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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user