Add Android support

This commit is contained in:
Alex Gleason committed 2025-10-01 00:51:03 -05:00
1 parent 52fe76c9c6
commit c9a4576b19
61 files changed
+2194 -5

No files matched your search

+13 -1
View File
@@ -8,9 +8,20 @@
"build": "npm i --silent && vite build -l error && cp dist/index.html dist/404.html && echo 'Project built successfully!'",
"typecheck": "npm i --silent && tsc --noEmit",
"test": "npm i --silent && eslint && vitest run --reporter=dot --silent && echo 'All tests passed!'",
"deploy": "npm run build && npx -y nostr-deploy-cli deploy --skip-setup"
"deploy": "npm run build && npx -y nostr-deploy-cli deploy --skip-setup",
"android:build": "npm run build && npx cap sync android && npx cap build android",
"android:apk": "npm run android:sync && cd android && ./gradlew assembleDebug",
"android:open": "npx cap open android",
"android:sync": "npm run build && npx cap sync android",
"android:run": "npm run android:sync && npx cap run android"
},
"dependencies": {
"@capacitor/android": "^7.4.3",
"@capacitor/app": "^7.1.0",
"@capacitor/core": "^7.4.3",
"@capacitor/keyboard": "^7.0.3",
"@capacitor/splash-screen": "^7.0.3",
"@capacitor/status-bar": "^7.0.3",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
@@ -90,6 +101,7 @@
"zod": "^3.25.76"
},
"devDependencies": {
"@capacitor/cli": "^7.4.3",
"@eslint/js": "^9.9.0",
"@html-eslint/eslint-plugin": "^0.41.0",
"@html-eslint/parser": "^0.41.0",