Files
loto/android/package.json
T
tiennm99 d1b68b2fe4 build(android): build from web/ instead of the loto submodule
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.
2026-08-03 18:02:13 +07:00

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"
}
}