-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
204 lines (204 loc) · 8 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
{
"name": "iProxy",
"version": "1.2.2",
"license": "MIT",
"main": "./dist/main.js",
"scripts": {
"renderer-dev": "webpack-dev-server --config ./webpack/webpack.renderer.dev.config.js",
"main-dev": "webpack --config ./webpack/webpack.main.config.js && electron ./app",
"dev": "cross-env START_HOT=1 npm run renderer-dev",
"compile-main": "cross-env NODE_ENV=production webpack --config ./webpack/webpack.main.prod.config.js",
"compile-renderer": "cross-env NODE_ENV=production webpack --config ./webpack/webpack.renderer.prod.config.js",
"compile": "npm run compile-main && npm run compile-renderer",
"build": "npm run clean:dist && npm run syncversion && npm run compile ",
"dist": "npm run build && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac --win --x64 --publish never",
"dist:mac": "npm run build && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac --universal",
"dist:win": "npm run build && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --win --x64",
"dist:linux": "npm run build && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --linux",
"dist-codesign": "npm run build && electron-builder --mac --win --x64 --publish never",
"pack": "npm run dist --dir -c.compression=store -c.mac.identity=null",
"lint": "eslint ./src/**/*.ts ./src/**/*.tsx --fix",
"upgrade:whistle": "git subtree pull --prefix=vendor/whistle https://github.com/avwo/whistle master --squash && npm run install-deps && npm run update:node_modules",
"update:node_modules": "npx rimraf vendor/files/node/modules && cd vendor/files/node && echo {} > package.json && yarn add --ignore-engines ../../whistle-start ../../whistle whistle.vase ../../whistle.scriptfile ../../whistle.chii-internal -S && mv node_modules modules && cd ../../.. && npm run update:zip",
"update:zip": "cd vendor && npx rimraf files.zip && bestzip files.zip files/",
"update:zip-fullnode": "cd vendor && npx rimraf files.zip && bestzip files.zip files/",
"cleanbuild": "rm -rf node_modules && yarn && npm run dist",
"build-doc": "cd docs && yarn && npm run build",
"install-deps": "yarn --ignore-engines && npm run update:node_modules",
"ci": "npm run install-deps && npm run dist",
"postinstall": "electron-builder install-app-deps",
"test": "echo 'no test here yet'",
"syncversion": "node scripts/sync-version.js",
"dateversion": "node scripts/date-version.js",
"nightlyversion": "node scripts/nightly-version.js",
"clean:dist": "npx rimraf app/dist",
"art:icon": "\"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" --headless --screenshot --window-size=512,512 --default-background-color=0 art/icon/index.html && mv screenshot.png vendor/files/icon.png && \"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" --headless --screenshot --window-size=512,512 --default-background-color=0 art/icon/index-pure.html && mv screenshot.png vendor/files/icon-pure.png"
},
"dependencies": {
"@ant-design/compatible": "^1.0.8",
"@ant-design/icons": "^4.6.2",
"@electron/remote": "^2.0.1",
"@sentry/electron": "2.5.1",
"@sentry/node": "6.9.0",
"@timkendrick/monaco-editor": "^0.0.9",
"@umijs/hooks": "^1.9.3",
"@xcodebuild/global-proxy": "^0.0.6",
"antd": "^4.16.6",
"bufferutil": "^4.0.1",
"classnames": "^2.2.6",
"compare-versions": "^3.5.1",
"cross-spawn": "^7.0.1",
"electron-better-ipc": "^2.0.1",
"electron-disable-file-drop": "^1.0.2",
"electron-is-dev": "^1.1.0",
"electron-log": "^4.0.0",
"electron-promise-ipc": "^2.0.1",
"electron-store": "^8.0.1",
"electron-window-state": "^5.0.3",
"exit-hook": "^2.2.0",
"extract-zip": "^2.0.1",
"fs-extra-promise": "^1.0.1",
"get-port": "^5.0.0",
"i18next": "^20.3.2",
"ip": "^1.1.5",
"koa": "^2.11.0",
"koa-static": "^5.0.0",
"lodash": "^4.17.15",
"md5-file": "^5.0.0",
"mini-event-emitter": "^0.9.1",
"monaco": "^1.201704190613.0+9ac64297a3b2ace5240299ba54b03f5029378397",
"monaco-editor": "^0.25.2",
"monaco-editor-webpack-plugin": "^4.1.1",
"node-downloader-helper": "^1.0.11",
"node-fetch": "^2.6.0",
"node-gzip": "^1.1.2",
"qrcode.react": "^1.0.0",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.0",
"react-dom": "^16.12.0",
"react-i18next": "^11.2.6",
"react-keep-alive": "^2.5.2",
"react-monaco-editor": "^0.43.0",
"react-titlebar-osx": "^1.1.0",
"reset-css": "^5.0.1",
"shelljs": "^0.8.3",
"source-map-support": "^0.5.12",
"sudo-prompt": "^9.2.1",
"tempdir": "^2.0.0",
"tree-kill": "^1.2.2",
"ts-loader": "~8.2.0",
"universal-analytics": "^0.4.20",
"utf-8-validate": "^5.0.2",
"ws": "^7.2.1"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@babel/plugin-proposal-class-properties": "^7.8.0",
"@babel/polyfill": "^7.8.0",
"@babel/preset-env": "^7.8.2",
"@babel/preset-react": "^7.8.0",
"@babel/preset-typescript": "7.8.0",
"@hot-loader/react-dom": "^16.11.0",
"@types/babel__core": "^7.1.16",
"@types/babel__preset-env": "^7.9.2",
"@types/classnames": "^2.2.9",
"@types/copy-webpack-plugin": "^6.4.3",
"@types/cross-spawn": "^6.0.1",
"@types/electron-window-state": "^5.0.0",
"@types/eslint": "^7.29.0",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/event-emitter": "^0.3.3",
"@types/fs-extra-promise": "^1.0.8",
"@types/html-webpack-plugin": "^3.2.6",
"@types/ip": "^1.1.0",
"@types/jest": "^26.0.24",
"@types/koa": "^2.11.0",
"@types/koa-static": "^4.0.1",
"@types/less": "^3.0.3",
"@types/lodash": "^4.14.149",
"@types/md5-file": "^5.0.0",
"@types/network-interfaces": "^1.1.0",
"@types/node-downloader-helper": "^1.0.0",
"@types/node-fetch": "^2.5.4",
"@types/node-gzip": "^1.1.0",
"@types/prettier": "^2.4.2",
"@types/qrcode.react": "^1.0.2",
"@types/react": "^17.0.14",
"@types/react-beautiful-dnd": "^13.1.1",
"@types/react-dom": "^16.9.4",
"@types/rimraf": "^3.0.2",
"@types/shelljs": "^0.8.9",
"@types/source-map-support": "^0.5.4",
"@types/universal-analytics": "^0.4.3",
"@types/webpack": "^4.41.32",
"@types/webpack-bundle-analyzer": "^4.4.1",
"@types/webpack-dev-server": "^3.11.6",
"@types/ws": "^7.4.6",
"@typescript-eslint/eslint-plugin": "2.12.0",
"@typescript-eslint/parser": "2.12.0",
"add-asset-webpack-plugin": "^1.0.0",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.13.0",
"bestzip": "^2.1.7",
"copy-webpack-plugin": "^6.4.1",
"cross-env": "^7.0.3",
"css-loader": "^3.4.2",
"electron": "^24.1.0",
"electron-builder": "23.0.2",
"eslint": "^7.30.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.34.2",
"event-emitter": "^0.3.5",
"fork-ts-checker-webpack-plugin": "^3.1.1",
"html-webpack-plugin": "^3.2.0",
"image-to-icon-converter": "^1.0.1",
"less": "^4.1.1",
"less-loader": "^5.0.0",
"nanoid": "^3.1.12",
"prettier": "^2.3.2",
"raw-loader": "^4.0.0",
"react-hot-loader": "^4.12.18",
"rimraf": "^3.0.0",
"style-loader": "^1.0.2",
"typescript": "4.3.5",
"url-loader": "^4.1.1",
"webpack": "^4.41.5",
"webpack-build-notifier": "^2.0.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0",
"webpack-merge": "^5.8.0"
},
"build": {
"appId": "io.github.xcodebuild.iproxy",
"mac": {
"category": "",
"icon": "./vendor/files/icon.icns",
"publish": [
"github"
]
},
"win": {
"target": "nsis",
"icon": "./vendor/files/icon.ico",
"publish": [
"github"
]
},
"linux": {
"target": "AppImage",
"icon": "./verdor/files/icon.png"
},
"files": [
"dist/*.js",
"dist/*.html",
"dist/files.zip",
"package.json",
"main.js"
],
"directories": {
"output": "release"
}
}
}