package.json 3.71 KB
{
  "_from": "mux.js@4.3.2",
  "_id": "mux.js@4.3.2",
  "_inBundle": false,
  "_integrity": "sha1-V21TffA33F7DXsExa5SNgV01whA=",
  "_location": "/mux.js",
  "_phantomChildren": {},
  "_requested": {
    "type": "version",
    "registry": true,
    "raw": "mux.js@4.3.2",
    "name": "mux.js",
    "escapedName": "mux.js",
    "rawSpec": "4.3.2",
    "saveSpec": null,
    "fetchSpec": "4.3.2"
  },
  "_requiredBy": [
    "/videojs-contrib-hls",
    "/videojs-contrib-media-sources"
  ],
  "_resolved": "http://registry.npm.taobao.org/mux.js/download/mux.js-4.3.2.tgz",
  "_shasum": "576d537df037dc5ec35ec1316b948d815d35c210",
  "_spec": "mux.js@4.3.2",
  "_where": "/Library/WebServer/Documents/mywork/cityOperationCenter/node_modules/videojs-contrib-hls",
  "author": {
    "name": "Brightcove"
  },
  "browser": "./lib/index.js",
  "browserify-shim": {
    "qunit": "global:QUnit"
  },
  "bugs": {
    "url": "https://github.com/videojs/mux.js/issues"
  },
  "bundleDependencies": false,
  "deprecated": false,
  "description": "A collection of lightweight utilities for inspecting and manipulating video container formats.",
  "devDependencies": {
    "browserify": "^12.0.1",
    "browserify-shim": "^3.8.12",
    "bundle-collapser": "^1.2.1",
    "eslint": "^2.10.2",
    "express": "^4.13.3",
    "jshint": "^2.9.1-rc2",
    "karma": "^0.13.9",
    "karma-browserify": "^4.4.2",
    "karma-chrome-launcher": "^2.2.0",
    "karma-firefox-launcher": "^0.1.6",
    "karma-qunit": "^0.1.5",
    "npm-run-all": "^1.4.0",
    "portscanner": "^1.0.0",
    "qunitjs": "^1.0.0",
    "serve-static": "^1.10.0",
    "uglify-js": "^2.6.2",
    "watchify": "^3.6.1",
    "webworkify": "^1.0.2"
  },
  "eslintConfig": {
    "ignore": [
      "dist",
      "dist-test",
      "docs",
      "scripts"
    ]
  },
  "files": [
    "lib/",
    "dist/"
  ],
  "homepage": "https://github.com/videojs/mux.js#readme",
  "keywords": [
    "video",
    "container",
    "transmux",
    "mux",
    "player",
    "hls",
    "mp4",
    "flv",
    "aac",
    "h264"
  ],
  "license": "Apache-2.0",
  "main": "./lib/index.js",
  "name": "mux.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/videojs/mux.js.git"
  },
  "scripts": {
    "build": "npm run mkdirs && npm-run-all -p build:* && npm run collapse && npm run uglify",
    "build:flv": "browserify -s muxjs lib/flv/index.js -o dist/mux-flv.js",
    "build:js": "browserify -s muxjs lib/index.js -o dist/mux.js",
    "build:mp4": "browserify -s muxjs lib/mp4/index.js -o dist/mux-mp4.js",
    "build:test": "browserify test/*.test.js -g browserify-shim -o dist-test/mux.js",
    "clean": "rm -rf dist dist-test",
    "collapse": "npm-run-all -p collapse:*",
    "collapse:flv": "bundle-collapser dist/mux-flv.js -o dist/mux-flv.min.js",
    "collapse:js": "bundle-collapser dist/mux.js -o dist/mux.min.js",
    "collapse:mp4": "bundle-collapser dist/mux-mp4.js -o dist/mux-mp4.min.js",
    "lint": "eslint \"lib/**/*.js\" \"test/**/*.js\"",
    "mkdirs": "mkdir -p dist dist-test",
    "serve": "node scripts/server.js",
    "start": "npm-run-all -p watch serve",
    "test": "npm run lint && karma start test/karma/karma.conf.js",
    "uglify": "npm-run-all -p uglify:*",
    "uglify:flv": "uglifyjs --mangle --compress -o dist/mux-flv.min.js dist/mux-flv.min.js",
    "uglify:js": "uglifyjs --mangle --compress -o dist/mux.min.js dist/mux.min.js",
    "uglify:mp4": "uglifyjs --mangle --compress -o dist/mux-mp4.min.js dist/mux-mp4.min.js",
    "watch": "npm run mkdirs && npm-run-all -p watch:*",
    "watch:js": "watchify -s muxjs -p bundle-collapser/plugin lib/index.js -v -o dist/mux.js",
    "watch:test": "watchify test/*.test.js -g browserify-shim -p bundle-collapser/plugin -v -o dist-test/mux.js"
  },
  "version": "4.3.2"
}