Initial commit: modern React video player library
Add all source files for a feature-rich, reusable video player built with React, TypeScript, and Vite. Includes core components, context, hooks, utilities, styles, demo app, and configuration files.
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"name": "@alper/video-player",
|
||||
"version": "0.1.0",
|
||||
"description": "Modern, feature-rich video player library for React",
|
||||
"type": "module",
|
||||
"main": "./dist/video-player.umd.cjs",
|
||||
"module": "./dist/video-player.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/video-player.js",
|
||||
"require": "./dist/video-player.umd.cjs",
|
||||
"types": "./dist/index.d.ts"
|
||||
},
|
||||
"./styles.css": "./dist/style.css"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"build:lib": "tsc && vite build --config vite.config.lib.ts",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.3.3",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
||||
"@typescript-eslint/parser": "^7.13.1",
|
||||
"@vitejs/plugin-react": "^4.3.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.2",
|
||||
"eslint-plugin-react-refresh": "^0.4.7",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.3.1"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"hls.js": "^1.5.13"
|
||||
},
|
||||
"keywords": [
|
||||
"react",
|
||||
"video",
|
||||
"player",
|
||||
"video-player",
|
||||
"hls",
|
||||
"streaming",
|
||||
"media"
|
||||
],
|
||||
"author": "Alper",
|
||||
"license": "MIT"
|
||||
}
|
||||
Reference in New Issue
Block a user