-
Notifications
You must be signed in to change notification settings - Fork 84
/
package.json
158 lines (158 loc) · 4.64 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": "httptoolkit-desktop",
"productName": "HTTP Toolkit",
"version": "1.19.1",
"homepage": "https://httptoolkit.tech",
"private": true,
"description": "HTTP(S) debugging, development & testing tool",
"main": "build/index.js",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"server:setup": "tsx ./setup-server.ts",
"build": "npm run build:src && npm run build:electron",
"build:src": "tsc",
"postbuild:src": "tsx ./strip-preload-map.ts",
"build:electron": "npm run server:setup && electron-builder build",
"build:dir-only": "npm run server:setup && electron-builder --dir",
"start": "npm run server:setup && npm run start:app",
"start:dev": "tsx ./skip-server.ts && cross-env HTK_DEV=true APP_URL='http://localhost:8080' npm run start:app",
"start:app": "tsc-watch --onSuccess \"electron .\""
},
"keywords": [],
"author": "Tim Perry",
"license": "AGPL-3.0-or-later",
"config": {
"httptoolkit-server-version": "1.19.1"
},
"build": {
"appId": "tech.httptoolkit.desktop",
"extends": null,
"productName": "HTTP Toolkit",
"extraMetadata": {
"name": "httptoolkit",
"productName": "httptoolkit"
},
"files": [
"**/*",
"build/**/*",
"!custom-typings",
"!certificates",
"!appveyor-tools",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
"!**/node_modules/*.d.ts",
"!**/node_modules/.bin",
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
"!.editorconfig",
"!**/._*",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
"!**/{appveyor.yml,.travis.yml,circle.yml}",
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
],
"extraResources": [
"httptoolkit-server/**/*"
],
"mac": {
"target": [
"dmg"
],
"category": "public.app-category.developer-tools",
"icon": "src/icons/icon.icns",
"entitlements": "src/entitlements.plist",
"entitlementsInherit": "src/entitlements.plist",
"forceCodeSigning": true,
"notarize": true
},
"dmg": {
"artifactName": "HttpToolkit-${version}.dmg"
},
"win": {
"target": [
"nsis",
"zip"
],
"artifactName": "HttpToolkit-${os}-${arch}-${version}.${ext}",
"icon": "./src/icons/icon.ico",
"forceCodeSigning": true
},
"nsis": {
"installerIcon": "./src/icons/icon.ico",
"artifactName": "HttpToolkit-installer-${version}.exe",
"deleteAppDataOnUninstall": true
},
"linux": {
"target": [
"deb",
"rpm",
"AppImage",
"zip"
],
"executableName": "httptoolkit",
"artifactName": "HttpToolkit-${os}-${arch}-${version}.${ext}",
"category": "Development",
"icon": "./src/icons/icon.svg",
"maintainer": "contact@httptoolkit.tech",
"desktop": {
"Name": "HTTP Toolkit",
"Comment": "HTTP(S) debugging, development & testing tool",
"Categories": "Development;Network",
"StartupNotify": true
}
},
"deb": {
"artifactName": "HttpToolkit-${version}.deb",
"depends": [
"libgtk-3-0",
"libnotify4",
"libnss3",
"libxss1",
"libxtst6",
"xdg-utils",
"libatspi2.0-0",
"libuuid1",
"libsecret-1-0"
]
},
"rpm": {
"artifactName": "HttpToolkit-${version}.rpm",
"afterRemove": "scripts/post-uninstall-rpm.sh"
},
"appImage": {
"artifactName": "HttpToolkit-${version}.AppImage"
},
"publish": null
},
"dependencies": {
"@sentry/electron": "^4.0.0",
"@sentry/integrations": "^7.8.1",
"electron-context-menu": "^3.5.0",
"electron-store": "^8.0.0",
"electron-window-state": "^5.0.3",
"os-proxy-config": "^1.1.1",
"rimraf": "^2.7.1",
"semver": "^7.2.1",
"yargs": "^15.1.0"
},
"devDependencies": {
"@types/electron-window-state": "^2.0.33",
"@types/lodash": "^4.14.149",
"@types/node": "^15.12.0",
"@types/node-fetch": "^2.1.4",
"@types/rimraf": "^3.0.0",
"@types/semver": "^7.3.4",
"@types/targz": "^1.0.0",
"@types/yargs": "^15.0.3",
"cross-env": "^7.0.3",
"electron": "^31.7.3",
"electron-builder": "^24.13.3",
"lodash": "^4.17.21",
"node-fetch": "^2.6.7",
"targz": "^1.0.1",
"tsc-watch": "^4.2.9",
"tslib": "^1.14.1",
"tslint": "^5.20.1",
"tsx": "^4.16.2",
"typescript": "^3.8.2"
}
}