37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"name": "boss",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"prebuild": "chmod -R u+w .next 2>/dev/null || true; python3 -c \"import shutil; shutil.rmtree('.next', ignore_errors=True)\"",
|
|
"build": "next build",
|
|
"postbuild": "mkdir -p .next/standalone/.next && rm -rf .next/standalone/.next/static .next/standalone/public && cp -R .next/static .next/standalone/.next/static && cp -R public .next/standalone/public",
|
|
"start": "BOSS_RUNTIME_ROOT=\"$PWD\" BOSS_STATE_FILE=\"$PWD/data/boss-state.json\" node .next/standalone/server.js",
|
|
"lint": "eslint",
|
|
"apk:debug": "cd android && ./gradlew assembleDebug && cd .. && zsh ./scripts/publish-apk-to-public.sh",
|
|
"apk:release": "zsh ./scripts/build-release-apk.sh"
|
|
},
|
|
"dependencies": {
|
|
"@capacitor/android": "^8.2.0",
|
|
"@capacitor/app": "^8.1.0",
|
|
"@capacitor/cli": "^8.2.0",
|
|
"@capacitor/core": "^8.2.0",
|
|
"@capacitor/preferences": "^8.0.1",
|
|
"clsx": "^2.1.1",
|
|
"next": "16.2.1",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.1",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|