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" ,
2020-06-07 14:39:19 +01:00
"main" : "lib/index.js" ,
2021-01-24 08:59:02 +00:00
"typings" : "lib/index.d.ts" ,
2015-08-18 10:45:31 +01:00
"scripts" : {
2021-01-20 00:30:48 +00:00
"clean" : "rimraf lib lazy demo coverage *.d.ts" ,
2023-10-10 12:50:11 -05:00
"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" ,
2016-01-05 11:55:26 +00:00
"lint" : "standard --verbose | snazzy" ,
2019-08-17 20:10:20 +01:00
"lint:fix" : "standard --fix" ,
2020-12-04 20:33:14 -03:00
"lint:ts" : "ts-standard --verbose types/*.d.ts | snazzy" ,
"lint:ts:fix" : "ts-standard --fix types/*.d.ts" ,
2023-10-10 12:50:11 -05:00
"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" ,
2023-02-03 15:21:26 -05:00
"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/* ." ,
2020-06-07 14:39:19 +01:00
"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
} ,
2022-03-25 13:34:32 +00:00
"author" : "Pete Cook (https://github.com/cookpete)" ,
2017-10-27 07:26:13 +01:00
"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" ,
2015-08-24 16:17:38 +01:00
"peerDependencies" : {
2019-11-07 14:41:13 +00:00
"react" : ">=16.6.0"
2015-08-24 16:17:38 +01:00
} ,
2015-08-18 10:45:31 +01:00
"devDependencies" : {
2020-12-04 20:33:14 -03:00
"@types/node" : "^14.0.24" ,
"@types/react" : "^17.0.0" ,
2020-04-12 20:00:06 +01:00
"auto-changelog" : "^2.0.0" ,
2023-10-10 12:50:11 -05:00
"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" ,
2023-10-10 12:50:11 -05:00
"esbuild" : "^0.19.4" ,
2020-03-25 23:07:24 +00:00
"react" : "^16.13.1" ,
"react-dom" : "^16.13.1" ,
2023-10-10 12:50:11 -05:00
"react-test-renderer" : "^16.13.1" ,
2020-03-25 23:07:24 +00:00
"rimraf" : "^3.0.2" ,
"screenfull" : "^5.0.2" ,
2023-10-10 12:50:11 -05:00
"sinon" : "^16.0.0" ,
2019-08-17 09:36:37 +01:00
"snazzy" : "^8.0.0" ,
2023-10-10 12:50:11 -05:00
"standard" : "^17.1.0" ,
"tester" : "file:./scripts/tester" ,
"ts-standard" : "^12.0.2" ,
2020-12-04 20:33:14 -03:00
"typescript" : "^4.1.2" ,
2023-10-10 12:50:11 -05:00
"zora" : "^5.2.0"
2015-08-18 10:45:31 +01:00
} ,
"dependencies" : {
2019-08-17 09:36:37 +01:00
"deepmerge" : "^4.0.0" ,
2015-10-18 12:51:37 -07:00
"load-script" : "^1.0.0" ,
2020-04-19 14:39:00 +01:00
"memoize-one" : "^5.1.1" ,
2020-04-25 09:12:33 +01:00
"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
} ,
2020-04-12 20:00:06 +01:00
"auto-changelog" : {
"breakingPattern" : "Breaking changes:"
2023-02-03 21:36:38 +01:00
} ,
2023-03-07 07:31:51 -04:00
"sideEffects" : [
2023-10-10 12:50:11 -05:00
"./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 07:31:51 -04:00
]
2023-03-07 13:15:42 +00:00
}