migu/electron/package.json
ThaUnknown 6a8d0cbea8
fix: uTP crash hanging torrent client, uTP peers not being preferred
feat: increase video buffer [hopefully]
2024-11-17 17:10:52 +01:00

125 lines
No EOL
3.3 KiB
JSON

{
"name": "Miru",
"version": "5.5.9",
"private": true,
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
"description": "Stream anime torrents, real-time with no waiting for downloads.",
"main": "build/main.js",
"homepage": "https://github.com/ThaUnknown/miru#readme",
"scripts": {
"start": "cross-env NODE_ENV=development webpack build && concurrently --kill-others \"npm run web:watch\" \"npm run electron:start\"",
"web:watch": "webpack serve",
"web:build": "cross-env NODE_ENV=production webpack build",
"electron:start": "electron ./build/main.js",
"build": "npm run web:build && electron-builder",
"publish": "npm run web:build && electron-builder -p always"
},
"devDependencies": {
"@electron/notarize": "^2.3.2",
"common": "workspace:*",
"discord-rpc": "4.0.1",
"electron": "32.1.1",
"electron-builder": "^24.13.3",
"electron-log": "^5.1.7",
"electron-updater": "^6.2.1",
"webpack-merge": "^6.0.1"
},
"dependencies": {
"@paymoapp/electron-shutdown-handler": "^1.1.2",
"utp-native": "^2.5.3"
},
"standard": {
"ignore": [
"bundle.js",
"bundle.map.js"
],
"env": [
"browser",
"node"
]
},
"build": {
"directories": {
"buildResources": "buildResources"
},
"electronDist": "electron-dist",
"asarUnpack": "**/*.node",
"protocols": {
"name": "miru",
"schemes": [
"miru"
]
},
"publish": [
{
"provider": "github",
"owner": "ThaUnknown",
"repo": "miru"
}
],
"appId": "com.github.thaunknown.miru",
"electronLanguages": [
"en-US"
],
"productName": "Miru",
"files": [
"build/**/*",
"!node_modules/**/*.{mk,a,o,h}"
],
"mac": {
"artifactName": "${os}-${name}-${version}-mac.${ext}",
"defaultArch": "universal",
"singleArchFiles": "node_modules/+(register-scheme|utp-native|fs-native-extensions)/**",
"category": "public.app-category.video",
"darkModeSupport": true,
"icon": "buildResources/icon.icns",
"hardenedRuntime": true,
"notarize": false,
"entitlements": "buildResources/entitlements.mac.plist",
"target": [
{
"arch": "universal",
"target": "default"
}
]
},
"win": {
"artifactName": "${os}-${name}-${version}.${ext}",
"target": [
"nsis",
"portable"
]
},
"linux": {
"artifactName": "${os}-${name}-${version}.${ext}",
"category": "AudioVideo;Video",
"description": "Bittorrent streaming software for cats",
"desktop": {
"Name": "Miru",
"Comment": "Bittorrent streaming software for cats",
"Keywords": "anime",
"Type": "Application",
"MimeType": "x-scheme-handler/miru;"
},
"target": [
{
"arch": "x64",
"target": "AppImage"
},
{
"arch": "x64",
"target": "deb"
}
]
},
"portable": {
"artifactName": "${os}-${name}-${version}-portable.${ext}"
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"perMachine": true,
"artifactName": "${os}-${name}-${version}-installer.${ext}"
}
}
}