This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
192 lines (192 loc) · 4.82 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
{
"name": "comic-reader",
"version": "6.0.1",
"scripts": {
"dev": "nf start",
"build": "yarn app:build && yarn electron:compile",
"package": "rimraf release && yarn build && electron-builder build --publish never",
"package-all": "rimraf release && yarn build && electron-builder build -mwl",
"lint": "eslint 'electron/**/*.ts?(x)' && eslint 'src/**/*.ts?(x)'",
"app:dev": "cross-env BROWSER=false react-app-rewired start --scripts-version pong-react-scripts",
"app:build": "cross-env react-app-rewired build --scripts-version pong-react-scripts",
"electron:compile": "tsc --project electron/tsconfig.json",
"electron:dev": "cross-env NODE_ENV=development electron electron/main.js",
"component": "node scripts/component.js",
"get": "node scripts/type.js",
"redux": "node scripts/redux.js",
"test": "react-app-rewired test --scripts-version pong-react-scripts",
"eject": "react-app-rewired eject --scripts-version pong-react-scripts"
},
"homepage": ".",
"main": "./electron/main.js",
"build": {
"productName": "Comic Reader",
"appId": "Comic Reader",
"directories": {
"buildResources": "public",
"output": "release"
},
"files": [
"build/index.html",
"build/**/*",
"electron/*.js",
"package.json"
],
"extraFiles": [
"credentials"
],
"mac": {
"target": [
"dmg",
"pkg",
"zip"
],
"darkModeSupport": true,
"icon": "public/icon/icon.png",
"type": "distribution"
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"pkg": {
"license": "LICENSE"
},
"win": {
"target": [
"nsis",
"portable",
"zip"
],
"icon": "public/icon/icon.ico"
},
"nsis": {
"installerIcon": "public/icon/icon.ico",
"license": "LICENSE",
"warningsAsErrors": false
},
"linux": {
"target": [
"AppImage",
"deb",
"rpm",
"snap"
],
"icon": "public/icon"
},
"snap": {
"grade": "stable"
}
},
"repository": {
"type": "git",
"url": "https://github.com/Pong420/Comic-Reader"
},
"author": {
"name": "Pong",
"email": "samfunghp@gmial.com",
"url": "https://pong420.netlify.com/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/Pong420/Comic-Reader/issues"
},
"eslintConfig": {
"extends": "react-app",
"rules": {
"react/self-closing-comp": "warn"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --max-warnings=0",
"prettier --ignore-path .eslintignore --write",
"git add"
],
"{*.json,.{babelrc,eslintrc,prettierrc}}": [
"prettier --ignore-path .eslintignore --parser json --write",
"git add"
],
"*.{css,scss}": [
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
],
"*.{yml,md}": [
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
]
},
"devDependencies": {
"@types/cheerio": "^0.22.16",
"@types/history": "^4.7.5",
"@types/lodash": "^4.14.149",
"@types/mousetrap": "^1.6.3",
"@types/node": "^13.7.0",
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@types/react-redux": "^7.1.7",
"@types/react-router": "^5.1.4",
"@types/react-router-dom": "^5.1.3",
"@types/react-virtualized": "^9.21.7",
"cross-env": "^7.0.0",
"electron": "^9.4.0",
"electron-builder": "^22.3.2",
"electron-devtools-installer": "^2.2.4",
"foreman": "^3.0.1",
"husky": "^4.2.1",
"lint-staged": "^10.0.7",
"pong-react-scripts": "3.3.1",
"prettier": "^1.19.1",
"rimraf": "^3.0.1",
"sass": "^1.25.0",
"typescript": "3.7.5"
},
"dependencies": {
"@blueprintjs/core": "^3.23.1",
"@pong420/redux-crud": "^1.3.2",
"axios": "0.21.2",
"axios-extensions": "^3.0.6",
"cheerio": "^1.0.0-rc.3",
"chinese-conv": "^1.0.1",
"connected-react-router": "^6.6.1",
"customize-cra": "^0.9.1",
"history": "^4.10.1",
"lodash": "^4.17.21",
"mousetrap": "^1.6.5",
"query-string": "^6.10.1",
"react": "^16.12.0",
"react-app-rewired": "^2.1.5",
"react-desktop": "^0.3.9",
"react-dom": "^16.12.0",
"react-redux": "^7.1.3",
"react-router-dom": "^5.1.2",
"react-virtualized": "^9.21.2",
"redux": "^4.0.5",
"redux-observable": "^1.2.0",
"rxjs": "^6.5.4",
"use-rx-hooks": "^1.4.3"
},
"devEngines": {
"node": ">=7.x",
"npm": ">=4.x",
"yarn": ">=0.21.3"
},
"browserslist": [
"last 1 chrome version"
]
}