mirror of
https://github.com/tiennm99/loto.git
synced 2026-08-30 14:22:31 +00:00
Replace pnpm-lock.yaml with package-lock.json and drop pnpm-workspace.yaml. The three security overrides move to package.json#overrides, which npm reads natively; allowBuilds for esbuild is unnecessary because npm runs dependency build scripts by default. android/build:web drove the web build through corepack pnpm, so it would have broken once web/pnpm-lock.yaml was gone. It now uses npm --prefix. Fresh resolution picks up patched versions the old lockfile had pinned below, so npm audit reports no advisories where pnpm audit reported eight.
22 lines
688 B
JSON
22 lines
688 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": "npm --prefix ../web ci && npm --prefix ../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"
|
|
}
|
|
}
|