Try using peerDependencies for video.js
Clean up deps in package.json. Having video.js as a peer dependency seems like the right way of expressing the relationship so give that a shot.
Showing
1 changed file
with
5 additions
and
3 deletions
... | @@ -23,11 +23,13 @@ | ... | @@ -23,11 +23,13 @@ |
23 | "grunt-concurrent": "0.4.3", | 23 | "grunt-concurrent": "0.4.3", |
24 | "grunt-open": "0.2.3", | 24 | "grunt-open": "0.2.3", |
25 | "grunt-shell": "0.6.1", | 25 | "grunt-shell": "0.6.1", |
26 | "grunt": "~0.4.1" | 26 | "grunt": "~0.4.1", |
27 | "video.js": "~4.4" | ||
28 | }, | ||
29 | "peerDependencies": { | ||
30 | "video.js": "~4.4" | ||
27 | }, | 31 | }, |
28 | "dependencies": { | 32 | "dependencies": { |
29 | "video.js": "git+https://github.com/videojs/video.js.git#v4.4.1", | ||
30 | "videojs-swf": "git+https://github.com/videojs/video-js-swf.git#v4.4.0", | ||
31 | "videojs-contrib-media-sources": "git+https://github.com/videojs/videojs-contrib-media-sources.git" | 33 | "videojs-contrib-media-sources": "git+https://github.com/videojs/videojs-contrib-media-sources.git" |
32 | } | 34 | } |
33 | } | 35 | } | ... | ... |
-
Please register or sign in to post a comment