-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
241 lines (241 loc) · 8.36 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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
{
"name": "MegSpot",
"version": "v2.2.12",
"author": "weiyajun <weiyajun@megvii.com>",
"description": "A tool to improve the viewing of pictures and videos by researchers",
"homepage": "https://github.com/MegEngine/MegSpot",
"license": "Apache License Version 2.0",
"main": "./dist/electron/main.js",
"scripts": {
"dev": "cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/dev-runner.js",
"build": "cross-env BUILD_TARGET=clean NODE_ENV=production node .electron-vue/build.js && node .electron-vue/build.js",
"build:win32": "cross-env BUILD_TARGET=clean NODE_ENV=production node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --win --ia32",
"build:win64": "cross-env BUILD_TARGET=clean NODE_ENV=production node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --win --x64",
"build:mac": "cross-env BUILD_TARGET=clean NODE_ENV=production node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --mac",
"build:linux": "cross-env BUILD_TARGET=clean NODE_ENV=production node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --linux",
"build:dir": "cross-env BUILD_TARGET=clean NODE_ENV=production node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --dir",
"build:ml": "cross-env BUILD_TARGET=clean NODE_ENV=production node .electron-vue/build.js && node .electron-vue/build.js && sudo electron-builder -ml",
"build:all": "cross-env BUILD_TARGET=clean NODE_ENV=production node .electron-vue/build.js && node .electron-vue/build.js && sudo electron-builder -wml",
"publish:all": "cross-env BUILD_TARGET=clean NODE_ENV=production node .electron-vue/build.js && node .electron-vue/build.js && sudo electron-builder -wml -p onTag",
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
"build:web": "cross-env BUILD_TARGET=web ENV_TARGET=web node .electron-vue/build.js",
"pack": "npm run pack:main && npm run pack:renderer",
"pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
"lint": "eslint --ext .js,.vue src",
"pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
"dep:upgrade": "yarn upgrade-interactive --latest",
"postinstall": "electron-builder install-app-deps",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"e2e": "playwright test"
},
"build": {
"extraFiles": [],
"publish": [
{
"provider": "github",
"private": false,
"repo": "MegSpot",
"owner": "MegEngine",
"releaseType": "release"
}
],
"productName": "MegSpot",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"appId": "org.megvii.megspot",
"copyright": " Copyright (c) 2022 Megvii Inc. All rights reserved.",
"releaseInfo": {
"releaseNotes": "一、性能优化:\n 1. 对图像预览列表启用懒加载,解决了文件过多时导致的卡顿问题",
"releaseDate": "2024.10.29"
},
"directories": {
"output": "build"
},
"files": [
"dist/electron/**/*"
],
"extraResources": [
"LICENSE",
"COPYRIGHT",
"CONTRIBUTOR LICENSE AGREEMENT"
],
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"mac": {
"icon": "build/icons/logo.icns",
"category": "public.app-category.utilities",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
]
},
"win": {
"icon": "build/icons/logo.ico"
},
"linux": {
"target": [
"AppImage"
],
"category": "Utility"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"dependencies": {
"@dhdbstjr98/gif.js": "^1.0.2",
"@electron/remote": "^2.0.8",
"@popperjs/core": "^2.9.2",
"axios": "^0.21.1",
"chokidar": "^3.5.2",
"dayjs": "^1.10.4",
"electron-log": "^4.3.4",
"electron-store": "^8.1.0",
"electron-updater": "^4.3.5",
"element-ui": "^2.15.0",
"ex-utils": "^0.0.4",
"express": "^4.17.1",
"file-saver": "^2.0.5",
"flex.css": "^1.1.7",
"fs-extra": "^9.1.0",
"jszip": "^3.10.0",
"lodash": "^4.17.21",
"mediainfo.js": "^0.1.8",
"swiper": "5.2.0",
"utif2": "^4.0.1",
"viewerjs": "^1.9.0",
"vue": "^2.6.12",
"vue-awesome-swiper": "^4.1.1",
"vue-i18n": "^8.22.4",
"vue-lazyload": "1.3.3",
"vue-router": "^3.4.9",
"vue-split-panel": "^1.0.4",
"vuedraggable": "^2.24.3",
"vuescroll": "^4.17.3",
"vuex": "^3.6.0",
"vuex-electron-store": "^1.4.26",
"vxe-table": "^3.4.5",
"xe-utils": "^3.4.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.12",
"@babel/plugin-proposal-do-expressions": "^7.12.1",
"@babel/plugin-proposal-export-default-from": "^7.12.1",
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
"@babel/plugin-proposal-function-bind": "^7.12.1",
"@babel/plugin-proposal-function-sent": "^7.12.1",
"@babel/plugin-proposal-json-strings": "^7.12.1",
"@babel/plugin-proposal-logical-assignment-operators": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-numeric-separator": "^7.12.7",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/plugin-proposal-pipeline-operator": "^7.12.1",
"@babel/plugin-proposal-throw-expressions": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-modules-umd": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/register": "^7.12.10",
"@babel/runtime": "^7.12.5",
"@playwright/test": "^1.24.2",
"@types/fs-extra": "^9.0.6",
"@types/node": "^14.14.22",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.2.2",
"babel-plugin-import": "^1.13.3",
"cache-loader": "^4.1.0",
"chalk": "^4.0.0",
"copy-webpack-plugin": "^6.3.2",
"cross-env": "^7.0.3",
"css-loader": "^5.0.1",
"del": "^6.0.0",
"dmg-builder": "23.6.0",
"electron": "^22.0.0",
"electron-builder": "23.6.0",
"electron-devtools-vendor": "^1.1.0",
"electron-playwright-helpers": "^1.2.0",
"esbuild-loader": "^2.19.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^3.0.4",
"eslint-plugin-html": "^6.1.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^9.2.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.1.0",
"eslint-plugin-vue": "^7.5.0",
"file-loader": "^6.2.0",
"firebase": "^9.15.0",
"git-cz": "^4.7.6",
"html-webpack-plugin": "^4.5.1",
"husky": "^4.3.8",
"lint-staged": "^10.5.3",
"mini-css-extract-plugin": "1.3.4",
"multispinner": "^0.2.1",
"node-loader": "^1.0.2",
"playwright": "^1.24.2",
"portfinder": "^1.0.28",
"prettier": "^2.7.0",
"sass": "1.32.5",
"sass-loader": "^10.1.1",
"string-replace-loader": "^3.1.0",
"style-loader": "^2.0.0",
"svg-sprite-loader": "^5.2.1",
"terser-webpack-plugin": "^4.2.3",
"timing-object": "^3.1.48",
"timingsrc": "^1.2.8",
"url-loader": "^4.1.1",
"vue-html-loader": "^1.2.4",
"vue-loader": "^15.9.6",
"vue-slider-component": "^3.2.23",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.12",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.2",
"webpack-hot-middleware": "^2.25.0",
"webpack-merge": "^5.7.3"
},
"lint-staged": {
"src/**/*.{js,vue}": [
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "git-cz"
}
},
"volta": {
"node": "16.20.2",
"yarn": "1.22.21"
}
}