release: v3.0.0

This commit is contained in:
hibna
2026-02-13 04:59:21 +03:00
parent 1f1b7d7de3
commit 9ab429b5c0
50 changed files with 6015 additions and 436 deletions
+9 -11
View File
@@ -1,6 +1,6 @@
{
"name": "@source/player",
"version": "2.0.0",
"version": "3.0.0",
"description": "Modern, feature-rich video player library for React",
"type": "module",
"main": "./dist/video-player.umd.cjs",
@@ -22,14 +22,16 @@
"build": "tsc && vite build",
"build:lib": "vite build --config vite.config.lib.ts",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest",
"test:run": "vitest run",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
"test:coverage": "vitest --coverage",
"validate:publish": "npm run lint && npm run test:run && npm run typecheck && npm run build:lib && npm pack --dry-run",
"prepublishOnly": "npm run validate:publish"
},
"devDependencies": {
"@eslint/js": "^9.38.0",
@@ -47,6 +49,7 @@
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.4.0",
"jsdom": "^27.0.1",
"prettier": "^3.6.2",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"terser": "^5.44.0",
@@ -55,11 +58,6 @@
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.0.4"
},
"optionalDependencies": {
"flv.js": "^1.6.2",
"hls.js": "^1.6.13",
"mpegts.js": "^1.7.3"
},
"keywords": [
"react",
"video",