-
Notifications
You must be signed in to change notification settings - Fork 262
/
package.json
176 lines (176 loc) Β· 7.04 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
{
"name": "LightProxy",
"version": "1.1.42-beta-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 yarn 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": "yarn run lint && yarn run compile-main && yarn run compile-renderer",
"build": "yarn clean:dist && yarn syncversion && yarn compile ",
"dist": "yarn run build && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac --win --x64 --publish never",
"dist:mac": "yarn run build && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac --x64",
"dist:win": "yarn run build && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --win --x64",
"dist-codesign": "yarn run build && electron-builder --mac --win --x64 --publish never",
"pack": "yarn dist --dir -c.compression=store -c.mac.identity=null",
"lint": "eslint ./src/**/*.ts ./src/**/*.tsx --fix",
"upguard:whistle": "git subtree pull --prefix=vendor/whistle https://github.com/avwo/whistle master --squash && 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 --production=true && mv node_modules modules && cd ../../.. && npm run update:zip",
"update:zip": "cd vendor && rimraf files.zip && bestzip files.zip files/",
"update:zip-fullnode": "cd vendor && rimraf files.zip && bestzip files.zip files/",
"update:node": "node scripts/update-node.js",
"cleanbuild": "rm -rf node_modules && yarn install --ignore-engines && yarn run dist",
"build-doc": "cd docs && yarn install --ignore-engines&& yarn run build",
"install-deps": "yarn install --ignore-engines && yarn run update:node && yarn run update:node_modules",
"ci": "npm install -g yarn && yarn run install-deps && yarn run dist",
"postinstall": "electron-builder install-app-deps",
"test": "echo 'no test here yet'",
"syncversion": "node scripts/sync-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": {
"@sentry/electron": "1.1.0",
"@sentry/node": "5.10.2",
"@timkendrick/monaco-editor": "^0.0.9",
"@umijs/hooks": "^1.9.3",
"@xcodebuild/global-proxy": "^0.0.6",
"antd": "^3.26.6",
"bufferutil": "^4.0.1",
"classnames": "^2.2.6",
"compare-versions": "^3.5.1",
"cross-spawn": "^7.0.1",
"electron-better-ipc": "^0.7.0",
"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": "^5.1.0",
"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": "^19.0.2",
"ip": "^1.1.5",
"koa": "^2.11.0",
"koa-static": "^5.0.0",
"lodash": "^4.17.15",
"md5-file": "^4.0.0",
"mini-event-emitter": "^0.9.1",
"monaco": "^1.201704190613.0+9ac64297a3b2ace5240299ba54b03f5029378397",
"monaco-editor": "^0.18.1",
"monaco-editor-webpack-plugin": "^1.7.0",
"node-downloader-helper": "^1.0.11",
"node-fetch": "^2.6.0",
"node-gzip": "^1.1.2",
"qrcode.react": "^1.0.0",
"react": "^16.12.0",
"react-beautiful-dnd": "^12.2.0",
"react-dom": "^16.12.0",
"react-i18next": "^11.2.6",
"react-keep-alive": "^2.5.2",
"react-monaco-editor": "^0.32.1",
"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",
"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/classnames": "^2.2.9",
"@types/cross-spawn": "^6.0.1",
"@types/event-emitter": "^0.3.3",
"@types/fs-extra-promise": "^1.0.8",
"@types/ip": "^1.1.0",
"@types/jest": "^24.0.25",
"@types/koa": "^2.11.0",
"@types/koa-static": "^4.0.1",
"@types/lodash": "^4.14.149",
"@types/md5-file": "^4.0.0",
"@types/node-downloader-helper": "^1.0.0",
"@types/node-fetch": "^2.5.4",
"@types/react": "^16.9.16",
"@types/react-beautiful-dnd": "^11.0.3",
"@types/react-dom": "^16.9.4",
"@types/universal-analytics": "^0.4.3",
"@types/ws": "^6.0.4",
"@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": "^5.1.1",
"cross-env": "^6.0.3",
"css-loader": "^3.4.2",
"electron": ">=10.2.0",
"electron-builder": "^22.2.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"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": "^3.10.3",
"less-loader": "^5.0.0",
"nanoid": "^3.1.12",
"prettier": "^1.19.1",
"raw-loader": "^4.0.0",
"react-hot-loader": "^4.12.18",
"rimraf": "^3.0.0",
"style-loader": "^1.0.2",
"typescript": "^3.7.3",
"url-loader": "^3.0.0",
"webpack": "^4.41.5",
"webpack-build-notifier": "^2.0.0",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0",
"webpack-merge": "^4.2.2"
},
"build": {
"appId": "org.lightproxy",
"mac": {
"category": "",
"icon": "./vendor/files/icon.icns",
"publish": [
"github"
]
},
"win": {
"target": "nsis",
"icon": "./vendor/files/icon.ico",
"publish": [
"github"
]
},
"files": [
"dist/*.js",
"dist/*.html",
"dist/files.zip",
"package.json",
"main.js"
],
"directories": {
"output": "release"
}
}
}