SIGN IN SIGN UP
cookpete / react-player UNCLAIMED

A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion

0 0 0 TypeScript
2015-08-18 10:45:31 +01:00
{
"name": "react-player",
2023-12-19 13:48:31 +00:00
"version": "2.14.1",
2018-01-18 08:13:23 +00:00
"description": "A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
2015-08-18 10:45:31 +01:00
"scripts": {
"clean": "rimraf lib lazy demo coverage *.d.ts",
"start": "cp -r examples/react/public/ demo & npm run build:lib --watch=forever & builder examples/react/src/index.js --format=iife --bundle --outdir=demo --watch --servedir=demo --livereload",
"lint": "standard --verbose | snazzy",
2019-08-17 20:10:20 +01:00
"lint:fix": "standard --fix",
"lint:ts": "ts-standard --verbose types/*.d.ts | snazzy",
"lint:ts:fix": "ts-standard --fix types/*.d.ts",
"test": "tester test/*.js test/*/*.js --outdir=disttest --platform=node --format=esm --bundle --external:sinon --external:zora --target=esnext --sourcemap=inline",
"test:coverage": "c8 --src src --exclude 'test/**' --exclude 'node_modules/**' --exclude 'scripts/**' --exclude-after-remap npm test",
"test:codecov": "npm run test:coverage && c8 report --reporter json && codecov -f coverage/coverage-final.json",
"build:demo": "cp -r examples/react/public demo && npm run build:lib && builder examples/react/src/index.js --format=iife --bundle --outdir=demo --minify --sourcemap",
"build:lib": "builder src/*.js src/players/*.js --outdir=lib --format=cjs",
"build:lazy": "builder src/*.js src/players/*.js --outdir=lazy --format=cjs",
"build:dist": "builder src/index.js --outfile=dist/ReactPlayer.js --format=iife --bundle --minify --sourcemap --global-name=ReactPlayer --external:react --plugin:global-externals='{\"react\":\"globalThis.React\"}' --footer:js='ReactPlayer = ReactPlayer.default;'",
"build:standalone": "builder src/standalone.js --outfile=dist/ReactPlayer.standalone.js --format=iife --bundle --minify --sourcemap --global-name=renderReactPlayer --footer:js='renderReactPlayer = renderReactPlayer.default;'",
"build:es6": "builder src/standalone.js --outfile=dist/ReactPlayer.standalone.es6.js --format=esm --bundle --minify",
2018-09-20 14:32:47 +01:00
"preversion": "npm run lint && npm run test",
2018-01-18 07:39:38 +00:00
"version": "auto-changelog -p && npm run build:dist && npm run build:standalone && git add CHANGELOG.md dist",
"prepublishOnly": "npm run build:lib && npm run build:lazy && npm run build:dist && npm run build:es6 && node scripts/pre-publish.js && cp -r types/* .",
"postpublish": "node scripts/post-publish.js && npm run clean"
2015-08-18 10:45:31 +01:00
},
"repository": {
"type": "git",
2023-11-03 11:39:46 -05:00
"url": "git+https://github.com/cookpete/react-player.git"
2015-08-18 10:45:31 +01:00
},
"author": "Pete Cook (https://github.com/cookpete)",
"license": "MIT",
2015-08-18 10:45:31 +01:00
"bugs": {
2023-11-03 11:39:46 -05:00
"url": "https://github.com/cookpete/react-player/issues"
2015-08-18 10:45:31 +01:00
},
2023-11-03 11:39:46 -05:00
"homepage": "https://github.com/cookpete/react-player",
"peerDependencies": {
"react": ">=16.6.0"
},
2015-08-18 10:45:31 +01:00
"devDependencies": {
"@types/node": "^14.0.24",
"@types/react": "^17.0.0",
"auto-changelog": "^2.0.0",
"builder": "file:./scripts/builder",
"c8": "^8.0.1",
2020-03-25 23:07:24 +00:00
"codecov": "^3.6.5",
"cross-env": "^7.0.2",
"esbuild": "^0.19.4",
2020-03-25 23:07:24 +00:00
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
2020-03-25 23:07:24 +00:00
"rimraf": "^3.0.2",
"screenfull": "^5.0.2",
"sinon": "^16.0.0",
"snazzy": "^8.0.0",
"standard": "^17.1.0",
"tester": "file:./scripts/tester",
"ts-standard": "^12.0.2",
"typescript": "^4.1.2",
"zora": "^5.2.0"
2015-08-18 10:45:31 +01:00
},
"dependencies": {
"deepmerge": "^4.0.0",
"load-script": "^1.0.0",
"memoize-one": "^5.1.1",
"prop-types": "^15.7.2",
"react-fast-compare": "^3.0.1"
2015-08-18 10:45:31 +01:00
},
"standard": {
2016-03-08 10:25:40 +00:00
"ignore": [
"/dist/*"
2015-08-18 10:45:31 +01:00
]
2018-05-29 13:38:24 +01:00
},
"auto-changelog": {
"breakingPattern": "Breaking changes:"
},
"sideEffects": [
"./src/standalone.js",
"./test/**/*"
],
"keywords": [
"react",
"media",
"player",
"video",
"audio",
"youtube",
"facebook",
"twitch",
"soundcloud",
"streamable",
"vimeo",
"wistia",
"dailymotion",
"hls",
"dash",
"react-component"
]
2023-03-07 13:15:42 +00:00
}