86 lines
2.3 KiB
JSON
86 lines
2.3 KiB
JSON
{
|
|
"name": "@source/player",
|
|
"version": "3.2.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": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/video-player.js",
|
|
"require": "./dist/video-player.umd.cjs"
|
|
},
|
|
"./styles.css": "./dist/player.css"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"DOCUMENTATION.md"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"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",
|
|
"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",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/react": "^19.2.2",
|
|
"@types/react-dom": "^19.2.2",
|
|
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
"@typescript-eslint/parser": "^8.46.2",
|
|
"@vitejs/plugin-react": "^5.1.0",
|
|
"@vitest/ui": "^4.0.4",
|
|
"baseline-browser-mapping": "^2.9.19",
|
|
"eslint": "^9.38.0",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"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",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^7.1.12",
|
|
"vite-plugin-dts": "^4.5.4",
|
|
"vitest": "^4.0.4"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"video",
|
|
"player",
|
|
"video-player",
|
|
"hls",
|
|
"rtmp",
|
|
"flv",
|
|
"mpegts",
|
|
"iptv",
|
|
"streaming",
|
|
"media"
|
|
],
|
|
"author": "Alper",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gits.hibna.com.tr/hibna/player"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://gits.hibna.com.tr/api/packages/hibna/npm/"
|
|
}
|
|
}
|