First release
This commit is contained in:
commit
fa6c85266e
2339 changed files with 761050 additions and 0 deletions
20
node_modules/mux.js/scripts/netlify.js
generated
vendored
Normal file
20
node_modules/mux.js/scripts/netlify.js
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
const shell = require('shelljs');
|
||||
|
||||
// clone vhs
|
||||
shell.exec('git clone https://github.com/videojs/http-streaming');
|
||||
shell.cd('http-streaming');
|
||||
|
||||
// install vhs and link in the local version of mux.js
|
||||
shell.exec('npm ci');
|
||||
shell.exec('npm link ../');
|
||||
|
||||
// run the vhs netlify script so that we can use
|
||||
// the vhs netlify page with this local mux.js
|
||||
shell.exec('npm run netlify');
|
||||
|
||||
// move the vhs deploy directory to the project root
|
||||
shell.cp('-R', 'deploy', '../');
|
||||
|
||||
// cleanup by removing the cloned vhs directory
|
||||
shell.cd('..');
|
||||
shell.rm('-rf', 'http-streaming');
|
Loading…
Add table
Add a link
Reference in a new issue