-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 3 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
{
"name": "downloader",
"version": "0.2.0",
"main": "dist/main/index.js",
"author": "_ChingC",
"license": "MIT",
"scripts": {
"dev": "npm run dev:all",
"dev:all": "concurrently -n=vue,ele -c=green,blue \"npm run dev:vue\" \"npm run dev:ele\"",
"dev:vue": "vite",
"dev:ele": "node -r ts-node/register script/build-main --env=development --watch",
"build:vue": "vite build",
"build:ele": "node -r ts-node/register script/build-main --env=production && electron-builder",
"build": "rimraf dist && npm run build:vue && npm run build:ele",
"lint": "eslint ./src/**/*.{ts,vue} --fix"
},
"build": {
"appId": "cn.sayobot.downloader",
"productName": "SayoDownloader",
"asar": true,
"directories": {
"output": "release/${version}"
},
"electronDownload": {
"mirror": "https://npm.taobao.org/mirrors/electron/"
},
"files": [
"!node_modules",
"dist/**"
],
"extraResources": {
"from": "src/preload",
"to": "app/src/preload"
},
"mac": {
"artifactName": "${productName}_v${version}.Mac.${ext}",
"target": [
"zip"
]
},
"win": {
"target": [
{
"target": "portable",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}_v${version}.Windows.${ext}"
}
},
"dependencies": {
"@ant-design/icons-vue": "^6.0.1",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-regular-svg-icons": "^5.15.3",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/vue-fontawesome": "^3.0.0-3",
"vue": "next",
"vue-router": "next"
},
"devDependencies": {
"@cliqz/url-parser": "^1.1.4",
"@element-plus/icons": "^0.0.11",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-typescript": "^8.2.1",
"@types/howler": "^2.2.2",
"@types/minimist": "^1.2.1",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"@vitejs/plugin-vue": "^1.1.4",
"@vitejs/plugin-vue-jsx": "^1.1.4",
"@vue/compiler-sfc": "^3.0.7",
"acorn": "^8.2.4",
"axios": "^0.21.1",
"chalk": "^4.1.0",
"concurrently": "^5.3.0",
"electron": "latest",
"electron-builder": "latest",
"electron-store": "^7.0.2",
"element-plus": "latest",
"eslint": "^8.2.0",
"eslint-plugin-vue": "^8.0.3",
"howler": "^2.2.1",
"less": "^4.1.1",
"lodash": "^4.17.21",
"minimist": "^1.2.5",
"ora": "^5.0.0",
"rimraf": "^3.0.2",
"rollup-plugin-esbuild": "^3.0.2",
"rollup-plugin-node-externals": "^2.2.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3",
"vite": "^2.1.2",
"vue-eslint-parser": "^8.0.1"
},
"keywords": [
"vite",
"electron",
"vue3",
"rollup"
]
}