mirror of
https://gitlab.com/vyla-entertainment/TV.git
synced 2026-11-17 05:27:21 -05:00
ported sdk and this works
This commit is contained in:
12
package.json
12
package.json
@@ -6,8 +6,9 @@
|
||||
"scripts": {
|
||||
"start": "node server.js",
|
||||
"build:web": "node -e \"const fs = require('fs'); fs.rmSync('www', { recursive: true, force: true }); fs.mkdirSync('www'); ['css', 'js', 'assets'].forEach(d => fs.cpSync(d, 'www/' + d, { recursive: true })); fs.copyFileSync('index.html', 'www/index.html');\"",
|
||||
"dev": "npm run build:web && cap sync android && cd android && gradlew.bat assembleDebug && cd .. && node -e \"require('fs').copyFileSync('android/app/build/outputs/apk/debug/app-debug.apk', 'Vyla-TV-debug.apk')\"",
|
||||
"release": "npm run build:web && cap sync android && cd android && gradlew.bat assembleRelease && cd .. && node -e \"require('fs').copyFileSync('android/app/build/outputs/apk/release/app-release-unsigned.apk', 'Vyla-TV-release.apk')\""
|
||||
"dev": "node scripts/build-apk.mjs",
|
||||
"release": "npm run build:web && cap sync android && cd android && gradlew.bat assembleRelease && cd .. && node -e \"require('fs').copyFileSync('android/app/build/outputs/apk/release/app-release-unsigned.apk', 'Vyla-TV-release.apk')\"",
|
||||
"android": "node scripts/build-android.mjs && npx cap sync android"
|
||||
},
|
||||
"dependencies": {
|
||||
"@capacitor/android": "^6.2.2",
|
||||
@@ -15,7 +16,12 @@
|
||||
"@capacitor/core": "^6.2.2",
|
||||
"@vyla-entertainment/sdk": "^1.14.0",
|
||||
"dotenv": "^16.4.5",
|
||||
"express": "^4.19.2"
|
||||
"express": "^4.19.2",
|
||||
"hls.js": "^1.7.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"buffer": "^6.0.3",
|
||||
"esbuild": "^0.25.12"
|
||||
},
|
||||
"main": "server.js",
|
||||
"keywords": [],
|
||||
|
||||
Reference in New Issue
Block a user