Files
player/package.json
T
hibna bad1cc6ca0 Add i18n, tests, and update documentation
Introduces internationalization (i18n) support with English and Turkish, adds unit tests and test setup with Vitest and React Testing Library, and updates documentation including README and changelog. Removes legacy publishing and usage guides, refactors components to use translation system, and updates build and test scripts in package.json. Also adds new utility modules for HLS and CORS, and improves PlayerContext and SettingsMenu for language support.
2025-10-29 13:10:07 +03:00

80 lines
2.0 KiB
JSON

{
"name": "@alper/video-player",
"version": "0.1.3",
"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/video-player.css"
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:lib": "vite build --config vite.config.lib.ts",
"preview": "vite preview",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"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",
"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",
"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"
},
"optionalDependencies": {
"hls.js": "^1.6.13"
},
"keywords": [
"react",
"video",
"player",
"video-player",
"hls",
"streaming",
"media"
],
"author": "Alper",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://gitea.hibna.com.tr/hibna/video-player.git"
},
"publishConfig": {
"registry": "https://gitea.hibna.com.tr/api/packages/hibna/npm/"
}
}