forked from reycn/listen1-desktop-fluent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.7 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
{
"name": "Listen1",
"version": "2.4.0",
"description": "One for all free music in China",
"main": "app/main.js",
"scripts": {
"postinstall": "install-app-deps",
"start": "electron ./app --enable-logging",
"dev": "NODE_ENV='development' npm run start",
"dist:mac": "CSC_IDENTITY_AUTO_DISCOVERY=false DEBUG=electron-builder electron-builder --platform darwin",
"dist": "electron-builder .",
"dist:linux": "./node_modules/.bin/electron-builder --linux --ia32 --x64",
"dist:linux32": "./node_modules/.bin/electron-builder --linux --ia32",
"dist:linux64": "./node_modules/.bin/electron-builder --linux --x64",
"dist:win": "./node_modules/.bin/electron-builder --win --ia32 --x64",
"dist:win32": "./node_modules/.bin/electron-builder --win --ia32",
"dist:win64": "./node_modules/.bin/electron-builder --win --x64"
},
"repository": {
"type": "git",
"url": "git+https://github.com/listen1/listen1_desktop.git"
},
"keywords": [
"Electron",
"Listen 1"
],
"author": "Listen 1 <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/listen1/listen1_desktop/issues"
},
"homepage": "https://github.com/listen1/listen1_desktop#readme",
"build": {
"appId": "com.listen1.listen1",
"productName": "Listen1",
"asar": true,
"artifactName": "${name}_${version}_${os}_${arch}.${ext}",
"dmg": {
"title": "Listen 1",
"icon": "build/disk.icns",
"background": "build/background.png",
"iconSize": 80,
"contents": [{
"x": 192,
"y": 344
},
{
"x": 448,
"y": 344,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"target": [
"tar.gz",
"appImage",
"deb"
]
},
"nsis": {
"runAfterFinish": false,
"deleteAppDataOnUninstall": true,
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"installerLanguages": "zh_CN",
"language": 2052,
"perMachine": true,
"createDesktopShortcut": true
},
"win": {
"target": "nsis",
"icon": "build/icon.ico"
}
},
"devDependencies": {
"electron": "^4.0.6",
"electron-builder": "^20.39.0"
},
"dependencies": {
"electron-debug": "^1.5.0",
"ewc": "0.0.1"
}
}