mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
feat: add danmuku plugin documentation and i18n setup guide
- Created a new documentation file for the danmuku plugin with code examples. - Added comprehensive i18n setup instructions, including default language settings, language imports, and examples for adding and modifying languages. - Updated the structure and content of the i18n documentation to enhance clarity and usability.
This commit is contained in:
1 parent
18475f08fd
commit
5b1cebb334
82 files changed
+268
-174
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "artplayer",
|
||||
"version": "5.3.0-beta.3",
|
||||
"version": "5.3.0-beta.5",
|
||||
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
||||
"author": "Harvey Zack <laozhaochaguan@gmail.com>",
|
||||
"license": "MIT",
|
||||
@@ -19,21 +19,24 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./types/artplayer.d.ts",
|
||||
"import": "./dist/artplayer.mjs",
|
||||
"require": "./dist/artplayer.js",
|
||||
"types": "./types/artplayer.d.ts"
|
||||
"require": "./dist/artplayer.js"
|
||||
},
|
||||
"./legacy": {
|
||||
"types": "./types/artplayer.d.ts",
|
||||
"import": "./dist/artplayer.legacy.js",
|
||||
"require": "./dist/artplayer.legacy.js",
|
||||
"types": "./types/artplayer.d.ts"
|
||||
"require": "./dist/artplayer.legacy.js"
|
||||
},
|
||||
"./i18n/*": {
|
||||
"types": "./types/i18n.d.ts",
|
||||
"import": "./dist/i18n/*.mjs",
|
||||
"require": "./dist/i18n/*.js",
|
||||
"types": "./types/i18n.d.ts"
|
||||
"require": "./dist/i18n/*.js"
|
||||
}
|
||||
},
|
||||
"main": "./dist/artplayer.js",
|
||||
"module": "./dist/artplayer.mjs",
|
||||
"types": "./types/artplayer.d.ts",
|
||||
"typesVersions": {
|
||||
"*": {
|
||||
"i18n/*": [
|
||||
@@ -44,12 +47,9 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"main": "./dist/artplayer.js",
|
||||
"module": "./dist/artplayer.mjs",
|
||||
"types": "./types/artplayer.d.ts",
|
||||
"legacy": "./dist/artplayer.legacy.js",
|
||||
"browserslist": "last 1 Chrome version",
|
||||
"dependencies": {
|
||||
"option-validator": "^2.0.6"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user