feat(android): add Capacitor setup for Android APK builds

- Migrate web assets from root to www/ directory
- Add Android native project with Capacitor 8
- Add GitHub Actions workflow for automated APK builds
- Configure app identity and splash screens
This commit is contained in:
2026-01-21 18:08:57 +01:00
parent 49e981a4b5
commit fd06e2fe83
87 changed files with 2416 additions and 6 deletions

26
package.json Normal file
View File

@@ -0,0 +1,26 @@
{
"name": "web-imposter-game",
"version": "1.0.0",
"description": "Role-based impostor-style game for mobile, 100% in the browser with no backend.",
"main": "script.js",
"scripts": {
"cap:sync": "npx cap sync",
"cap:open:android": "npx cap open android",
"cap:run:android": "npx cap run android"
},
"repository": {
"type": "git",
"url": "https://git.dariosevilla.es/dasemu/web-imposter-game"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@capacitor/android": "^8.0.1",
"@capacitor/cli": "^8.0.1",
"@capacitor/core": "^8.0.1"
},
"devDependencies": {
"typescript": "^5.9.3"
}
}