mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
193 lines
5.9 KiB
JSON
193 lines
5.9 KiB
JSON
{
|
|
"name": "youtube-music",
|
|
"productName": "YouTube Music",
|
|
"version": "2.1.1",
|
|
"description": "YouTube Music Desktop App - including custom plugins",
|
|
"main": "./dist/index.js",
|
|
"license": "MIT",
|
|
"repository": "th-ch/youtube-music",
|
|
"author": {
|
|
"name": "th-ch",
|
|
"email": "th-ch@users.noreply.github.com",
|
|
"url": "https://github.com/th-ch/youtube-music"
|
|
},
|
|
"build": {
|
|
"appId": "com.github.th-ch.youtube-music",
|
|
"productName": "YouTube Music",
|
|
"files": [
|
|
"!*",
|
|
"dist",
|
|
"license",
|
|
"!node_modules",
|
|
"node_modules/custom-electron-prompt/**",
|
|
"node_modules/@cliqz/adblocker-electron-preload/**",
|
|
"node_modules/@ffmpeg.wasm/core-mt/**",
|
|
"!node_modules/**/*.map",
|
|
"!node_modules/**/*.ts"
|
|
],
|
|
"mac": {
|
|
"identity": null,
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "assets/generated/icons/mac/icon.icns"
|
|
},
|
|
"win": {
|
|
"icon": "assets/generated/icons/win/icon.ico",
|
|
"target": [
|
|
{
|
|
"target": "nsis-web",
|
|
"arch": [
|
|
"x64",
|
|
"ia32",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "portable",
|
|
"arch": [
|
|
"x64",
|
|
"ia32",
|
|
"arm64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"nsisWeb": {
|
|
"runAfterFinish": false
|
|
},
|
|
"linux": {
|
|
"icon": "assets/generated/icons/png",
|
|
"category": "AudioVideo",
|
|
"target": [
|
|
"AppImage",
|
|
"snap",
|
|
"freebsd",
|
|
"deb",
|
|
"rpm"
|
|
]
|
|
},
|
|
"snap": {
|
|
"slots": [
|
|
{
|
|
"mpris": {
|
|
"interface": "mpris"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"directories": {
|
|
"output": "./pack/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "npm run build && playwright test",
|
|
"test:debug": "DEBUG=pw:browser* npm run build && playwright test",
|
|
"rollup:preload": "rollup -c rollup.preload.config.ts --configPlugin @rollup/plugin-typescript --bundleConfigAsCjs",
|
|
"rollup:main": "rollup -c rollup.main.config.ts --configPlugin @rollup/plugin-typescript --bundleConfigAsCjs",
|
|
"build": "npm run rollup:preload && npm run rollup:main",
|
|
"start": "npm run build && electron ./dist/index.js",
|
|
"start:debug": "ELECTRON_ENABLE_LOGGING=1 npm run start",
|
|
"postinstall": "patch-package",
|
|
"clean": "del-cli dist && del-cli pack",
|
|
"dist": "npm run clean && npm run build && electron-builder --win --mac --linux -p never",
|
|
"dist:linux": "npm run clean && npm run build && electron-builder --linux -p never",
|
|
"dist:mac": "npm run clean && npm run build && electron-builder --mac dmg:x64 -p never",
|
|
"dist:mac:arm64": "npm run clean && npm run build && electron-builder --mac dmg:arm64 -p never",
|
|
"dist:win": "npm run clean && npm run build && electron-builder --win -p never",
|
|
"dist:win:x64": "npm run clean && npm run build && electron-builder --win nsis-web:x64 -p never",
|
|
"lint": "eslint .",
|
|
"changelog": "auto-changelog",
|
|
"release:linux": "npm run clean && npm run build && electron-builder --linux -p always -c.snap.publish=github",
|
|
"release:mac": "npm run clean && npm run build && electron-builder --mac -p always",
|
|
"release:win": "npm run clean && npm run build && electron-builder --win -p always",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@cliqz/adblocker-electron": "1.26.8",
|
|
"@ffmpeg.wasm/core-mt": "0.12.0",
|
|
"@ffmpeg.wasm/main": "0.12.0",
|
|
"@foobar404/wave": "2.0.4",
|
|
"@jellybrick/electron-better-web-request": "1.0.4",
|
|
"@jellybrick/mpris-service": "2.1.4",
|
|
"@xhayper/discord-rpc": "1.0.23",
|
|
"async-mutex": "0.4.0",
|
|
"butterchurn": "3.0.0-beta.4",
|
|
"butterchurn-presets": "3.0.0-beta.4",
|
|
"conf": "10.2.0",
|
|
"custom-electron-prompt": "1.5.7",
|
|
"electron-debug": "3.2.0",
|
|
"electron-is": "3.0.0",
|
|
"electron-localshortcut": "3.2.1",
|
|
"electron-store": "8.1.0",
|
|
"electron-unhandled": "4.0.1",
|
|
"electron-updater": "6.1.4",
|
|
"fast-average-color": "9.4.0",
|
|
"filenamify": "6.0.0",
|
|
"howler": "2.2.4",
|
|
"html-to-text": "9.0.5",
|
|
"keyboardevent-from-electron-accelerator": "2.0.0",
|
|
"keyboardevents-areequal": "0.2.2",
|
|
"node-id3": "0.2.6",
|
|
"simple-youtube-age-restriction-bypass": "git+https://github.com/organization/Simple-YouTube-Age-Restriction-Bypass.git#v2.5.8",
|
|
"vudio": "2.1.1",
|
|
"x11": "2.3.0",
|
|
"youtubei.js": "6.4.1",
|
|
"ytpl": "2.3.0"
|
|
},
|
|
"overrides": {
|
|
"rollup": "4.0.2",
|
|
"node-gyp": "9.4.0",
|
|
"xml2js": "0.6.2",
|
|
"node-fetch": "2.7.0",
|
|
"@electron/universal": "1.4.2",
|
|
"@babel/runtime": "7.23.2"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.39.0",
|
|
"@rollup/plugin-commonjs": "25.0.5",
|
|
"@rollup/plugin-image": "3.0.3",
|
|
"@rollup/plugin-json": "6.0.1",
|
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
"@rollup/plugin-terser": "0.4.4",
|
|
"@rollup/plugin-typescript": "11.1.5",
|
|
"@rollup/plugin-wasm": "6.2.2",
|
|
"@total-typescript/ts-reset": "0.5.1",
|
|
"@types/electron-localshortcut": "3.1.1",
|
|
"@types/howler": "2.2.9",
|
|
"@types/html-to-text": "9.0.2",
|
|
"@typescript-eslint/eslint-plugin": "6.7.5",
|
|
"auto-changelog": "2.4.0",
|
|
"del-cli": "5.1.0",
|
|
"electron": "27.0.0",
|
|
"electron-builder": "24.6.4",
|
|
"electron-devtools-installer": "3.2.0",
|
|
"eslint": "8.51.0",
|
|
"eslint-plugin-import": "2.28.1",
|
|
"eslint-plugin-prettier": "5.0.1",
|
|
"node-gyp": "9.4.0",
|
|
"patch-package": "8.0.0",
|
|
"playwright": "1.39.0",
|
|
"rollup": "4.0.2",
|
|
"rollup-plugin-copy": "3.5.0",
|
|
"rollup-plugin-import-css": "3.3.5",
|
|
"rollup-plugin-string": "3.0.0",
|
|
"typescript": "5.2.2"
|
|
},
|
|
"auto-changelog": {
|
|
"hideCredit": true,
|
|
"package": true,
|
|
"unreleased": true,
|
|
"output": "changelog.md"
|
|
}
|
|
}
|