Files
sm-emby-share/package.json
T

30 lines
1.6 KiB
JSON
Raw Normal View History

2026-07-14 11:11:36 +08:00
{
"name": "sm-emby",
"private": true,
"description": "SM Emby - Emby 媒体服务器客户端。本文件仅作为 npm 风格的脚本入口,封装 Flutter / 打包命令,单一真相源仍在 scripts/*。",
"scripts": {
"dev": "powershell -ExecutionPolicy Bypass -File scripts/dev.ps1 run",
"dev:android": "powershell -ExecutionPolicy Bypass -File scripts/dev.ps1 android",
"dev:android:mac": "bash scripts/dev-android.sh",
"dev:macos": "bash scripts/dev-macos.sh",
"gen": "dart run build_runner build --delete-conflicting-outputs",
"watch": "dart run build_runner watch --delete-conflicting-outputs",
"build:windows": "powershell -ExecutionPolicy Bypass -File scripts/dev.ps1 build",
"build:macos": "bash scripts/build-macos.sh",
"build:apk": "powershell -ExecutionPolicy Bypass -File scripts/dev.ps1 build-apk",
"test": "flutter test",
"analyze": "flutter analyze",
"clean": "flutter clean",
"pub": "flutter pub get",
"doctor": "flutter doctor -v",
"installer": "powershell -ExecutionPolicy Bypass -File scripts/dev.ps1 installer",
"dmg": "bash scripts/build_dmg.sh",
"release:pc": "bash scripts/release-tag.sh pc",
"release:android": "bash scripts/release-tag.sh android",
"release:both": "bash scripts/release-tag.sh both",
"release:pc:win": "powershell -ExecutionPolicy Bypass -File scripts/release-tag.ps1 -Platform pc",
"release:android:win": "powershell -ExecutionPolicy Bypass -File scripts/release-tag.ps1 -Platform android",
"release:both:win": "powershell -ExecutionPolicy Bypass -File scripts/release-tag.ps1 -Platform both"
}
}