forked from chenhb23/lanzouyun-disk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
124 lines (124 loc) · 3.51 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
{
"name": "lanzouyun-pan",
"version": "2.3.0",
"private": true,
"main": "build/main/index.js",
"homepage": "./",
"dependencies": {
"cheerio": "^1.0.0-rc.10",
"electron-is-dev": "^2.0.0",
"electron-store": "^8.0.1",
"form-data-encoder": "^1.7.2",
"formdata-node": "^4.3.2",
"fs-extra": "^10.1.0",
"got": "^12.0.3",
"lodash.throttle": "^4.1.1",
"mobx": "^6.5.0",
"mobx-persist": "^0.4.1",
"mobx-react": "^7.3.0",
"prettier": "^2.6.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"semver": "^7.3.7",
"tough-cookie": "^4.0.0"
},
"scripts": {
"react-start": "cross-env BROWSER=none react-app-rewired start",
"react-build": "react-app-rewired build",
"electron-start": "yarn tsc-electron-build && electron .",
"electron-debug": "yarn tsc-electron-build && electron --inspect-brk=8889 .",
"electron-build": "yarn tsc-electron-build && electron-builder -mw",
"release": "yarn react-build && electron-builder --publish=always",
"build": "yarn react-build && yarn electron-build",
"start": "concurrently \"cross-env BROWSER=none yarn react-start\" \"wait-on http://localhost:3000 && yarn electron-start\"",
"test": "react-app-rewired test",
"eject": "react-scripts eject",
"tsc-build": "tsc --noEmit false --module commonjs",
"tsc-electron-build": "tsc -p tsconfig.electron.json"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx,js,jsx}": [
"prettier --write",
"eslint --fix"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/generator": "^7.17.9",
"@babel/parser": "^7.17.9",
"@babel/traverse": "^7.17.9",
"@babel/types": "^7.17.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^14.1.0",
"@types/node": "^17.0.24",
"@types/prettier": "2.6.0",
"@types/semver": "^7.3.7",
"@types/tough-cookie": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"concurrently": "^7.1.0",
"cross-env": "^7.0.3",
"customize-cra": "^1.0.0",
"electron": "^18.0.4",
"electron-builder": "^23.0.3",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"hpagent": "^0.1.2",
"husky": "^4.3.0",
"lint-staged": "^12.3.8",
"react-app-rewired": "^2.2.1",
"react-scripts": "5.0.1",
"typescript": "^4.6.3",
"wait-on": "^6.0.1",
"web-vitals": "^2.1.4"
},
"description": "蓝奏云网盘客户端",
"author": {
"name": "chenhb23",
"url": "https://github.com/chenhb23"
},
"build": {
"productName": "蓝奏云盘",
"copyright": "更多内容到 https://github.com/chenhb23/lanzouyun-disk",
"appId": "org.chenhb23.lanzou",
"asar": true,
"files": [
"build"
],
"extends": null,
"mac": {
"category": "org.chenhb23.lanzou.client",
"artifactName": "lanzouyun-${version}-${arch}-${os}.${ext}",
"target": {
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
},
"win": {
"target": "zip",
"artifactName": "lanzouyun-${version}-${arch}-${os}.${ext}"
}
}
}