package.json 4.35 KB
{
  "name": "videojs-contrib-hls",
  "version": "3.4.0",
  "description": "Play back HLS with video.js, even where it's not natively supported",
  "main": "es5/videojs-contrib-hls.js",
  "engines": {
    "node": ">= 0.10.12"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:videojs/videojs-contrib-hls.git"
  },
  "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:uglify",
    "build:js:babel": "babel src -d es5",
    "build:js:bannerize": "bannerize dist/videojs-contrib-hls.js --banner=scripts/banner.ejs",
    "build:js:browserify": "browserify . -s videojs-contrib-hls -g browserify-shim -o dist/videojs-contrib-hls.js",
    "build:js:uglify": "uglifyjs dist/videojs-contrib-hls.js --comments --mangle --compress -o dist/videojs-contrib-hls.min.js",
    "build:test": "npm-run-all build:test:manifest build:test:js",
    "build:test:js": "node scripts/build-test.js",
    "build:test:manifest": "node -e \"var b=require('./scripts/manifest-data.js'); b.build();\"",
    "clean": "npm-run-all -p clean:*",
    "clean:build": "node -e \"var s=require('shelljs'),d=['dist','dist-test','es5'];s.rm('-rf',d);s.mkdir('-p',d);\"",
    "clean:test": "node -e \"var b=require('./scripts/manifest-data.js'); b.clean();\"",
    "docs": "npm-run-all docs:*",
    "docs:api": "jsdoc src -r -d docs/api",
    "docs:toc": "doctoc README.md",
    "lint": "vjsstandard",
    "start": "npm-run-all -p watch start:*",
    "start:serve": "babel-node scripts/server.js",
    "pretest": "npm-run-all lint build",
    "test": "karma start test/karma/detected.js",
    "test:chrome": "npm run pretest && karma start test/karma/chrome.js",
    "test:firefox": "npm run pretest && karma start test/karma/firefox.js",
    "test:ie": "npm run pretest && karma start test/karma/ie.js",
    "test:safari": "npm run pretest && karma start test/karma/safari.js",
    "preversion": "npm test",
    "version": "npm run build",
    "watch": "npm-run-all -p watch:*",
    "watch:docs": "nodemon --watch src/ --exec npm run docs",
    "watch:js": "npm-run-all -p watch:js:babel watch:js:browserify watch:js:switcher",
    "watch:js:babel": "npm run build:js:babel -- --watch",
    "watch:js:browserify": "watchify . -v -g browserify-shim -o dist/videojs-contrib-hls.js",
    "watch:js:switcher": "watchify utils/switcher/switcher.js -v -t babelify -g browserify-shim -o dist/switcher.js",
    "watch:test": "npm-run-all -p watch:test:*",
    "watch:test:js": "node scripts/watch-test.js",
    "watch:test:manifest": "node -e \"var b=require('./scripts/manifest-data.js'); b.watch();\"",
    "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",
      "test/karma",
      "scripts",
      "utils",
      "test/test-manifests.js",
      "test/test-expected.js"
    ]
  },
  "files": [
    "CONTRIBUTING.md",
    "dist/",
    "docs/",
    "es5/",
    "index.html",
    "scripts/",
    "src/",
    "test/"
  ],
  "dependencies": {
    "m3u8-parser": "^1.0.2",
    "aes-decrypter": "^1.0.3",
    "video.js": "^5.10.1",
    "videojs-contrib-media-sources": "^3.1.0",
    "videojs-swf": "^5.0.2",
    "global": "^4.3.0"
  },
  "devDependencies": {
    "babel": "^5.8.0",
    "babelify": "^6.0.0",
    "bannerize": "^1.0.0",
    "browserify": "^11.0.0",
    "browserify-shim": "^3.0.0",
    "connect": "^3.4.0",
    "cowsay": "^1.1.0",
    "d3": "3.4.8",
    "doctoc": "^0.15.0",
    "glob": "^6.0.3",
    "jsdoc": "^3.4.0",
    "karma": "^0.13.0",
    "karma-browserify": "^4.4.0",
    "karma-chrome-launcher": "^0.2.0",
    "karma-detect-browsers": "^2.0.0",
    "karma-firefox-launcher": "^0.1.0",
    "karma-ie-launcher": "^0.2.0",
    "karma-qunit": "^0.1.9",
    "karma-safari-launcher": "^0.1.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.10.2",
    "uglify-js": "^2.5.0",
    "videojs-standard": "^4.0.3",
    "watchify": "^3.6.0"
  }
}