-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·188 lines (188 loc) · 5.84 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "ee",
"version": "3.1.0",
"description": "A fast, desktop software development framework",
"main": "main.js",
"scripts": {
"start-dev": "node scripts/start --mode development",
"build-al": "node scripts/build",
"publish": "node scripts/publish",
"f2elint-scan": "f2elint scan",
"f2elint-fix": "f2elint fix",
"serve": "concurrently -k \"npm run start-dev\" \"npm run dev\"",
"all-m": "vite build && ee-core rd --dist_dir=./dist && ee-core encrypt && electron-builder -m",
"all-w": "vite build && ee-core rd --dist_dir=./dist && ee-core encrypt && electron-builder -w=nsis --x64",
"devWeb": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
"format": "prettier --write src/",
"testc": "node ./myBeforePackHook",
"start": "electron . ",
"dev": "electron . --env=local",
"reload": "nodemon --config ./electron/config/nodemon.json",
"test": "set DEBUG=* && electron . --env=local",
"build-w": "electron-builder -w=nsis --x64",
"build-w-32": "electron-builder -w=nsis --ia32",
"build-w-64": "electron-builder -w=nsis --x64",
"build-w-arm64": "electron-builder -w=nsis --arm64",
"build-wz": "electron-builder -w=7z --x64",
"build-wz-32": "electron-builder -w=7z --ia32",
"build-wz-64": "electron-builder -w=7z --x64",
"build-wz-arm64": "electron-builder -w=7z --arm64",
"build-m": "electron-builder -m",
"build-m-arm64": "electron-builder -m --arm64",
"build-l": "electron-builder -l=deb --x64",
"build-l-32": "electron-builder -l=deb --ia32",
"build-l-64": "electron-builder -l=deb --x64",
"build-l-arm64": "electron-builder -l=deb --arm64",
"build-l-armv7l": "electron-builder -l=deb --armv7l",
"build-lr-64": "electron-builder -l=rpm --x64",
"build-lp-64": "electron-builder -l=pacman --x64",
"build-ql-64": "electron-builder -l=deb --x64 && cd out && dpkg-deb -R ee-linux-3.1.0-amd64.deb ee-linux-3.1.0-amd64 && dpkg-deb -b ee-linux-3.1.0-amd64 ee-linux-3.1.0-amd64_new.deb",
"rd": "ee-core rd --dist_dir=./dist",
"encrypt": "ee-core encrypt",
"clean": "ee-core clean",
"rebuild": "electron-rebuild",
"re-sqlite": "electron-rebuild -f -w better-sqlite3"
},
"build": {
"productName": "ee",
"appId": "com.electron.ee",
"copyright": "wallace5303",
"directories": {
"output": "out"
},
"asar": true,
"files": [
"**/*",
"!frontend/",
"!run/",
"!logs/",
"!data/",
"!electron/"
],
"extraResources": {
"from": "./build/extraResources/",
"to": "extraResources"
},
"electronDownload": {
"mirror": "https://npmmirror.com/mirrors/electron/"
},
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "./build/icons/icon.ico",
"uninstallerIcon": "./build/icons/icon.ico",
"installerHeaderIcon": "./build/icons/icon.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "EE框架"
},
"publish": [
{
"provider": "generic",
"url": "https://github.com/wallace5303/electron-egg"
}
],
"mac": {
"icon": "./build/icons/icon.icns",
"artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
"target": [
"dmg",
"zip"
]
},
"win": {
"icon": "./build/icons/icon.ico",
"artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
"target": [
{
"target": "nsis"
}
]
},
"linux": {
"icon": "./build/icons/icon.icns",
"artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
"target": [
"deb"
],
"category": "Utility"
}
},
"repository": "https://github.com/wallace5303/ee.git",
"keywords": [
"Electron"
],
"author": "wallace5303, Inc <[email protected]>",
"license": "Apache",
"devDependencies": {
"@rushstack/eslint-patch": "^1.2.0",
"@vitejs/plugin-vue": "^4.2.1",
"@vue/eslint-config-prettier": "^7.1.0",
"concurrently": "^7.6.0",
"debug": "^4.3.3",
"electron": "22.0.0",
"electron-builder": "23.6.0",
"electron-rebuild": "^3.2.8",
"element-plus": "^2.3.4",
"eslint": "^8.39.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-vue": "^9.11.0",
"f2elint": "^2.2.1",
"mockjs": "^1.1.0",
"nodemon": "^2.0.16",
"prettier": "^2.8.8",
"rollup-plugin-visualizer": "^5.9.2",
"sass": "1.26.2",
"vite": "^4.3.4"
},
"dependencies": {
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.12",
"axios": "^1.4.0",
"dayjs": "^1.10.7",
"dos2unix": "^1.1.2",
"echarts": "^5.4.2",
"ee-core": "^2.1.0",
"electron-updater": "^5.3.0",
"exceljs": "^4.3.0",
"fs-extra": "^11.1.1",
"global": "^4.4.0",
"isarray": "^2.0.5",
"js-cookie": "^3.0.5",
"js-md5": "^0.7.3",
"klinecharts": "^9.5.0",
"lodash": "^4.17.21",
"mousetrap": "^1.6.5",
"normalize.css": "^8.0.1",
"pinia": "^2.0.35",
"runjs": "^4.4.2",
"sass": "^1.62.1",
"sass-loader": "^13.2.2",
"sortablejs": "^1.15.0",
"store2": "^2.14.2",
"swiper": "^9.3.2",
"unplugin-auto-import": "^0.16.4",
"unplugin-vue-components": "^0.25.1",
"vite-plugin-electron-builder": "^0.1.0",
"vue": "^3.2.47",
"vue-awesome-swiper": "^5.0.1",
"vue-i18n": "^9.2.2",
"vue-router": "^4.1.6",
"vue3-drr-grid-layout": "^1.9.7",
"vxe-table": "^4.4.2",
"vxe-table-plugin-export-xlsx": "^3.0.4",
"wechat4u": "^0.7.12",
"ws": "^8.13.0",
"xe-utils": "^3.5.11"
},
"husky": {
"hooks": {
"pre-commit": "f2elint commit-file-scan",
"commit-msg": "f2elint commit-msg-scan"
}
}
}