-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 2.47 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "music-player",
"version": "1.0.8",
"description": "Just another music player",
"author": "Charlie Lodder",
"author": {
"name": "Charlie Lodder",
"email": "[email protected]"
},
"license": "MIT",
"repository": "https://github.com/C-Lodder/music-player",
"main": "app/js/main.js",
"scripts": {
"start": "electron .",
"build": "electron-builder",
"postcss": "postcss app/css/app.css -o dist/css/app.css",
"rollup": "rollup --config rollup.config.js",
"build:macos": "electron-builder -m --publish=never",
"build:win": "electron-builder -w --publish=never",
"build:linux": "electron-builder -l --publish=never"
},
"dependencies": {
"electron-store": "^8.2.0",
"plist": "^3.1.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
"electron": "^33.2.1",
"electron-builder": "^25.1.8",
"postcss": "^8.4.49",
"postcss-cli": "^11.0.0",
"postcss-discard-comments": "^7.0.0",
"postcss-easy-import": "^4.0.0",
"postcss-nested": "^7.0.2",
"rollup": "^2.79.2",
"rollup-plugin-terser": "^7.0.2"
},
"build": {
"appId": "music-player",
"productName": "Music Player",
"artifactName": "${productName}_${version}.${ext}",
"publish": [
{
"provider": "github"
}
],
"mac": {
"target": {
"target": "default",
"arch": [
"arm64",
"x64"
]
},
"artifactName": "${productName}_${arch}_${version}.${ext}",
"category": "macOS.application",
"hardenedRuntime": true
},
"files": [
"**/*",
"!package-lock.json",
"!README.md",
"!CHANGELOG.md",
"!.gitignore",
"!postcss.config.js",
"!rollup.config.js",
"!LICENSE"
],
"dmg": {
"artifactName": "${productName}_${arch}_${version}.${ext}",
"window": {
"x": 200,
"y": 100,
"width": 440,
"height": 220
},
"contents": [
{
"x": 130,
"y": 120
},
{
"x": 360,
"y": 120,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": "nsis"
},
"linux": {
"artifactName": "${productName}_${version}.${ext}",
"target": [
"deb",
"rpm",
"appImage"
],
"category": "Audio"
}
}
}