Feature: add video,text file and markdown file preview

This commit is contained in:
萌萌哒赫萝
2023-02-21 18:42:50 +08:00
parent 893e33d591
commit b3ce9b9543
21 changed files with 967 additions and 23 deletions

View File

@@ -16,18 +16,21 @@
"postuninstall": "electron-builder install-app-deps",
"release": "vue-cli-service electron:build --publish always",
"upload-dist": "node ./scripts/upload-dist-to-r2.js",
"link": "node ./scripts/cos-link.js"
"link": "node ./scripts/link.js"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.272.0",
"@aws-sdk/lib-storage": "^3.272.0",
"@aws-sdk/s3-request-presigner": "^3.272.0",
"@element-plus/icons-vue": "^2.0.10",
"@highlightjs/vue-plugin": "^2.1.0",
"@imengyu/vue3-context-menu": "^1.2.2",
"@octokit/rest": "^19.0.7",
"@picgo/i18n": "^1.0.0",
"@picgo/store": "^2.0.4",
"@types/marked": "^4.0.8",
"@types/mime-types": "^2.1.1",
"@videojs-player/vue": "^1.0.0",
"ali-oss": "^6.17.1",
"aws-sdk": "^2.1317.0",
"axios": "^1.3.2",
@@ -41,10 +44,12 @@
"form-data": "^4.0.0",
"fs-extra": "^11.1.0",
"got": "^12.5.3",
"highlight.js": "^11.7.0",
"hpagent": "^1.2.0",
"keycode": "^2.2.0",
"lodash-id": "^0.14.0",
"lowdb": "^1.0.0",
"marked": "^4.2.12",
"mime-types": "^2.1.35",
"mitt": "^3.0.0",
"piclist": "^0.0.8",
@@ -55,10 +60,12 @@
"shell-path": "2.1.0",
"upyun": "^3.4.6",
"uuid": "^9.0.0",
"video.js": "^8.0.4",
"vue": "^3.2.47",
"vue-router": "^4.1.6",
"vue3-lazyload": "^0.3.6",
"vue3-photo-preview": "^0.2.9",
"webdav": "^5.0.0-r3",
"write-file-atomic": "^4.0.1"
},
"devDependencies": {