You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
122 lines
4.7 KiB
122 lines
4.7 KiB
4 years ago
|
{
|
||
|
"name": "videojs-contrib-media-sources",
|
||
|
"version": "4.7.2",
|
||
|
"description": "A Media Source Extensions plugin for video.js",
|
||
|
"main": "es5/videojs-contrib-media-sources.js",
|
||
|
"scripts": {
|
||
|
"prebuild": "npm run clean",
|
||
|
"build": "npm-run-all -p build:*",
|
||
|
"build:js": "npm-run-all build:js:babel build:js:browserify build:js:bannerize build:js:collapse build:js:uglify",
|
||
|
"build:js:babel": "babel src -d es5",
|
||
|
"build:js:bannerize": "bannerize dist/videojs-contrib-media-sources.js --banner=scripts/banner.ejs",
|
||
|
"build:js:browserify": "browserify . -t browserify-shim -s videojs-contrib-media-sources -o dist/videojs-contrib-media-sources.js",
|
||
|
"build:test:browserify": "browserify test/browserify-test.js -o dist-test/browserify-test.js",
|
||
|
"build:test:webpack": "webpack test/webpack-test.js dist-test/webpack-test.js",
|
||
|
"build:test": "npm-run-all build:test:js build:test:browserify build:test:webpack",
|
||
|
"build:test:js": "node scripts/build-test.js",
|
||
|
"build:js:collapse": "bundle-collapser dist/videojs-contrib-media-sources.js -o dist/videojs-contrib-media-sources.min.js",
|
||
|
"build:js:uglify": "uglifyjs dist/videojs-contrib-media-sources.min.js --comments -m -c -o dist/videojs-contrib-media-sources.min.js",
|
||
|
"clean": "node -e \"var s=require('shelljs'),d=['dist','dist-test','es5'];s.rm('-rf',d);s.mkdir('-p',d);\"",
|
||
|
"docs": "npm-run-all docs:*",
|
||
|
"docs:api": "jsdoc src -r -d docs/api",
|
||
|
"docs:toc": "doctoc README.md",
|
||
|
"lint": "vjsstandard",
|
||
|
"prestart": "npm-run-all docs build",
|
||
|
"start": "npm-run-all -p start:* watch:*",
|
||
|
"start:serve": "babel-node scripts/server.js",
|
||
|
"pretest": "npm-run-all lint build",
|
||
|
"test": "karma start test/karma.conf.js",
|
||
|
"test:chrome": "npm run pretest && karma start test/karma.conf.js --browsers Chrome",
|
||
|
"test:firefox": "npm run pretest && karma start test/karma.conf.js --browsers Firefox",
|
||
|
"test:ie": "npm run pretest && karma start test/karma.conf.js --browsers IE",
|
||
|
"test:safari": "npm run pretest && karma start test/karma.conf.js --browsers Safari",
|
||
|
"preversion": "npm test",
|
||
|
"version": "npm run build",
|
||
|
"watch": "npm-run-all -p watch:*",
|
||
|
"watch:doc": "nodemon --watch src/ --exec npm run docs",
|
||
|
"watch:js": "npm-run-all -p watch:js:babel watch:js:browserify",
|
||
|
"watch:js:babel": "babel src --watch -d es5",
|
||
|
"watch:js:browserify": "watchify . -t browserify-shim -v -o dist/videojs-contrib-media-sources.js",
|
||
|
"watch:test:browserify": "watchify test/browserify-test.js -o dist-test/browserify-test.js",
|
||
|
"watch:test:webpack": "watchify test/webpack-test.js -o dist-test/webpack-test.js",
|
||
|
"watch:test": "npm-run-all watch:test:js watch:test:browserify watch:test:webpack",
|
||
|
"watch:test:js": "node scripts/watch-test.js",
|
||
|
"prepublish": "npm run build"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"videojs",
|
||
|
"videojs-plugin"
|
||
|
],
|
||
|
"author": "Brightcove, Inc.",
|
||
|
"license": "Apache-2.0",
|
||
|
"browserify-shim": {
|
||
|
"qunit": "global:QUnit",
|
||
|
"sinon": "global:sinon",
|
||
|
"video.js": "global:videojs"
|
||
|
},
|
||
|
"vjsstandard": {
|
||
|
"ignore": [
|
||
|
"dist",
|
||
|
"dist-test",
|
||
|
"docs",
|
||
|
"es5",
|
||
|
"scripts",
|
||
|
"test/karma.conf.js"
|
||
|
]
|
||
|
},
|
||
|
"files": [
|
||
|
"CONTRIBUTING.md",
|
||
|
"dist-test/",
|
||
|
"dist/",
|
||
|
"docs/",
|
||
|
"es5/",
|
||
|
"index.html",
|
||
|
"scripts/",
|
||
|
"src/",
|
||
|
"test/"
|
||
|
],
|
||
|
"dependencies": {
|
||
|
"global": "^4.3.0",
|
||
|
"mux.js": "4.3.2",
|
||
|
"video.js": "^5.17.0 || ^6.2.0",
|
||
|
"webwackify": "0.1.6"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"babel": "^5.8.0",
|
||
|
"babelify": "^6.0.0",
|
||
|
"bannerize": "^1.0.0",
|
||
|
"browserify": "^11.0.0",
|
||
|
"browserify-shim": "^3.0.0",
|
||
|
"bundle-collapser": "^1.2.1",
|
||
|
"connect": "^3.4.0",
|
||
|
"cowsay": "^1.1.0",
|
||
|
"doctoc": "^0.15.0",
|
||
|
"glob": "^6.0.3",
|
||
|
"jsdoc": "^3.4.0",
|
||
|
"karma": "^2.0.0",
|
||
|
"karma-browserify": "^4.4.0",
|
||
|
"karma-chrome-launcher": "^2.2.0",
|
||
|
"karma-detect-browsers": "^2.0.0",
|
||
|
"karma-firefox-launcher": "^1.1.0",
|
||
|
"karma-ie-launcher": "^1.0.0",
|
||
|
"karma-qunit": "^0.1.0",
|
||
|
"karma-safari-launcher": "^1.0.0",
|
||
|
"lodash-compat": "^3.10.0",
|
||
|
"minimist": "^1.2.0",
|
||
|
"nodemon": "^1.9.1",
|
||
|
"npm-run-all": "^1.2.0",
|
||
|
"portscanner": "^1.0.0",
|
||
|
"qunitjs": "^1.18.0",
|
||
|
"serve-static": "^1.10.0",
|
||
|
"shelljs": "^0.5.3",
|
||
|
"sinon": "1.14.1",
|
||
|
"uglify-js": "^2.5.0",
|
||
|
"videojs-flash": "^1.0.0-RC.1",
|
||
|
"videojs-standard": "^4.0.3",
|
||
|
"watchify": "^3.6.0",
|
||
|
"webpack": "^1.13.2"
|
||
|
},
|
||
|
"__npminstall_done": "Sun Apr 18 2021 11:11:03 GMT+0800 (中国标准时间)",
|
||
|
"_from": "videojs-contrib-media-sources@4.7.2",
|
||
|
"_resolved": "https://registry.npm.taobao.org/videojs-contrib-media-sources/download/videojs-contrib-media-sources-4.7.2.tgz"
|
||
|
}
|