Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 2.79 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 2.79 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "dj-scrobbler",
"productName": "DJ Scrobbler",
"version": "0.6.1",
"description": "Scrobble tracks from DJ sets on YouTube",
"author": "Eric Castro <errrick@gmail.com>",
"license": "MIT",
"main": "main.js",
"scripts": {
"start": "electron .",
"dev": "electron . --developer",
"poc:next-dj": "node scripts/pocs/next-dj.js",
"test": "node --test tests/run-tests.js",
"build": "electron-builder",
"build:mac": "electron-builder --mac",
"build:win": "electron-builder --win",
"build:linux": "electron-builder --linux",
"release": "electron-builder --publish always"
},
"build": {
"appId": "com.djscrobbler.app",
"productName": "DJ Scrobbler",
"copyright": "Copyright © 2025–2026 Eric Castro",
"directories": {
"buildResources": "build-resources",
"output": "dist"
},
"files": [
"main.js",
"preload.js",
"lib/**/*",
"plugins/**/*",
"renderer/**/*",
"fonts/**/*",
"images/**/*",
"!images/electron-icons/**/*.svg",
"!images/electron-icons/**/*.iconset",
"!**/node_modules/.cache/**",
"!**/*.map"
],
"afterPack": "./scripts/afterPack.js",
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
},
{
"target": "zip",
"arch": [
"arm64",
"x64"
]
}
],
"icon": "images/electron-icons/neon-night/icon.icns",
"category": "public.app-category.music",
"darkModeSupport": true,
"gatekeeperAssess": false,
"identity": null
},
"dmg": {
"title": "DJ Scrobbler ${version}",
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "images/electron-icons/neon-night/icon.ico"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
},
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "images/electron-icons/neon-night/png",
"category": "Audio"
},
"publish": {
"provider": "github",
"owner": "ericcastro",
"repo": "dj-scrobbler"
}
},
"devDependencies": {
"electron": "^41.3.0",
"electron-builder": "^26.8.1"
},
"dependencies": {
"electron-updater": "^6.8.3"
}
}