forked from cangzhang/champ-r
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
206 lines (206 loc) · 6.58 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
205
206
{
"name": "champ-r",
"version": "1.1.12",
"license": "MIT",
"description": "Get champion builds & runes for lol.",
"productName": "ChampR",
"repository": {
"type": "git",
"url": "https://github.com/cangzhang/champ-r.git"
},
"homepage": "./",
"author": {
"name": "Al Cheung",
"email": "[email protected]",
"url": "https://github.com/cangzhang"
},
"main": "build/main.js",
"scripts": {
"prepare": "husky install",
"postinstall": "cross-env electron-builder install-app-deps && patch-package",
"clean:main": "npx rimraf build/",
"compile:main": "tsc -p app/",
"start:electron": "nodemon --exec \"yarn clean:main && yarn compile:main && run-electron build/main.js --inspect=5858\"",
"start:react": "cross-env BROWSER=none NODE_ENV=development node scripts/start.js",
"start": "concurrently \"yarn start:react\" \"wait-on http://localhost:3000 && yarn start:electron\"",
"dist:local": "cross-env yarn compile:main && electron-builder --win --x64 -p never",
"dist:local-dir": "cross-env yarn compile:main && electron-builder --win --x64 -p never --dir",
"dist": "cross-env yarn compile:main && electron-builder --win --x64 -p always",
"build:react": "node scripts/build.js",
"build:local": "cross-env yarn build:react && yarn dist:local",
"build:local-dir": "cross-env yarn build:react && yarn dist:local-dir",
"build:ci": "yarn modify:version && cross-env BUILD_IN_CI=true yarn build:react && yarn dist:local",
"build": "cross-env yarn build:react && yarn dist",
"b": "cross-env TEST_CHANNEL=true yarn build:local",
"bl": "cross-env SHOW_POPUP_TRIGGER=true TEST_CHANNEL=true yarn build:local",
"bld": "cross-env SHOW_POPUP_TRIGGER=true TEST_CHANNEL=true yarn build:local-dir",
"release": "yarn build",
"pack": "electron-builder --dir",
"lint": "eslint --fix",
"modify:version": "node scripts/modify-build-version.js"
},
"dependencies": {
"axios": "^0.21.4",
"baseui": "9.116.0",
"cheerio": "^1.0.0-rc.3",
"chokidar": "^3.5.2",
"cjk-regex": "^2.0.1",
"classnames": "^2.3.1",
"electron-context-menu": "3.1.1",
"electron-debug": "3.2.0",
"electron-log": "4.4.1",
"electron-store": "8.0.0",
"electron-unhandled": "^3.0.0",
"electron-updater": "4.3.8",
"electron-util": "0.17.2",
"feather-icons": "^4.28.0",
"fs-extra": "^10.0.0",
"got": "^11.8.2",
"i18next": "^19.3.4",
"immer": "^9.0.6",
"lodash": "^4.17.15",
"nanoid": "^3.1.28",
"node-machine-id": "^1.1.12",
"normalize.css": "^8.0.1",
"os-locale": "^5.0.0",
"react": "17.0.2",
"react-custom-scrollbars": "^4.2.1",
"react-dom": "17.0.2",
"react-feather": "^2.0.9",
"react-hot-toast": "^2.1.1",
"react-i18next": "^11.3.4",
"react-router-dom": "^5.1.2",
"styletron-engine-atomic": "^1.4.7",
"styletron-react": "^6.0.1",
"use-immer": "^0.6.0",
"ws": "^8.2.2"
},
"devDependencies": {
"@babel/core": "7.7.4",
"@babel/helper-builder-react-jsx": "^7.15.4",
"@babel/helper-builder-react-jsx-experimental": "^7.12.11",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
"@svgr/webpack": "^5.5.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/cheerio": "^0.22.28",
"@types/classnames": "^2.2.11",
"@types/lodash": "^4.14.168",
"@types/react-custom-scrollbars": "^4.0.7",
"@types/react-router-dom": "^5.1.7",
"@types/styletron-engine-atomic": "^1.1.0",
"@types/styletron-react": "^5.0.2",
"@types/styletron-standard": "^2.0.1",
"@types/webpack": "^5.28.0",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
"babel-eslint": "10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "8.0.6",
"babel-plugin-named-asset-import": "^0.3.5",
"babel-preset-react-app": "^9.1.2",
"bfj": "^7.0.2",
"camelcase": "^5.3.1",
"case-sensitive-paths-webpack-plugin": "2.2.0",
"compression-webpack-plugin": "^3.1.0",
"concurrently": "^5.0.2",
"cross-env": "^7.0.3",
"css-loader": "3.2.0",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"electron": "13.3.0",
"electron-builder": "22.11.7",
"eslint": "^6.6.0",
"eslint-config-react-app": "^5.2.1",
"eslint-loader": "3.0.2",
"eslint-plugin-baseui": "9.116.3",
"eslint-plugin-flowtype": "3.13.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "3.0.0",
"fibers": "^5.0.0",
"file-loader": "4.3.0",
"html-webpack-plugin": "4.0.0-beta.5",
"husky": "^7.0.0",
"identity-obj-proxy": "3.0.0",
"imagemin-webp-webpack-plugin": "3.3.2",
"jest": "24.9.0",
"jest-environment-jsdom-fourteen": "0.1.0",
"jest-resolve": "24.9.0",
"jest-watch-typeahead": "0.4.2",
"lint-staged": "^11.2.3",
"mini-css-extract-plugin": "0.8.0",
"nodemon": "^2.0.12",
"optimize-css-assets-webpack-plugin": "5.0.3",
"patch-package": "^6.4.7",
"pnp-webpack-plugin": "1.5.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "2.0.5",
"react-app-polyfill": "^1.0.5",
"react-dev-utils": "^11.0.4",
"react-refresh": "^0.10.0",
"react-svg-loader": "^3.0.3",
"resolve": "1.12.2",
"resolve-url-loader": "3.1.1",
"rimraf": "^3.0.2",
"run-electron": "^1.0.0",
"sass": "^1.26.10",
"sass-loader": "8.0.0",
"semver": "6.3.0",
"style-loader": "1.0.0",
"terser-webpack-plugin": "2.2.1",
"ts-pnp": "1.1.5",
"typescript": "^4.4.3",
"url-loader": "2.3.0",
"wait-on": "^4.0.0",
"webpack": "4.44.2",
"webpack-dev-server": "3.11.2",
"webpack-sources": "^1.4.3"
},
"babel": {
"presets": [
[
"react-app"
]
]
},
"browserslist": {
"production": [
"last 1 chrome version"
],
"development": [
"last 1 chrome version"
]
},
"build": {
"appId": "com.al.champ-r",
"files": [
"build/**/*",
"!build/**/*.{jpg,jpeg,png}",
"package.json"
],
"extraResources": [
"./resources/**"
],
"win": {
"icon": "./resources/app-icon.png",
"requestedExecutionLevel": "requireAdministrator"
},
"nsis": {
"perMachine": true
},
"publish": {
"provider": "github",
"releaseType": "release"
}
},
"lint-staged": {
"{app,src,config,interfaces,scripts}/**/*.{ts,tsx,js,json,css,scss,md}": [
"prettier --write"
]
}
}