forked from terreng/simple-web-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
167 lines (167 loc) · 6.17 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
{
"name": "simple-web-server",
"productName": "Simple Web Server",
"version": "1.2.9",
"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"
},
{
"name": "Kyle Graehl",
"url": "https://github.com/kzahel"
}
],
"license": "MIT",
"homepage": "https://simplewebserver.org",
"bugs": "https://github.com/terreng/simple-web-server/issues",
"scripts": {
"start": "electron .",
"make": "electron-builder",
"make_macos_x64": "electron-builder --mac dmg --x64 -c.mac.identity=\"Terren Gurule\"",
"make_macos_arm64": "electron-builder --mac dmg --arm64 -c.mac.identity=\"Terren Gurule\"",
"make_macos_zip_x64": "electron-builder --mac zip --x64 -c.mac.identity=\"Terren Gurule\"",
"make_macos_zip_arm64": "electron-builder --mac zip --arm64 -c.mac.identity=\"Terren Gurule\"",
"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_windows_x64": "electron-builder --windows nsis --x64",
"make_windows_ia32": "electron-builder --windows nsis --ia32",
"make_windows_arm64": "electron-builder --windows nsis --arm64",
"make_windows_zip_x64": "electron-builder --windows zip --x64",
"make_windows_zip_ia32": "electron-builder --windows zip --ia32",
"make_windows_zip_arm64": "electron-builder --windows zip --arm64",
"make_windows_appx_x64": "electron-builder --windows appx --x64",
"make_windows_appx_ia32": "electron-builder --windows appx --ia32",
"make_windows_appx_arm64": "electron-builder --windows appx --arm64",
"make_linux_deb_x64": "electron-builder --linux deb --x64",
"make_linux_deb_arm64": "electron-builder --linux deb --arm64",
"make_linux_rpm_x64": "electron-builder --linux rpm --x64",
"make_linux_rpm_arm64": "electron-builder --linux rpm --arm64",
"make_linux_zip_x64": "electron-builder --linux zip --x64",
"make_linux_zip_arm64": "electron-builder --linux zip --arm64",
"make_all_macos": "npm run make_macos_x64 && npm run make_macos_arm64 && npm run make_macos_zip_x64 && npm run make_macos_zip_arm64",
"make_all_windows": "npm run make_windows_x64 && npm run make_windows_ia32 && npm run make_windows_arm64 && npm run make_windows_zip_x64 && npm run make_windows_zip_ia32 && npm run make_windows_zip_arm64",
"make_all_windows_appx": "npm run make_windows_appx_x64 && npm run make_windows_appx_ia32 && npm run make_windows_appx_arm64",
"make_all_linux": "npm run make_linux_deb_x64 && npm run make_linux_deb_arm64 && npm run make_linux_rpm_x64 && npm run make_linux_rpm_arm64 && npm run make_linux_zip_x64 && npm run make_linux_zip_arm64"
},
"build": {
"buildVersion": "27",
"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.js",
"./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",
"ru",
"zh_CN",
"ja"
]
},
"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"
},
"nsis": {
"createDesktopShortcut": "always",
"artifactName": "${productName} Installer ${version} ${arch}.${ext}",
"license": "LICENSE"
},
"linux": {
"icon": "images/512x512.png",
"category": "Development",
"vendor": "Simple Web Server"
},
"appx": {
"publisherDisplayName": "Terren",
"displayName": "Simple Web Server",
"applicationId": "org.simplewebserver.simplewebserver",
"identityName": "50257Terren.SimpleWebServer",
"publisher": "CN=823B8264-37A4-4589-B252-9E44611E01EB",
"languages": [
"en-US",
"zh-CN",
"ru",
"ja"
]
}
},
"devDependencies": {
"dotenv": "^16.3.1",
"electron": "^26.2.4",
"electron-builder": "^24.6.4",
"electron-notarize": "^1.2.2",
"electron-osx-sign": "^0.6.0"
},
"dependencies": {
"atob": "^2.1.2",
"chokidar": "^3.5.3",
"http": "^0.0.1-security",
"https": "^1.0.0",
"jszip": "^3.10.1",
"node-blob": "0.0.2",
"node-forge": "^1.3.1"
}
}