You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ytDownloader/package.json

101 lines
2.1 KiB
JSON

{
"dependencies": {
"electron-updater": "^5.3.0",
"yt-dlp-wrap-plus": "^2.3.16"
},
"name": "ytdownloader",
"version": "3.13.0",
"main": "main.js",
"scripts": {
"start": "electron .",
"watch": "nodemon --exec electron .",
"dist": "electron-builder",
"debug": "electron --inspect=5858 .",
"windows": "./windows.sh && electron-builder -w",
"linux": "./linux.sh && electron-builder -l",
"mac": "./mac.sh && electron-builder -m",
"publish-linux": "cp ../ffmpeg-bin/ffmpeg . && electron-builder -l --publish=always",
"publish-windows": "cp ../ffmpeg-bin/ffmpeg.exe . && electron-builder -w --publish=always",
"publish-mac": "cp ../ffmpeg-bin/mac/ffmpeg . && electron-builder -m --publish=always"
},
"author": {
"name": "Andrew",
"email": "aandrew.me@pm.me"
},
"publish": {
"provider": "github",
"owner": "aandrew-me",
"repo": "ytDownloader",
"private": false
},
"license": "GPL-3.0",
"description": "Download videos and audios from YouTube and many other sites",
"devDependencies": {
"electron": "^24.1.2",
"electron-builder": "^23.6.0"
},
"build": {
"productName": "YTDownloader",
"appId": "org.aandrew.ytdownloader",
"artifactName": "${productName}.${ext}",
"files": [
"./resources/**/*",
"main.js",
"./html/**/*",
"./resources/**/*",
"./public/**/*",
"package.json",
"./assets/**/*",
"./src/**/*",
"ffmpeg*",
"translations"
],
"mac": {
"category": "Utility",
"target": [
"zip"
],
"artifactName": "${productName}_Mac.${ext}"
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
],
"sign": false
},
"asar": false,
"directories": {
"buildResources": "resources",
"output": "release"
},
"linux": {
"target": [
"Appimage",
"snap",
"rpm"
],
"category": "Utility"
},
"snap": {
"grade": "stable"
},
"win": {
"target": "nsis",
"artifactName": "${productName}_Win.${ext}"
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false
}
}
}