Skip to content

Commit

Permalink
fix: hls dependencies (#30)
Browse files Browse the repository at this point in the history
* fix: hls dependencies

* docs: update readme
  • Loading branch information
xiaoyuhen authored Mar 25, 2019
1 parent e0d30ac commit 3e42ae8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 18 deletions.
1 change: 0 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"@babel/polyfill": "^7.0.0",
"@babel/runtime": "^7.1.5",
"griffith": "^1.1.2",
"hls.js": "^0.12.4",
"query-string": "^6.3.0",
"raf": "^3.4.1",
"react": "16.4.2",
Expand Down
4 changes: 3 additions & 1 deletion packages/griffith-hls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
"build:cjs": "BABEL_ENV=cjs NODE_ENV=production babel es --root-mode upward -d cjs"
},
"peerDependencies": {
"hls.js": ">=0.7.11 <1.0.0",
"react": ">=16.3.0 <17.0.0",
"react-dom": ">=16.3.0 <17.0.0"
},
"dependencies": {
"hls.js": "0.7.11"
}
}
1 change: 0 additions & 1 deletion packages/griffith/README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

```bash
yarn add griffith
yarn add hls.js
# Griffith 播放 M3U8 视频依赖 hls.js。如果不想安装 hls.js,请看 README 的「构建选项」部分。
```

Expand Down
1 change: 0 additions & 1 deletion packages/griffith/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ English | [简体中文](./README-zh_CN.md)

```bash
yarn add griffith
yarn add hls.js
# Griffith uses hls.js to play m3u8 format video.
# If you don't want to install hls.js, please ref the build part.
```
Expand Down
15 changes: 1 addition & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4196,7 +4196,7 @@ etag@~1.8.1:
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=

eventemitter3@3.1.0, eventemitter3@^3.0.0, eventemitter3@^3.1.0:
eventemitter3@^3.0.0, eventemitter3@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.0.tgz#090b4d6cdbd645ed10bf750d4b5407942d7ba163"
integrity sha512-ivIvhpq/Y0uSjcHDcOIccjmYjGLcP09MFGE7ysAwkAvkXfpZlC985pH2/ui64DKazbTW/4kN3yqozUxlXzI6cA==
Expand Down Expand Up @@ -5066,14 +5066,6 @@ hls.js@0.7.11:
resolved "https://registry.yarnpkg.com/hls.js/-/hls.js-0.7.11.tgz#e8448be35a2435bad24b8b93d9e7f9c05659bb28"
integrity sha1-6ESL41okNbrSS4uT2ef5wFZZuyg=

hls.js@^0.12.4:
version "0.12.4"
resolved "https://registry.yarnpkg.com/hls.js/-/hls.js-0.12.4.tgz#c155b7b2825a11117c111b781973c0ffa759006b"
integrity sha512-e8OPxQ60dBVsdkv4atdxR21KzC1mgwspM41qpozpj3Uv1Fz4CaeQy3FWoaV2O+QKKbNRvV5hW+/LipCWdrwnMQ==
dependencies:
eventemitter3 "3.1.0"
url-toolkit "^2.1.6"

hmac-drbg@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
Expand Down Expand Up @@ -10046,11 +10038,6 @@ url-template@^2.0.8:
resolved "https://registry.yarnpkg.com/url-template/-/url-template-2.0.8.tgz#fc565a3cccbff7730c775f5641f9555791439f21"
integrity sha1-/FZaPMy/93MMd19WQflVV5FDnyE=

url-toolkit@^2.1.6:
version "2.1.6"
resolved "https://registry.yarnpkg.com/url-toolkit/-/url-toolkit-2.1.6.tgz#6d03246499e519aad224c44044a4ae20544154f2"
integrity sha512-UaZ2+50am4HwrV2crR/JAf63Q4VvPYphe63WGeoJxeu8gmOm0qxPt+KsukfakPNrX9aymGNEkkaoICwn+OuvBw==

url@^0.11.0:
version "0.11.0"
resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1"
Expand Down

0 comments on commit 3e42ae8

Please sign in to comment.