-
-
Notifications
You must be signed in to change notification settings - Fork 94
/
package.json
207 lines (207 loc) · 7.69 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "freeshow",
"version": "1.3.3",
"private": true,
"main": "build/electron/index.js",
"description": "Show song lyrics and more for free!",
"repository": "[email protected]:ChurchApps/FreeShow.git",
"author": "ChurchApps <[email protected]>",
"license": "GPL-3.0",
"scripts": {
"prestart": "cross-env NODE_ENV=development node scripts/preBuild.js",
"start": "cross-env NODE_OPTIONS=--max-old-space-size=4096 NODE_ENV=development npm-run-all -p -r build:frontend:dev start:electron",
"prebuild": "cross-env NODE_ENV=production node scripts/preBuild.js",
"build": "cross-env NODE_ENV=production npm-run-all -s build:frontend:prod build:electron:prod",
"postbuild": "cross-env NODE_ENV=production node scripts/postBuild.js",
"build:frontend:dev": "cross-env NODE_ENV=development rollup -c -w",
"build:frontend:prod": "cross-env NODE_ENV=production rollup -c",
"build:electron:dev": "tsc --p ./tsconfig.electron.json",
"build:electron:dev:watch": "tsc -w --p ./tsconfig.electron.json",
"build:electron:prod": "cross-env NODE_ENV=production tsc --p ./tsconfig.electron.prod.json",
"validate:svelte": "svelte-check",
"start:electron:run": "electron .",
"start:electron:dev": "npm-run-all -s build:electron:dev start:electron:script start:electron:run",
"start:electron:script": "node scripts/electronDevPostBuild.js",
"start:electron": "npm-run-all -p build:electron:dev:watch start:electron:dev",
"test": "npm-run-all -s build test:*",
"test:*": "npm-run-all -p test:prettier test:playwright",
"test:prettier": "npx prettier --check src scripts",
"test:playwright": "npx playwright test",
"postinstall": "electron-builder install-app-deps",
"prepack": "npm run build",
"pack": "electron-builder --dir",
"prerelease": "npm run build",
"release": "electron-builder",
"postrelease": "node scripts/cleanBuilds.js",
"prerelease:arm64": "npm run build",
"release:arm64": "electron-builder --arm64 --publish onTagOrDraft",
"postrelease:arm64": "node scripts/cleanBuilds.js",
"prerelease:32bit": "npm run build",
"release:32bit": "electron-builder --ia32",
"postrelease:32bit": "node scripts/cleanBuilds.js",
"lint:electron": "eslint -c eslint.electron.json --ext .js,.ts src/electron",
"lint:svelte": "eslint -c eslint.svelte.json --ext .js,.ts src/frontend",
"lint": "npm-run-all -s lint:electron lint:svelte",
"prepublishOnly": "npm-run-all -s test lint",
"preversion": "npm-run-all -s"
},
"prettier": {
"trailingComma": "es5",
"printWidth": 250,
"tabWidth": 4,
"semi": false,
"singleQuote": false
},
"build": {
"appId": "app.freeshow",
"productName": "FreeShow",
"artifactName": "FreeShow-${version}-${arch}.${ext}",
"files": [
"build/electron/**/*",
"build/types/**/*",
"public/**/*"
],
"extraResources": [
{
"from": "node_modules/slideshow/",
"to": "slideshow",
"filter": [
"connector-*"
]
}
],
"mac": {
"icon": "build/public/icon.png",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
],
"category": "public.app-category.utilities",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"notarize": false,
"entitlements": "scripts/entitlements.mac.plist",
"entitlementsInherit": "scripts/entitlements.mac.plist",
"extendInfo": {
"NSMicrophoneUsageDescription": "Please give access to your microphone if you want to use it for input.",
"NSCameraUsageDescription": "Please give access to your camera if you want to use it for input.",
"com.apple.security.device.audio-input": true,
"com.apple.security.device.camera": true
}
},
"afterSign": "scripts/notarize.js",
"dmg": {
"background": "build/public/dmg.png",
"sign": false,
"contents": [
{
"x": 140,
"y": 150
},
{
"x": 400,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"asarUnpack": [
"node_modules/grandiose/**"
],
"category": "AudioVideo",
"target": [
"AppImage",
"deb"
],
"icon": "build/public"
},
"win": {
"target": "NSIS",
"icon": "build/public/icon.png"
}
},
"devDependencies": {
"@electron/notarize": "^2.4.0",
"@playwright/test": "^1.49.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@tsconfig/svelte": "^2.0.0",
"@types/adm-zip": "^0.5.7",
"@types/exif": "^0.6.3",
"@types/express": "^4.17.13",
"@types/follow-redirects": "^1.14.2",
"@types/sqlite3": "^3.1.8",
"@types/tmp": "^0.2.6",
"@types/vimeo__player": "^2.16.2",
"electron": "^32.2.6",
"electron-builder": "^24.13.3",
"playwright": "^1.49.0",
"prettier": "^3.4.1",
"rollup": "^4.28.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-css-only": "^4.5.2",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^3.0.0",
"rollup-plugin-svelte": "^7.1.6",
"svelte": "^3.59.2",
"svelte-check": "^2.2.12",
"svelte-inspector": "vassbo/svelte-inspector#78307db",
"svelte-preprocess": "^4.10.1",
"tslib": "^2.0.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@googleapis/drive": "^8.14.0",
"@mapbox/node-pre-gyp": "^1.0.11",
"@sveltejs/svelte-virtual-list": "^3.0.1",
"@vimeo/player": "^2.25.0",
"adm-zip": "^0.5.16",
"axios": "^1.7.8",
"chord-transposer": "^3.0.9",
"cross-env": "^7.0.3",
"css-fonts": "^1.0.8",
"electron-store": "^8.0.1",
"electron-updater": "^6.3.1",
"exif": "^0.6.0",
"express": "^4.17.2",
"follow-redirects": "^1.15.2",
"genius-lyrics": "^4.4.7",
"grandiose": "vassbo/grandiose#53e7f98",
"jzz": "^1.8.7",
"mp4box": "^0.5.2",
"node-machine-id": "^1.1.12",
"npm-run-all": "^4.1.5",
"osc-js": "^2.4.1",
"pdf2img-electron": "^1.2.3",
"pptx2json": "^0.0.10",
"protobufjs": "^7.2.3",
"qrcode-generator": "^1.4.4",
"sirv-cli": "^1.0.0",
"slideshow": "vassbo/slideshow#224d50f",
"socket.io": "^4.4.1",
"socket.io-client": "^4.4.1",
"sqlite-to-json": "^0.1.3",
"sqlite3": "5.1.6",
"svelte-youtube": "0.0.2",
"tmp": "^0.2.3",
"uid": "^2.0.0",
"word-extractor": "^1.0.4",
"youtube-iframe": "^1.0.3"
}
}