UNPKG

@ducanh2912/react-hls-player

Version:

A simple and easy to use react component for playing an hls live stream

103 lines 2.96 kB
{ "name": "@ducanh2912/react-hls-player", "author": "Christopher Short, DuCanhGH", "description": "A simple and easy to use react component for playing an hls live stream", "version": "3.3.5", "license": "MIT", "source": "./src/index.tsx", "type": "module", "files": [ "dist" ], "exports": { "types": "./dist/index.d.ts", "require": "./dist/ducanh2912-react-hls.cjs", "default": "./dist/ducanh2912-react-hls.modern.js" }, "main": "./dist/ducanh2912-react-hls.cjs", "module": "./dist/ducanh2912-react-hls.module.js", "unpkg": "./dist/ducanh2912-react-hls.umd.cjs", "types": "./dist/index.d.ts", "keywords": [ "hls", "rtmp", "react", "component" ], "bugs": { "url": "https://github.com/DuCanhGH/react-hls/issues" }, "homepage": "https://github.com/DuCanhGH/react-hls#README", "repository": { "type": "git", "url": "git+https://github.com/DuCanhGH/react-hls.git" }, "peerDependencies": { "hls.js": "1.x", "react": ">=16.8.0" }, "devDependencies": { "@changesets/cli": "2.26.0", "@size-limit/preset-small-lib": "8.1.0", "@size-limit/webpack": "8.1.0", "@size-limit/webpack-why": "8.1.0", "@testing-library/react": "13.4.0", "@types/jest": "29.2.5", "@types/react": "18.0.26", "@types/react-dom": "18.0.10", "@typescript-eslint/eslint-plugin": "5.48.0", "@typescript-eslint/parser": "5.48.0", "eslint": "8.31.0", "eslint-config-prettier": "8.6.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-jsx-a11y": "6.6.1", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-react": "7.31.11", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-simple-import-sort": "8.0.0", "hls.js": "1.2.9", "husky": "8.0.3", "jest": "29.3.1", "jest-environment-jsdom": "29.3.1", "microbundle": "0.15.1", "prettier": "2.8.1", "react": "18.2.0", "react-dom": "18.2.0", "rimraf": "3.0.2", "size-limit": "8.1.0", "ts-jest": "29.0.3", "tslib": "2.4.1", "typescript": "4.9.4", "webpack": "5.75.0" }, "size-limit": [ { "path": "dist/ducanh2912-react-hls.cjs", "limit": "144 KB" }, { "path": "dist/ducanh2912-react-hls.modern.js", "limit": "144 KB" }, { "path": "dist/ducanh2912-react-hls.module.js", "limit": "144 KB" }, { "path": "dist/ducanh2912-react-hls.umd.cjs", "limit": "144 KB" } ], "scripts": { "analyze": "size-limit --why", "build": "rimraf dist && microbundle", "dev": "microbundle watch", "format": "prettier --write .", "lint": "eslint src --cache --cache-location ./node_modules/.cache/eslint --ext ts,tsx,js,jsx,cjs,mjs", "new-changeset": "changeset", "publish-packages": "pnpm typecheck && pnpm lint && pnpm build && changeset publish", "size": "size-limit", "test": "jest --env=jsdom", "typecheck": "tsc" } }