forked from videojs/mux.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.67 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "mux.js",
"version": "5.2.0",
"description": "A collection of lightweight utilities for inspecting and manipulating video container formats.",
"repository": {
"type": "git",
"url": "https://github.com/videojs/mux.js.git"
},
"main": "./lib/index.js",
"scripts": {
"test": "npm run lint && karma start test/karma/karma.conf.js",
"start": "npm-run-all -p watch serve",
"serve": "node scripts/server.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",
"mkdirs": "mkdir -p dist dist-test",
"build": "npm run mkdirs && npm-run-all -p build:* && npm run uglify",
"build:mp4": "browserify -s muxjs lib/mp4/index.js -p bundle-collapser/plugin -o dist/mux-mp4.js",
"build:flv": "browserify -s muxjs lib/flv/index.js -p bundle-collapser/plugin -o dist/mux-flv.js",
"build:js": "browserify -s muxjs lib/index.js -p bundle-collapser/plugin -o dist/mux.js",
"build:test": "browserify test/*.test.js -g browserify-shim -p bundle-collapser/plugin -o dist-test/mux.js",
"lint": "eslint \"lib/**/*.js\" \"test/**/*.js\"",
"uglify": "npm-run-all -p uglify:*",
"uglify:mp4": "uglifyjs --mangle --compress -o dist/mux-mp4.min.js dist/mux-mp4.js",
"uglify:flv": "uglifyjs --mangle --compress -o dist/mux-flv.min.js dist/mux-flv.js",
"uglify:js": "uglifyjs --mangle --compress -o dist/mux.min.js dist/mux.js",
"clean": "rm -rf dist dist-test",
"prepublish": "not-in-install && npm run build || in-install"
},
"browser": "./lib/index.js",
"keywords": [
"video",
"container",
"transmux",
"mux",
"player",
"hls",
"mp4",
"flv",
"aac",
"h264"
],
"browserify-shim": {
"qunit": "global:QUnit"
},
"author": "Brightcove",
"license": "Apache-2.0",
"eslintConfig": {
"ignore": [
"dist",
"dist-test",
"docs",
"scripts"
]
},
"files": [
"lib/",
"dist/"
],
"devDependencies": {
"browserify": "^12.0.1",
"browserify-shim": "^3.8.12",
"bundle-collapser": "^1.2.1",
"eslint": "^2.10.2",
"express": "^4.13.3",
"in-publish": "^2.0.0",
"jshint": "^2.9.1-rc2",
"karma": "^0.13.9",
"karma-browserify": "^4.4.2",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.1.0",
"karma-qunit": "^0.1.5",
"npm-run-all": "^4.1.5",
"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"
}
}