193 lines
5.1 KiB
JSON
193 lines
5.1 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"react-player@1.15.3",
|
|
"/home/zhiyuanliu/gitlink/forgeplus-react"
|
|
]
|
|
],
|
|
"_from": "react-player@1.15.3",
|
|
"_id": "react-player@1.15.3",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-8fc0R1AipFIy7l4lKgnIg+gMU2IY32ZMxxBlINjXAq/YnN3HUP3hOaE+aQ0lQv+a1/MMZgbekWD86ZGDO7kB8g==",
|
|
"_location": "/react-player",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "react-player@1.15.3",
|
|
"name": "react-player",
|
|
"escapedName": "react-player",
|
|
"rawSpec": "1.15.3",
|
|
"saveSpec": null,
|
|
"fetchSpec": "1.15.3"
|
|
},
|
|
"_requiredBy": [
|
|
"/"
|
|
],
|
|
"_resolved": "http://173.15.15.82:8081/repository/npm-all/react-player/-/react-player-1.15.3.tgz",
|
|
"_spec": "1.15.3",
|
|
"_where": "/home/zhiyuanliu/gitlink/forgeplus-react",
|
|
"author": {
|
|
"name": "Pete Cook",
|
|
"email": "pete@cookpete.com",
|
|
"url": "http://github.com/cookpete"
|
|
},
|
|
"ava": {
|
|
"files": [
|
|
"test/**/*",
|
|
"!test/helpers"
|
|
],
|
|
"require": [
|
|
"@babel/register",
|
|
"@babel/polyfill"
|
|
],
|
|
"babel": {
|
|
"compileAsTests": [
|
|
"test/helpers/*"
|
|
]
|
|
}
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"@babel/preset-env",
|
|
"@babel/preset-react"
|
|
],
|
|
"plugins": [
|
|
"react-hot-loader/babel",
|
|
"@babel/plugin-proposal-class-properties"
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"plugins": [
|
|
"istanbul"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/CookPete/react-player/issues"
|
|
},
|
|
"dependencies": {
|
|
"deepmerge": "^4.0.0",
|
|
"load-script": "^1.0.0",
|
|
"prop-types": "^15.7.2"
|
|
},
|
|
"description": "A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion",
|
|
"devDependencies": {
|
|
"@ava/babel": "^1.0.1",
|
|
"@babel/cli": "^7.8.4",
|
|
"@babel/core": "^7.9.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
|
"@babel/polyfill": "^7.8.7",
|
|
"@babel/preset-env": "^7.9.0",
|
|
"@babel/preset-react": "^7.9.4",
|
|
"@babel/register": "^7.9.0",
|
|
"@hot-loader/react-dom": "^16.13.0",
|
|
"auto-changelog": "^1.15.0",
|
|
"autoprefixer": "^9.7.5",
|
|
"ava": "^3.5.1",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-loader": "^8.1.0",
|
|
"babel-plugin-istanbul": "^6.0.0",
|
|
"codecov": "^3.6.5",
|
|
"cross-env": "^7.0.2",
|
|
"css-loader": "^3.2.0",
|
|
"enzyme": "^3.10.0",
|
|
"enzyme-adapter-react-16": "^1.14.0",
|
|
"file-loader": "^6.0.0",
|
|
"html-webpack-plugin": "^4.0.1",
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
"nyc": "^15.0.0",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
"postcss-advanced-variables": "^3.0.1",
|
|
"postcss-loader": "^3.0.0",
|
|
"postcss-nested": "^4.1.2",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-hot-loader": "^4.12.20",
|
|
"rimraf": "^3.0.2",
|
|
"sanitize.css": "^11.0.0",
|
|
"screenfull": "^5.0.2",
|
|
"sinon": "^9.0.1",
|
|
"snazzy": "^8.0.0",
|
|
"standard": "^14.3.3",
|
|
"style-loader": "^1.0.0",
|
|
"webpack": "^4.42.1",
|
|
"webpack-cli": "^3.3.11",
|
|
"webpack-dev-server": "^3.10.3"
|
|
},
|
|
"homepage": "https://github.com/CookPete/react-player",
|
|
"keywords": [
|
|
"react",
|
|
"media",
|
|
"player",
|
|
"video",
|
|
"audio",
|
|
"youtube",
|
|
"facebook",
|
|
"twitch",
|
|
"soundcloud",
|
|
"streamable",
|
|
"vimeo",
|
|
"wistia",
|
|
"dailymotion",
|
|
"hls",
|
|
"dash",
|
|
"react-component"
|
|
],
|
|
"license": "MIT",
|
|
"main": "lib/ReactPlayer.js",
|
|
"name": "react-player",
|
|
"nyc": {
|
|
"all": true,
|
|
"include": "src",
|
|
"sourceMap": false,
|
|
"instrument": false,
|
|
"report-dir": "./coverage",
|
|
"temp-directory": "./coverage/.nyc_output",
|
|
"reporter": [
|
|
"text",
|
|
"html"
|
|
]
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*"
|
|
},
|
|
"postcss": {
|
|
"plugins": {
|
|
"autoprefixer": {},
|
|
"postcss-advanced-variables": {},
|
|
"postcss-nested": {}
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/CookPete/react-player.git"
|
|
},
|
|
"scripts": {
|
|
"build:demo": "cross-env NODE_ENV=production webpack --config webpack/production.babel.js",
|
|
"build:dist": "cross-env NODE_ENV=production webpack --config webpack/dist.babel.js",
|
|
"build:lib": "cross-env NODE_ENV=production babel src -d lib --ignore src/demo",
|
|
"build:standalone": "cross-env NODE_ENV=production webpack --config webpack/standalone.babel.js",
|
|
"clean": "rimraf lib demo coverage",
|
|
"lint": "standard --verbose | snazzy",
|
|
"lint:fix": "standard --fix",
|
|
"postpublish": "npm run clean",
|
|
"prepublishOnly": "npm run build:lib && npm run build:dist",
|
|
"preversion": "npm run lint && npm run test",
|
|
"start": "webpack-dev-server --config webpack/config.babel.js",
|
|
"test": "cross-env NODE_ENV=test ava",
|
|
"test:codecov": "nyc report --reporter=json && codecov -f coverage/coverage-final.json",
|
|
"test:coverage": "cross-env NODE_ENV=test nyc ava",
|
|
"version": "auto-changelog -p && npm run build:dist && npm run build:standalone && git add CHANGELOG.md dist"
|
|
},
|
|
"standard": {
|
|
"parser": "babel-eslint",
|
|
"ignore": [
|
|
"/dist/*"
|
|
]
|
|
},
|
|
"typings": "index.d.ts",
|
|
"version": "1.15.3"
|
|
}
|