-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
122 lines (122 loc) · 2.63 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
{
"name": "JDTreasureGrabber",
"version": "0.4.1",
"author": "hogan <hogan01.id@gmail.com> (https://github.com/GilHogan/JDTreasureGrabber)",
"description": "京东夺宝岛助手",
"private": true,
"main": "main.js",
"engines": {
"node": "18"
},
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"dist": "vue-cli-service build && electron-builder --publish never",
"start": "chcp 65001 && electron .",
"start-mac": "electron .",
"release": "vue-cli-service build && electron-builder --publish always",
"dist-arm": "USE_SYSTEM_FPM=true npm run dist"
},
"dependencies": {
"@vueuse/core": "^10.7.0",
"carlo": "^0.9.46",
"core-js": "^3.16.3",
"curlconverter": "3.21.0",
"dayjs": "^1.11.7",
"electron-updater": "^6.1.8",
"puppeteer-core": "^23.4.0",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2",
"request": "^2.88.2",
"user-agents": "^1.1.325",
"vue": "^3.3.11"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^5.0.8",
"@vue/cli-plugin-eslint": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"babel-eslint": "^10.0.3",
"babel-plugin-component": "^1.1.1",
"electron": "^25.1.1",
"electron-builder": "^24.4.0",
"element-plus": "^2.4.3",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^9.19.2"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {
"no-unused-vars": "off"
}
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"build": {
"productName": "JDTreasureGrabber",
"appId": "com.hogan.JDTreasureGrabber",
"icon": "./public/favicon_512x512.png",
"win": {
"artifactName": "${productName}-${os}-${arch}-${version}.${ext}",
"target": [
"msi",
"nsis",
"zip"
],
"icon": "./public/favicon.ico"
},
"mac": {
"artifactName": "${productName}-${os}-${arch}-${version}.${ext}",
"icon": "./public/favicon.png",
"target": [
"dmg",
"zip"
]
},
"linux": {
"artifactName": "${productName}-${os}-${arch}-${version}.${ext}",
"desktop": {
"StartupNotify": "true",
"Encoding": "UTF-8"
},
"icon": "./public/favicon.png",
"target": [
"AppImage",
"rpm",
"deb",
"zip",
"apk"
]
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"perMachine": false
},
"publish": [
{
"provider": "github",
"owner": "GilHogan",
"repo": "JDTreasureGrabber"
}
],
"extraFiles": [
{
"from": "./LICENSE",
"to": "./"
}
]
}
}