1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-25 03:33:14 +01:00
lossless-cut/package.json

458 lines
12 KiB
JSON
Raw Normal View History

2016-10-30 11:57:12 +01:00
{
"name": "lossless-cut",
"productName": "LosslessCut",
2020-03-04 11:41:40 +01:00
"description": "The swiss army knife of lossless video/audio editing",
"copyright": "Copyright © 2021 ${author}",
2024-05-27 00:49:41 +02:00
"version": "3.61.1",
2024-03-21 16:28:25 +01:00
"main": "./out/main/index.js",
2020-03-04 11:41:40 +01:00
"homepage": "./",
2016-10-30 11:57:12 +01:00
"scripts": {
2024-03-21 16:28:25 +01:00
"clean": "rimraf dist out ts-dist build-resources icon-build",
"start": "electron-vite preview",
"dev": "electron-vite dev -w",
"icon-gen": "mkdirp icon-build build-resources/appx && tsx script/icon-gen.mts",
"download-ffmpeg-darwin-x64": "mkdirp ffmpeg/darwin-x64 && cd ffmpeg/darwin-x64 && wget https://github.com/mifi/ffmpeg-build-script/releases/download/6.0-1/ffmpeg-macos-X64 -O ffmpeg && wget https://github.com/mifi/ffmpeg-build-script/releases/download/6.0-1/ffprobe-macos-X64 -O ffprobe && chmod +x ffmpeg && chmod +x ffprobe",
"download-ffmpeg-darwin-arm64": "mkdirp ffmpeg/darwin-arm64 && cd ffmpeg/darwin-arm64 && wget https://github.com/mifi/ffmpeg-build-script/releases/download/6.0-1/ffmpeg-macos-ARM64 -O ffmpeg && wget https://github.com/mifi/ffmpeg-build-script/releases/download/6.0-1/ffprobe-macos-ARM64 -O ffprobe && chmod +x ffmpeg && chmod +x ffprobe",
"download-ffmpeg-linux-x64": "mkdirp ffmpeg/linux-x64 && cd ffmpeg/linux-x64 && wget https://github.com/mifi/ffmpeg-builds/releases/download/6.0/ffmpeg-n6.0-12-ga6dc92968a-linux64-gpl-shared-6.0.tar.xz -O ffmpeg-ffprobe.xz && tar -xv -f ffmpeg-ffprobe.xz && mv ffmpeg-n6.0-12-ga6dc92968a-linux64-gpl-shared-6.0 extracted && mkdirp lib && mv extracted/bin/ffmpeg extracted/bin/ffprobe extracted/lib/lib*.so* lib",
"download-ffmpeg-win32-x64": "mkdirp ffmpeg/win32-x64 && cd ffmpeg/win32-x64 && npx download-cli https://github.com/mifi/ffmpeg-builds/releases/download/6.0/ffmpeg-n6.0-12-ga6dc92968a-win64-gpl-shared-6.0.zip --out . --filename ffmpeg-ffprobe.zip && 7z x ffmpeg-ffprobe.zip && mkdirp lib && cd ffmpeg-n6.0-12-ga6dc92968a-win64-gpl-shared-6.0/bin && npx shx mv ffmpeg.exe ffprobe.exe *.dll ../../lib",
2024-03-21 16:28:25 +01:00
"build": "yarn icon-gen && electron-vite build",
2024-01-02 16:45:43 +01:00
"tsc": "tsc --build",
2023-02-16 16:40:09 +01:00
"test": "vitest",
2024-03-21 16:28:25 +01:00
"lint": "eslint --ext .js,.ts,.jsx,.tsx,.mjs,.mts .",
2024-05-14 21:58:29 +02:00
"pack-mac": "yarn build && electron-builder --mac dmg",
"pack-mas-dev": "yarn build && electron-builder -mac mas-dev -c.mas.provisioningProfile=LosslessCut_Dev.provisionprofile -c.mas.identity='Apple Development: Mikael Finstad (JH4PH8B3C8)'",
"pack-win": "yarn build && electron-builder --win zip --x64",
"postinstall": "electron-builder install-app-deps",
2024-03-21 16:28:25 +01:00
"version": "tsx script/postversion.mts && git add no.mifi.losslesscut.appdata.xml",
"pack-linux": "yarn build && electron-builder --linux",
"scan-i18n": "i18next --config i18next-parser.config.mjs",
2021-11-15 08:32:27 +01:00
"generate-licenses": "yarn licenses generate-disclaimer > licenses.txt && echo '\n\nffmpeg is licensed under GPL v2+:\n\nhttp://www.gnu.org/licenses/old-licenses/gpl-2.0.html' >> licenses.txt"
2016-10-30 11:57:12 +01:00
},
"author": {
"name": "Mikael Finstad",
"email": "finstaden@gmail.com",
2020-04-05 12:32:21 +02:00
"url": "https://mifi.no/losslesscut/"
2016-10-30 11:57:12 +01:00
},
2017-02-11 14:47:17 +01:00
"repository": {
"type": "git",
"url": "https://github.com/mifi/lossless-cut.git"
2017-02-11 14:46:06 +01:00
},
"license": "GPL-2.0-only",
2016-10-30 11:57:12 +01:00
"devDependencies": {
2023-02-16 17:10:34 +01:00
"@fontsource/open-sans": "^4.5.14",
2024-03-21 16:28:25 +01:00
"@radix-ui/colors": "^0.1.8",
2024-05-27 21:10:27 +02:00
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-switch": "^1.0.1",
2024-03-21 16:28:25 +01:00
"@tsconfig/node18": "^18.2.2",
2024-01-02 16:45:43 +01:00
"@tsconfig/strictest": "^2.0.2",
"@tsconfig/vite-react": "^3.0.0",
2024-03-15 14:45:33 +01:00
"@types/color": "^3.0.6",
"@types/css-modules": "^1.0.5",
2024-02-20 15:48:40 +01:00
"@types/eslint": "^8",
2024-03-21 16:28:25 +01:00
"@types/express": "^4.17.21",
"@types/lodash": "^4.14.202",
2024-03-21 16:28:25 +01:00
"@types/luxon": "^3.4.2",
"@types/morgan": "^1.9.9",
2024-03-02 18:12:35 +01:00
"@types/node": "18",
2024-03-15 14:45:33 +01:00
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
2022-11-23 05:35:36 +01:00
"@types/sortablejs": "^1.15.0",
2024-03-21 16:28:25 +01:00
"@types/yargs-parser": "^21.0.3",
2024-02-20 15:48:40 +01:00
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@uidotdev/usehooks": "^2.4.1",
2023-02-16 15:37:33 +01:00
"@vitejs/plugin-react": "^3.1.0",
"color": "^3.1.0",
2021-03-30 13:18:46 +02:00
"concurrently": "^6.0.0",
"csv-parse": "^4.15.3",
"csv-stringify": "^5.6.2",
2024-03-21 16:28:25 +01:00
"data-uri-to-buffer": "^4.0.0",
"electron": "^27.0.0",
"electron-builder": "^24.6.4",
2022-11-22 16:23:41 +01:00
"electron-devtools-installer": "^3.2.0",
2024-03-21 16:28:25 +01:00
"electron-vite": "^2.1.0",
2024-02-20 15:48:40 +01:00
"eslint": "^8.2.0",
"eslint-config-mifi": "^0.0.3",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
2024-02-20 15:48:40 +01:00
"eslint-plugin-unicorn": "^51.0.1",
2022-11-23 06:12:37 +01:00
"evergreen-ui": "^6.13.1",
"fast-xml-parser": "^4.2.5",
2023-02-16 04:32:17 +01:00
"framer-motion": "^9.0.3",
"i18next-parser": "^7.6.0",
2024-03-21 16:28:25 +01:00
"icon-gen": "^4.0.0",
"immer": "^10.0.2",
"ky": "^0.33.1",
"luxon": "^3.3.0",
2020-03-31 09:51:40 +02:00
"mkdirp": "^1.0.3",
"mousetrap": "^1.6.5",
"nanoid": "^5.0.6",
2023-02-16 15:37:33 +01:00
"p-map": "^5.5.0",
2024-02-12 16:19:38 +01:00
"p-retry": "^6.2.0",
"pify": "^5.0.0",
2023-02-03 10:48:23 +01:00
"pretty-bytes": "^6.0.0",
2022-11-23 06:22:52 +01:00
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^12.1.5",
2021-01-23 17:06:23 +01:00
"react-icons": "^4.1.0",
2022-11-23 06:24:18 +01:00
"react-lottie-player": "^1.5.0",
2022-11-23 05:35:36 +01:00
"react-sortablejs": "^6.1.4",
"react-syntax-highlighter": "^15.4.3",
2022-11-23 06:23:53 +01:00
"react-use": "^17.4.0",
2024-03-21 16:28:25 +01:00
"rimraf": "^5.0.5",
2024-05-27 21:10:27 +02:00
"sass": "^1.77.2",
"screenfull": "^6.0.2",
"scroll-into-view-if-needed": "^2.2.28",
"sharp": "^0.32.6",
2020-11-27 22:43:06 +01:00
"smpte-timecode": "^1.2.3",
"sortablejs": "^1.13.0",
2024-05-11 10:48:14 +02:00
"sweetalert2": "^11.11.0",
2022-11-23 06:25:28 +01:00
"sweetalert2-react-content": "^5.0.7",
2024-03-15 14:45:33 +01:00
"tiny-invariant": "^1.3.3",
2024-03-21 16:28:25 +01:00
"tsx": "^4.7.1",
2024-02-20 15:48:40 +01:00
"typescript": "~5.2.0",
"use-debounce": "^5.1.0",
"use-trace-update": "^1.3.0",
"vite": "^4.5.3",
2024-03-21 16:28:25 +01:00
"vitest": "^1.2.2"
},
"dependencies": {
2023-08-21 13:15:23 +02:00
"@electron/remote": "^2.0.10",
2024-03-21 16:28:25 +01:00
"@octokit/core": "5",
"cue-parser": "^0.3.0",
"electron-store": "5.1.1",
2022-11-22 16:23:41 +01:00
"electron-unhandled": "^4.0.1",
2024-03-21 16:28:25 +01:00
"execa": "^8.0.1",
"express": "^4.19.2",
"express-async-handler": "^1.2.0",
"file-type": "16",
"fs-extra": "^8.1.0",
"i18next": "^22.4.10",
"i18next-fs-backend": "^2.1.1",
"json5": "^2.2.2",
2022-01-14 08:12:38 +01:00
"lodash": "^4.17.19",
"mime-types": "^2.1.14",
"morgan": "^1.10.0",
2024-04-21 20:58:27 +02:00
"semver": "^7.6.0",
2024-03-21 16:28:25 +01:00
"string-to-stream": "^3.0.1",
2022-09-04 16:44:48 +02:00
"winston": "^3.8.1",
"yargs-parser": "^21.1.1",
"zod": "^3.22.5"
},
"build": {
2020-03-31 09:37:23 +02:00
"directories": {
"buildResources": "build-resources"
},
"files": [
2024-03-21 16:28:25 +01:00
"out/**/*"
],
"asar": {
"smartUnpack": false
},
"appId": "no.mifi.losslesscut",
2022-03-09 16:58:03 +01:00
"artifactName": "${productName}-${os}-${arch}.${ext}",
2024-03-21 16:28:25 +01:00
"extraResources": [
{
"from": "locales",
"to": "locales"
}
],
"mac": {
"hardenedRuntime": true,
"appId": "no.mifi.losslesscut-mac",
"category": "public.app-category.productivity",
2023-11-01 12:50:35 +01:00
"notarize": true,
2022-11-23 04:52:09 +01:00
"target": [
{
2022-11-23 04:59:26 +01:00
"target": "mas",
2022-11-23 04:52:09 +01:00
"arch": "universal"
2022-11-23 04:59:26 +01:00
},
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
2022-11-23 04:52:09 +01:00
}
],
"electronLanguages": [
"en"
],
"extraResources": [
2020-03-31 20:17:44 +02:00
{
"from": "ffmpeg/darwin-${arch}",
"to": "."
2020-03-31 20:17:44 +02:00
}
],
"icon": "icon-build/app.icns",
"fileAssociations": [
{
"ext": [
"webm",
"mkv",
"flv",
"vob",
"ogv",
"drc",
"gif",
"gifv",
"mng",
"avi",
"mts",
"m2ts",
"ts",
"mov",
"qt",
"wmv",
"yuv",
"rm",
"rmvb",
"asf",
"amv",
"mp4",
"m4v",
"mpg",
"mp2",
"mpeg",
"mpe",
"mpv",
"m2v",
"svi",
"3gp",
"3g2",
"mxf",
"roq",
"nsv",
"f4v",
"f4p",
"f4a",
"f4b"
],
"name": "Video",
"description": "Video files",
"role": "Viewer"
},
{
"ext": [
"aa",
"aac",
"aax",
"act",
"aiff",
"alac",
"amr",
"ape",
"au",
"awb",
"dct",
"dss",
"dvf",
"flac",
"gsm",
"iklax",
"ivs",
"m4a",
"m4b",
"m4p",
"mmf",
"mp3",
"mpc",
"msv",
"nmf",
"nsf",
"ogg",
"oga",
"mogg",
"opus",
"ra",
"rf64",
"sln",
"tta",
"voc",
"vox",
"wav",
"wma",
"wv",
"8svx",
"cda"
],
"name": "Audio",
"description": "Audio files",
"role": "Viewer"
}
]
},
"mas": {
"hardenedRuntime": false,
2023-10-19 11:13:23 +02:00
"notarize": false,
"entitlements": "entitlements.mas.plist",
"entitlementsInherit": "entitlements.mas.inherit.plist",
"provisioningProfile": "LosslessCut_Mac_App_Store_provisioning_profile.provisionprofile",
"binaries": [
"Contents/Resources/ffmpeg",
"Contents/Resources/ffprobe"
]
},
"win": {
2020-02-11 15:45:04 +01:00
"target": [
2022-07-20 12:30:42 +02:00
"7z",
2020-03-29 16:56:01 +02:00
"appx"
2020-02-11 15:45:04 +01:00
],
"extraResources": [
{
"from": "ffmpeg/win32-${arch}/lib",
"to": "."
}
],
"icon": "icon-build/app.ico",
"fileAssociations": [
{
"ext": [
"webm",
"mkv",
"flv",
"vob",
"ogv",
"drc",
"gif",
"gifv",
"mng",
"avi",
"mts",
"m2ts",
"ts",
"mov",
"qt",
"wmv",
"yuv",
"rm",
"rmvb",
"asf",
"amv",
"mp4",
"m4v",
"mpg",
"mp2",
"mpeg",
"mpe",
"mpv",
"m2v",
"svi",
"3gp",
"3g2",
"mxf",
"roq",
"nsv",
"f4v",
"f4p",
"f4a",
"f4b"
],
"name": "Video",
"description": "Video files",
"role": "Viewer"
},
{
"ext": [
"aa",
"aac",
"aax",
"act",
"aiff",
"alac",
"amr",
"ape",
"au",
"awb",
"dct",
"dss",
"dvf",
"flac",
"gsm",
"iklax",
"ivs",
"m4a",
"m4b",
"m4p",
"mmf",
"mp3",
"mpc",
"msv",
"nmf",
"nsf",
"ogg",
"oga",
"mogg",
"opus",
"ra",
"rf64",
"sln",
"tta",
"voc",
"vox",
"wav",
"wma",
"wv",
"8svx",
"cda"
],
"name": "Audio",
"description": "Audio files",
"role": "Viewer"
}
]
},
2020-03-29 17:23:19 +02:00
"appx": {
"applicationId": "LosslessCut",
2020-03-29 18:19:39 +02:00
"identityName": "57275mifi.no.LosslessCut",
"publisher": "CN=2C479316-22A8-4D63-BC38-F0FB9AB0B974",
2020-03-29 17:39:18 +02:00
"publisherDisplayName": "mifi.no"
2020-03-29 17:23:19 +02:00
},
"linux": {
2020-03-29 13:02:18 +02:00
"executableName": "losslesscut",
"extraResources": [
2022-03-09 16:42:17 +01:00
{
"from": "ffmpeg/linux-${arch}/lib",
"to": "."
}
],
2022-11-23 05:35:44 +01:00
"category": "AudioVideo",
2019-11-04 10:18:22 +01:00
"icon": "icon-build/app-512.png",
2019-11-05 11:29:54 +01:00
"target": [
{
"arch": "x64",
"target": "tar.bz2"
},
{
"arch": "x64",
"target": "AppImage"
},
{
"arch": "x64",
"target": "snap"
},
{
"arch": "arm64",
"target": "tar.bz2"
},
{
"arch": "armv7l",
"target": "tar.bz2"
}
2020-02-10 08:40:38 +01:00
]
},
"snap": {
2020-12-10 13:14:41 +01:00
"plugs": [
2021-02-06 22:32:13 +01:00
"default",
2020-12-10 13:14:41 +01:00
"removable-media"
]
}
2022-11-22 15:09:37 +01:00
},
2023-12-10 05:40:46 +01:00
"packageManager": "yarn@4.0.2",
2023-10-20 09:25:15 +02:00
"resolutions": {
"app-builder-lib@24.8.0": "patch:app-builder-lib@npm%3A24.8.0#./.yarn/patches/app-builder-lib-npm-24.8.0-51e1f5cd3f.patch"
}
2016-10-30 11:57:12 +01:00
}