-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 3.26 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
{
"name": "electron-vite",
"version": "0.0.0",
"author": "MrAnyx",
"contributors": [
{
"name": "Robin B",
"email": "test@mail.com"
}
],
"main": "electron/main.ts",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"serve": "vite preview",
"electron": "wait-on tcp:3000 && cross-env IS_DEV=true nodemon --watch electron/main.ts --exec \"electron .\"",
"electron:pack": "electron-builder --dir",
"electron:dev": "concurrently -k \"cross-env BROWSER=none npm run dev\" \"npm run electron\"",
"electron:builder": "electron-builder -wl",
"build:for:electron": "vue-tsc --noEmit && cross-env ELECTRON=true vite build",
"app:build": "npm run build:for:electron && npm run electron:builder",
"app:pack": "npm run build:for:electron && electron-packager . build/packager/electron-vite --all --asar --ignore=.gitignore"
},
"dependencies": {
"@vicons/tabler": "^0.11.0",
"@vitejs/plugin-vue": "^1.4.0",
"axios": "^0.21.1",
"dompurify": "^2.3.1",
"dotenv": "^10.0.0",
"highlight.js": "^11.2.0",
"marked": "^3.0.2",
"naive-ui": "^2.16.5",
"nanoid": "^3.1.25",
"pinia": "^2.0.0-rc.6",
"vfonts": "^0.1.0",
"vite": "^2.5.0",
"vue": "^3.0.5",
"vue-router": "^4.0.11"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"@vue/compiler-sfc": "^3.0.5",
"concurrently": "^6.2.1",
"cross-env": "^7.0.3",
"electron": "^13.2.1",
"electron-builder": "^22.11.7",
"electron-packager": "^15.3.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^7.16.0",
"nodemon": "^2.0.12",
"prettier": "^2.3.2",
"sass": "^1.38.1",
"typescript": "^4.3.2",
"vue-tsc": "^0.2.2",
"wait-on": "^6.0.0"
},
"build": {
"productName": "Electron vite",
"copyright": "Copyright © 2021 ${author}",
"appId": "electron-vite",
"artifactName": "${productName}_Installer_${version}_${os}_${arch}.${ext}",
"extraResources": "pluginsDist",
"asar": true,
"icon": "public/icon.png",
"dmg": {
"contents": [
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"icon": "assets/building/linux",
"category": "Development",
"maintainer": "test@mail.com",
"target": [
"AppImage",
"deb"
]
},
"win": {
"icon": "public/icon.ico",
"target": [
{
"target": "nsis"
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"files": [
"dist/**/*",
"electron/**/*"
],
"directories": {
"buildResources": "assets",
"output": "build/builder"
}
}
}