/
package.json
88 lines (88 loc) · 2.19 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"dependencies": {
"downloads-folder": "^1.0.1",
"electron-is-dev": "^1.0.1",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"youtube-mp3-downloader": "git+https://github.com/moshfeu/youtube-mp3-downloader.git",
"youtube-playlist": "^1.0.2"
},
"name": "y2mp3",
"appname": "y2mp3",
"productName": "y2mp3",
"version": "1.0.1",
"main": "main.js",
"devDependencies": {
"@types/fluent-ffmpeg": "^2.1.8",
"@types/react": "^16.4.18",
"@types/react-dom": "^16.0.9",
"autoprefixer": "^9.3.1",
"css-loader": "^1.0.1",
"electron": "^3.0.8",
"electron-builder": "^20.28.4",
"electron-icon-maker": "0.0.4",
"ffbinaries": "^1.1.0",
"file-loader": "^2.0.0",
"node-sass": "^4.10.0",
"object-assign": "^4.1.1",
"postcss-loader": "^3.0.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"ts-loader": "^5.2.2",
"typescript": "^3.1.3",
"webpack": "^4.21.0",
"webpack-cli": "^3.1.2",
"ytdl-core": "^0.26.3"
},
"scripts": {
"webpack": "webpack --watch",
"electron": "electron .",
"pack": "npm run build && electron-builder --dir",
"dist": "npm run build && electron-builder",
"dist-windows": "npm run dist -- --win",
"generate-icons": "./node_modules/.bin/electron-icon-maker --input=app-resources/logo-full-size.png --output=resources",
"build": "webpack --config webpack.prod.js"
},
"author": "MosheF",
"license": "MIT",
"description": "An app to download youtube videos as mp3",
"build": {
"appId": "moshfeu.y2mp3",
"files": [
"index.html",
"main.js",
"resources/**"
],
"mac": {
"icon": "resources/icons/mac/icon.icns"
},
"dmg": {
"icon": "resources/icons/mac/icon.icns",
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"target": [
"AppImage",
"deb"
]
},
"win": {
"target": "NSIS",
"icon": "resources/icons/win/icon.ico"
},
"nsis": {
"installerIcon": "resources/icons/win/icon.ico"
}
}
}