forked from terreng/simple-web-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
158 lines (158 loc) · 4.92 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
{
"name": "simple-web-server",
"productName": "Simple Web Server",
"version": "1.2.11",
"main": "index.js",
"description": "Create a local web server in just a few clicks with an easy to use interface. A continuation of Web Server for Chrome, built with Electron.",
"author": {
"name": "Simple Web Server",
"url": "https://simplewebserver.org",
"email": "[email protected]"
},
"contributors": [
{
"name": "Terren Gurule",
"url": "https://github.com/terreng"
},
{
"name": "Ethan O'Brien",
"url": "https://github.com/ethanaobrien"
}
],
"license": "MIT",
"homepage": "https://simplewebserver.org",
"bugs": "https://github.com/terreng/simple-web-server/issues",
"scripts": {
"start": "electron .",
"make": "electron-builder",
"make_macos_mas_universal": "electron-builder --mac mas --universal -c.mac.identity=\"Terren Gurule\"",
"make_macos_mas_universal_dev": "electron-builder --mac mas-dev --universal -c.mac.identity=\"Terren Gurule\"",
"make_all_macos": "electron-builder --mac dmg zip --x64 --arm64 -c.mac.identity=\"Terren Gurule\"",
"make_all_windows": "electron-builder --windows nsis zip --x64 --ia32 --arm64",
"make_all_windows_appx": "electron-builder --windows appx --x64 --ia32 --arm64",
"make_all_linux": "electron-builder --linux deb rpm zip --x64 --arm64",
"make_all": "npm run make_all_macos && npm run make_macos_mas_universal && npm run make_all_linux && npm run make_all_windows && npm run make_all_windows_appx"
},
"build": {
"buildVersion": "30",
"appId": "org.simplewebserver.simplewebserver",
"productName": "Simple Web Server",
"copyright": "MIT License",
"files": [
"./index.js",
"./directory-listing-template-static.html",
"./directory-listing-template.html",
"./index.html",
"./LICENSE",
"./main.js",
"./lang/**",
"./mime.js",
"./open_source_licenses.txt",
"./preload.js",
"./style.css",
"./WSC.js",
"./bookmarks.js",
"./plugin.js",
"./images/logo.png",
"./images/icon.ico",
"./images/menuBarIconTemplate.png",
"./images/[email protected]",
"./images/[email protected]",
"./images/menu-down.svg",
"./images/menu-down-dark.svg",
"./fonts/**",
"./WSC/**"
],
"directories": {
"buildResources": "build"
},
"afterSign": "build/notarize.js",
"mac": {
"icon": "images/icon.icns",
"gatekeeperAssess": false,
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements_inherit.mac.plist",
"category": "public.app-category.developer-tools",
"electronLanguages": [
"en",
"es",
"ru",
"zh_CN",
"ja",
"fr",
"pt_PT",
"it",
"uk"
],
"artifactName": "Simple-Web-Server-macOS-${version}-${arch}.${ext}"
},
"mas": {
"gatekeeperAssess": false,
"hardenedRuntime": false,
"entitlements": "build/entitlements.mas.plist",
"entitlementsInherit": "build/entitlements_inherit.mas.plist",
"provisioningProfile": "build/mas_provisioning_profile.provisionprofile"
},
"masDev": {
"gatekeeperAssess": false,
"hardenedRuntime": false,
"entitlements": "build/entitlements.mas.plist",
"entitlementsInherit": "build/entitlements_inherit.mas.plist",
"provisioningProfile": "build/development_provisioning_profile.provisionprofile"
},
"dmg": {
"sign": false
},
"win": {
"icon": "images/icon.ico",
"publisherName": "Simple Web Server",
"artifactName": "Simple-Web-Server-Windows-${version}-${arch}.${ext}"
},
"nsis": {
"createDesktopShortcut": "always",
"artifactName": "Simple-Web-Server-Installer-${version}-${arch}.${ext}",
"license": "LICENSE"
},
"linux": {
"icon": "images/512x512.png",
"category": "Development",
"vendor": "Simple Web Server",
"artifactName": "Simple-Web-Server-Linux-${version}-${arch}.${ext}"
},
"appx": {
"publisherDisplayName": "Terren",
"displayName": "Simple Web Server",
"applicationId": "org.simplewebserver.simplewebserver",
"identityName": "50257Terren.SimpleWebServer",
"publisher": "CN=823B8264-37A4-4589-B252-9E44611E01EB",
"languages": [
"en-US",
"es",
"zh-CN",
"ru",
"ja",
"fr-FR",
"pt-PT",
"it-IT",
"uk"
]
}
},
"devDependencies": {
"@electron/notarize": "^2.2.1",
"dotenv": "^16.4.1",
"electron": "^28.2.2",
"electron-builder": "^24.9.1",
"electron-osx-sign": "^0.6.0"
},
"dependencies": {
"atob": "^2.1.2",
"chokidar": "^3.6.0",
"http": "^0.0.1-security",
"https": "^1.0.0",
"jszip": "^3.10.1",
"node-blob": "^0.0.2",
"node-forge": "^1.3.1"
}
}