forked from lecepin/WeChatVideoDownloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.44 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": "wechat-video-downloader",
"version": "1.0.0",
"description": "",
"main": "./build-electron/index.js",
"homepage": "./",
"scripts": {
"postinstall": "husky install",
"start": "concurrently \"cross-env BROWSER=none npm run start-web\" \"wait-on http://localhost:3000 && npm run start-electron\" ",
"start-debug": "concurrently \"cross-env BROWSER=none npm run start-web\" \"wait-on http://localhost:3000 && npm run debug-electron\" ",
"start-web": "react-app-rewired start",
"start-electron": "webpack --config webpack.electron.js && electron .",
"debug-electron": "webpack --config webpack.electron.js && electron --inspect --unhandled-rejections=strict --trace-deprecation .",
"build-web": "react-app-rewired build",
"build-electron": "webpack --config webpack.electron.js",
"build-all": "rm -rf ./build && rm -rf ./build-electron && npm run build-electron && npm run build-web",
"pack": "npm run build-all && electron-builder",
"gen-icon": "electron-icon-builder --input=./public/icon/icon.png --output=./public/icon",
"pretty": "prettier -c --write \"(src/**/*|electron/**/*)\""
},
"targets": {
"electron": {
"source": "electron/index.js",
"context": "electron-main",
"distDir": "build-electron"
}
},
"husky": {
"hooks": {
"pre-commit": "prettier -c --write \"(src/**/*|electron/**/*)\" && git add -A ."
}
},
"devDependencies": {
"concurrently": "^7.1.0",
"cross-env": "^7.0.3",
"customize-cra": "^1.0.0",
"electron": "^18.2.3",
"electron-builder": "^23.0.3",
"electron-icon-builder": "^2.0.1",
"husky": "^8.0.1",
"less": "^4.1.2",
"less-loader": "^11.0.0",
"prettier": "^2.6.2",
"react-app-rewired": "^2.2.1",
"react-scripts": "5.0.1",
"wait-on": "^6.0.1",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@xstate/react": "^3.0.0",
"antd": "^4.20.5",
"axios": "^0.27.2",
"cross-spawn": "^7.0.3",
"electron-is-dev": "^2.0.0",
"electron-log": "^4.4.7",
"get-port": "^6.1.2",
"hoxy": "^3.3.1",
"lodash": "^4.17.21",
"mkdirp": "^1.0.4",
"pretty-bytes": "^6.0.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"regedit": "5.0.0",
"semver": "^7.3.7",
"xstate": "^4.32.1"
},
"author": "lecepin",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/lecepin/WeChatVideoDownloader.git"
},
"build": {
"extends": null,
"productName": "WeChatVideoDownloader",
"appId": "com.lecepin.WeChatVideoDownloader",
"directories": {
"output": "packs"
},
"npmRebuild": false,
"files": [
"build/**/*",
"build-electron/**/*",
"public/**/*"
],
"mac": {
"icon": "public/icon/icons/mac/icon.icns"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"ia32"
]
}
],
"icon": "public/icon/icons/win/icon.ico"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true
},
"extraResources": [
"public"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}