-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.22 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
{
"name": "electron-ts-react-start-kit",
"version": "1.0.0",
"description": "electron typescript react kit with electron-webpack",
"main": "index.js",
"scripts": {
"dev": "electron-webpack dev",
"dev:local": "electron-webpack dev",
"compile": "electron-webpack",
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null",
"lint:eslint": "eslint \"./src/**/*.{js,jsx,ts,tsx}\"",
"lint:prettier": "prettier --list-different \"./src/**/*.{css,md,js,jsx,json,ts,tsx}\"",
"fix": "yarn fix:prettier && yarn fix:eslint",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write",
"lint": "yarn lint:eslint && yarn lint:prettier",
"debug": "electron-webpack dev --inspect-brk=9229"
},
"dependencies": {
"@sentry/electron": "1.2.1",
"axios": "^0.19.0",
"electron-log": "^3.0.5",
"electron-updater": "^4.0.6",
"prop-types": "^15.7.2",
"querystring": "^0.2.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-router-dom": "^4.3.1",
"source-map-support": "^0.5.9"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@types/react-dom": "^16.9.5",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.6",
"cross-env": "^6.0.3",
"electron": "^7.2.4",
"electron-builder": "^21.2.0",
"electron-webpack": "^2.7.4",
"electron-webpack-ts": "^4.0.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^2.0.1",
"hazardous": "^0.3.0",
"husky": "^4.2.3",
"lint-staged": "^10.0.9",
"prettier": "^1.18.2",
"typescript": "^3.8.3",
"webpack": "^4.17.1"
},
"husky": {
"hooks": {
"pre-commit": "tsc --noEmit && lint-staged"
}
},
"lint-staged": {
"./src/**/*.{js,jsx,ts,tsx}": [
"yarn fix"
]
},
"build": {
"artifactName": "${productName}.${ext}",
"productName": "有道培优小班"
},
"author": "zaynex",
"license": "MIT"
}