Comparing version 2.2.1 to 2.3.0
module.exports = { | ||
tag: require('./flv-tag'), | ||
Transmuxer: require('./transmuxer'), | ||
tools: require('../tools/flv-inspector'), | ||
Transmuxer: require('./transmuxer') | ||
}; |
@@ -9,2 +9,8 @@ 'use strict'; | ||
}; | ||
// include all the tools when the full library is required | ||
muxjs.mp4.tools = require('./tools/mp4-inspector'); | ||
muxjs.flv.tools = require('./tools/flv-inspector'); | ||
module.exports = muxjs; |
@@ -5,4 +5,3 @@ module.exports = { | ||
AudioSegmentStream: require('./transmuxer').AudioSegmentStream, | ||
VideoSegmentStream: require('./transmuxer').VideoSegmentStream, | ||
tools: require('../tools/mp4-inspector'), | ||
VideoSegmentStream: require('./transmuxer').VideoSegmentStream | ||
}; |
{ | ||
"name": "mux.js", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "A collection of lightweight utilities for inspecting and manipulating video container formats.", | ||
@@ -18,3 +18,5 @@ "repository": { | ||
"mkdirs": "mkdir -p dist dist-test", | ||
"build": "npm run mkdirs && npm-run-all -p build:*", | ||
"build": "npm run mkdirs && npm-run-all -p build:* && npm run uglify", | ||
"build:mp4": "browserify -s muxjs lib/mp4/index.js -o dist/mux-mp4.js", | ||
"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", | ||
@@ -25,2 +27,5 @@ "build:test": "browserify test/*.test.js -o dist-test/mux.js", | ||
"lint:test": "jshint test/*.test.js", | ||
"uglify": "npm-run-all -p uglify:*", | ||
"uglify:mp4": "uglifyjs -o dist/mux-mp4.min.js dist/mux-mp4.js", | ||
"uglify:flv": "uglifyjs -o dist/mux-flv.min.js dist/mux-flv.js", | ||
"clean": "rm -rf dist dist-test" | ||
@@ -68,2 +73,3 @@ }, | ||
"serve-static": "^1.10.0", | ||
"uglify-js": "^2.6.2", | ||
"watchify": "^3.6.1", | ||
@@ -70,0 +76,0 @@ "webworkify": "^1.0.2" |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
684212
31
17042
15
3
10