-
Notifications
You must be signed in to change notification settings - Fork 145
/
package.json
44 lines (44 loc) · 1.33 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
{
"name": "electron-with-express",
"description": "Demonstrates spawning Express from Electron and using it to serve content",
"version": "1.0.21",
"main": "./dist/src/main.js",
"icon": "./dist/favicon.ico",
"expressPort": 3000,
"basePath": "./dist",
"authors": [
"Frank Hale <[email protected]>"
],
"license": "MIT",
"private": true,
"scripts": {
"build": "tsc",
"start": "tsc && electron .",
"pack": "tsc && cd .. && electron-packager ./electron-with-express --icon=./electron-with-express/dist/favicon.ico --ignore=\"^(?!.(node_modules|dist)).(src|screenshots|tsconfig|README|.git)\" --asar.unpack=\".*\\.(node|dll|db)$\" --overwrite"
},
"dependencies": {
"cors": "^2.8.5",
"socket.io-client": "^4.8.1",
"socket.io": "^4.8.1",
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.7",
"debug": "^4.3.7",
"ejs": "^3.1.9",
"express": "^5.0.1",
"http-errors": "^2.0.0",
"morgan": "^1.10.0",
"node-fetch": "^2.7.0",
"serve-favicon": "^2.5.0"
},
"devDependencies": {
"@types/body-parser": "^1.19.5",
"@types/cookie-parser": "^1.4.8",
"@types/express": "^5.0.0",
"@types/http-errors": "^2.0.4",
"@types/morgan": "^1.9.9",
"@types/node": "^22.10.1",
"@types/node-fetch": "^2.6.12",
"electron": "^33.2.1",
"typescript": "^5.7.2"
}
}