mirror of
https://github.com/tiennm99/loto.git
synced 2026-08-31 20:32:55 +00:00
web/ and android/ now live in one repository, so the pinned submodule at android/loto is redundant. Point Capacitor's webDir and the build script at ../web directly, and drop the pin-bumping workflow from the docs.
22 lines
739 B
JSON
22 lines
739 B
JSON
{
|
|
"name": "loto-android",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Capacitor wrapper that bundles the web/ app into a fully-offline Android APK.",
|
|
"scripts": {
|
|
"build:web": "corepack pnpm@11.1.1 --dir ../web install --frozen-lockfile && corepack pnpm@11.1.1 --dir ../web run build",
|
|
"sync": "cap sync android",
|
|
"build": "npm run build:web && npm run sync",
|
|
"open": "cap open android",
|
|
"assemble:debug": "cd android && ./gradlew :app:assembleDebug",
|
|
"assemble:release": "cd android && ./gradlew :app:bundleRelease :app:assembleRelease"
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/cli": "^8.3.3"
|
|
},
|
|
"dependencies": {
|
|
"@capacitor/android": "^8.3.3",
|
|
"@capacitor/core": "^8.3.3"
|
|
}
|
|
}
|