Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@
],
"cSpell.words": [
"artalk",
"artplayer",
"bilibili",
"bumpp",
"commitlint",
"composables",
"darkmode",
"dashjs",
"devtool",
"docsearch",
"domhandler",
Expand Down Expand Up @@ -56,6 +59,7 @@
"meilisearch",
"meteorlxy",
"mhchem",
"mpegts",
"nord",
"npmmirror",
"nprogress",
Expand Down Expand Up @@ -84,6 +88,7 @@
"twoslash",
"umami",
"unmount",
"vidstack",
"vuejs",
"vuepress",
"vueuse",
Expand Down
78 changes: 78 additions & 0 deletions plugins/features/plugin-media/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"name": "@vuepress/plugin-media",
"version": "2.0.0-rc.91",
"description": "VuePress plugin - media",
"keywords": [
"vuepress-plugin",
"vuepress",
"plugin",
"medium",
"zoom",
"image"
],
"homepage": "https://ecosystem.vuejs.press/plugins/features/media.html",
"bugs": {
"url": "https://github.com/vuepress/ecosystem/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuepress/ecosystem.git",
"directory": "plugins/features/plugin-media"
},
"license": "MIT",
"author": {
"name": "Mr.Hope",
"email": "[email protected]",
"url": "https://mister-hope.com"
},
"type": "module",
"exports": {
".": "./lib/node/index.js",
"./client": "./lib/client/index.js",
"./package.json": "./package.json"
},
"main": "./lib/node/index.js",
"types": "./lib/node/index.d.ts",
"files": [
"lib"
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"bundle": "rollup -c rollup.config.ts --configPlugin esbuild",
"clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.css\" lib"
},
"dependencies": {
"@vuepress/helper": "workspace:*",
"@vueuse/core": "catalog:",
"vue": "catalog:"
},
"peerDependencies": {
"artplayer": "^5.0.0",
"dashjs": "4.7.4",
"hls.js": "^1.4.12",
"mpegts.js": "^1.7.3",
"vidstack": "^1.12.9",
"vuepress": "catalog:"
},
"peerDependenciesMeta": {
"artplayer": {
"optional": true
},
"dashjs": {
"optional": true
},
"hls.js": {
"optional": true
},
"mpegts.js": {
"optional": true
},
"vidstack": {
"optional": true
}
},
"publishConfig": {
"access": "public"
}
}
9 changes: 9 additions & 0 deletions plugins/features/plugin-media/rollup.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { rollupBundle } from '../../../scripts/rollup.js'

export default [
...rollupBundle('node/index'),
...rollupBundle({
base: 'client',
files: ['config', 'index'],
}),
]
Loading
Loading