This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
package.json
178 lines (178 loc) · 5.85 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
{
"name": "shadowsocks-electron",
"version": "1.2.3",
"description": "Shadowsocks GUI client with cross-platform desktop support",
"author": {
"name": "nojsja",
"email": "yangwei13@outlook.com"
},
"repository": "https://github.com/nojsja/shadowsocks-electron",
"license": "GPL-3.0",
"homepage": ".",
"main": "public/electron.js",
"private": true,
"scripts": {
"start:renderer": "cross-env NODE_ENV=development cross-env PORT=3001 cross-env BROWSER=none webpack serve",
"start:main": "nodemon --config nodemon.json",
"start:main:inspect": "yarn build:main && cross-env electron . --inspect=5222",
"start": "concurrently \"yarn start:renderer\" \"wait-on http://localhost:3001 && yarn start:main\"",
"build:renderer": "webpack --config webpack.prod.config.js --progress",
"build:main": "yarn tsc -p main/tsconfig.json",
"build": "yarn build:main && yarn build:renderer",
"pack:linux": "electron-builder --linux",
"pack:mac": "electron-builder --mac",
"pack:win": "electron-builder --win",
"publish:linux": "electron-builder --linux --p always",
"publish:mac": "electron-builder --mac --p always",
"publish:win": "electron-builder --win --p always",
"publish:linux:win": "electron-builder --win --linux --p always",
"publish:snap": "snapcraft login && snapcraft upload dist/shadowsocks-electron_1.1.2_amd64.snap",
"prebuild:renderer": "rimraf build/",
"prebuild:main": "rimraf public/",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"clean": "rm -rf dist/linux-*unpacked && rm -rf dist/__snap* && rm -rf dist/win-*unpacked",
"lint": "eslint --ext .tsx,.ts .",
"typecheck": "tsc --noUnusedLocals",
"postinstall": "electron-builder install-app-deps"
},
"dependencies": {
"@sentry/electron": "^4.2.0",
"@types/i18n": "^0.13.2",
"@types/lodash": "^4.14.191",
"chalk": "4.x",
"clsx": "^1.1.1",
"electron-is-dev": "1.1.0",
"electron-re": "^1.2.7",
"electron-store": "^8.0.1",
"electron-updater": "^5.3.0",
"electron-window-state": "^5.0.3",
"fs-extra": "9.0.0",
"i18n": "^0.14.2",
"i18next": "^20.6.1",
"ipv6": "*",
"js-base64": "^2.4.0",
"jsqr": "^1.4.0",
"lodash": "^4.17.21",
"node-fetch": "2.6.0",
"open": "7.0.3",
"qrcode": "^1.4.4",
"react-hook-form": "^7.42.0",
"react-i18next": "^11.12.0",
"socks": "1.x",
"tapable": "^2.2.1",
"v8-compile-cache": "^2.3.0",
"winston": "3.2.1",
"winston-daily-rotate-file": "^4.5.5"
},
"devDependencies": {
"@babel/core": "^7.12.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-decorators": "^7.7.4",
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
"@babel/plugin-proposal-function-sent": "^7.12.1",
"@babel/plugin-proposal-numeric-separator": "^7.12.7",
"@babel/plugin-proposal-throw-expressions": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@babel/preset-stage-2": "^7.8.3",
"@babel/preset-typescript": "^7.18.6",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "^4.11.2",
"@types/history": "^4.7.9",
"@types/i18next": "^13.0.0",
"@types/js-base64": "^2.3.0",
"@types/node": "^16.11.11",
"@types/node-fetch": "2.5.5",
"@types/qrcode": "^1.4.1",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/react-redux": "^7.1.24",
"@types/react-router-dom": "^5.3.3",
"@types/uuid": "7.0.2",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.1",
"babel-plugin-dynamic-import-webpack": "^1.1.0",
"babel-plugin-import": "1.13.0",
"clean-webpack-plugin": "^0.1.19",
"compressing": "^1.5.1",
"concurrently": "5.1.0",
"cross-env": "^7.0.3",
"css-loader": "^0.28.11",
"dotenv": "8.2.0",
"electron": "18.0.3",
"electron-builder": "^23.4.0",
"electron-devtools-installer": "^3.2.0",
"electron-notarize": "0.3.0",
"eslint": "^8.21.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.30.1",
"eslint-webpack-plugin": "^3.2.0",
"event-stream": "^4.0.1",
"file-loader": "^4.2.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^5.5.0",
"husky": "4.2.3",
"immer": "^9.0.14",
"less": "^3.11.3",
"less-loader": "^6.1.3",
"lint-staged": "10.0.9",
"mini-css-extract-plugin": "^2.4.5",
"nodemon": "2.0.2",
"notistack": "^1.0.10",
"patch-package": "^6.4.7",
"prettier": "2.0.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.6",
"react-router-dom": "^5.3.0",
"react-scripts": "4.0.3",
"redux": "^4.1.2",
"redux-devtools": "^3.7.0",
"redux-persist": "6.0.0",
"redux-persist-electron-storage": "2.1.0",
"redux-thunk": "^2.4.1",
"rimraf": "^3.0.2",
"source-map-explorer": "2.4.1",
"source-map-support": "^0.5.9",
"style-loader": "^0.21.0",
"targz": "1.0.1",
"ts-loader": "^9.2.6",
"typeface-roboto": "0.0.75",
"typescript": "^4.5.2",
"url-loader": "^4.1.1",
"use-bus": "^2.5.0",
"uuid": "7.0.2",
"v8-inspect-profiler": "^0.1.0",
"wait-on": "4.0.1",
"webpack": "^5.64.4",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^3.11.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn clean && lint-staged && yarn lint"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": [
"Electron >= 8"
]
}