-
Notifications
You must be signed in to change notification settings - Fork 335
/
package.json
118 lines (118 loc) · 2.68 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
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "Pinokio",
"version": "3.0.26",
"homepage": "https://pinokio.computer",
"description": "pinokio",
"main": "main.js",
"email": "[email protected]",
"author": "https://twitter.com/cocktailpeanut",
"scripts": {
"start": "electron .",
"pack": "./node_modules/.bin/electron-builder --dir",
"dist": "npm run monkeypatch && export SNAPCRAFT_BUILD_ENVIRONMENT=host && export SNAP_DESTRUCTIVE_MODE='true' && ./node_modules/.bin/electron-builder -mwl && npm run zip",
"zip": "node script/zip",
"monkeypatch": "cp temp/yarn.js node_modules/app-builder-lib/out/util/yarn.js && cp temp/rebuild.js node_modules/@electron/rebuild/lib/src/rebuild.js",
"postinstall": "npm run monkeypatch && ./node_modules/.bin/electron-builder install-app-deps"
},
"build": {
"appId": "computer.pinokio",
"asarUnpack": [
"node_modules/go-get-folder-size/**/*",
"node_modules/7zip-bin/**/*",
"node_modules/sweetalert2/**/*",
"node_modules/@cocktailpeanut/**/*"
],
"nsis": { "include": "build/installer.nsh" },
"extraResources": [
"./script/**"
],
"protocols": [
{
"name": "pinokio",
"schemes": [
"pinokio"
]
}
],
"dmg": {
"background": "./assets/background.png",
"contents": [
{
"x": 130,
"y": 250
},
{
"x": 410,
"y": 80,
"type": "file",
"path": "./script/patch.command"
},
{
"x": 410,
"y": 250,
"type": "link",
"path": "/Applications"
}
]
},
"mac": {
"category": "utility",
"target": [
{
"target": "default",
"arch": [
"x64",
"arm64"
]
}
]
},
"linux": {
"maintainer": "Cocktail Peanut <[email protected]>",
"target": [
{
"target": "deb",
"arch": [
"x64",
"arm64"
]
},
{
"target": "rpm",
"arch": [
"x64",
"arm64"
]
},
{
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
}
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
}
},
"license": "MIT",
"dependencies": {
"electron-store": "^8.1.0",
"electron-window-state": "^5.0.3",
"pinokiod": "^3.0.26"
},
"devDependencies": {
"@electron/rebuild": "3.2.10",
"electron": "^23.1.2",
"electron-builder": "^24.0.0"
}
}