forked from video-dev/hls.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 3.36 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
{
"name": "hls.js",
"version": "0.7.9",
"license": "Apache-2.0",
"description": "JavaScript HLS client using MediaSourceExtension",
"homepage": "https://github.com/video-dev/hls.js",
"authors": "Guillaume du Pontavice <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/video-dev/hls.js"
},
"publishConfig": {
"registry": "http://registry.npmjs.org"
},
"bugs": {
"url": "https://github.com/video-dev/hls.js/issues"
},
"main": "./dist/hls.js",
"scripts": {
"build": "npm run buildlib && rimraf dist/* && npm run builddist && npm run builddistlight",
"buildlib": "rimraf lib/* && babel src --out-dir lib",
"builddistlight": "browserify -t [browserify-conditionalify --definitions [--subtitle 0 --altaudio 0 ] ] -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin -s Hls src/index.js --debug | exorcist dist/hls.light.js.map -b . > dist/hls.light.js && npm run minifylight && node scripts/foldersize.js dist",
"builddist": "browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin -s Hls src/index.js --debug | exorcist dist/hls.js.map -b . > dist/hls.js && npm run minify && node scripts/foldersize.js dist",
"preparerelease": "npm run build && npm run test && git add dist/* && git commit -m 'update dist'",
"prerelease": "mversion prerelease && npm run preparerelease",
"patch": "mversion p && npm run preparerelease",
"minor": "mversion mi && npm run preparerelease",
"major": "mversion ma && npm run preparerelease",
"minify": "uglifyjs dist/hls.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,drop_console=true -m --screw-ie8 > dist/hls.min.js",
"minifylight": "uglifyjs dist/hls.light.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,drop_console=true -m --screw-ie8 > dist/hls.light.min.js",
"watch": "watchify --debug -s Hls src/index.js -t [babelify] -o dist/hls.js",
"pretest": "npm run lint",
"test": "mocha --compilers js:babel-register --recursive tests/unit",
"testfunc": "mocha --compilers js:babel-register tests/functional/auto/hlsjs.js --timeout 80000",
"lint": "jshint src/",
"serve": "http-server -p 8000 .",
"open": "opener http://localhost:8000/demo/",
"live-reload": "livereload dist/",
"dev": "npm run builddist && (npm run open -s & parallelshell 'npm run live-reload -s' 'npm run serve -s' 'npm run watch -s')"
},
"devDependencies": {
"arraybuffer-equal": "^1.0.4",
"babel-cli": "^6.23.0",
"babel-preset-es2015": "^6.18.0",
"babel-register": "^6.24.0",
"babelify": "^7.2.0",
"browserify": "^14.1.0",
"browserify-conditionalify": "^1.0.0",
"browserify-derequire": "^0.9.4",
"browserify-versionify": "^1.0.6",
"bundle-collapser": "^1.2.1",
"chromedriver": "^2.28.0",
"deep-strict-equal": "^0.2.0",
"exorcist": "^0.4.0",
"http-server": "^0.10.0",
"jshint": "^2.9.4",
"livereload": "^0.6.2",
"mocha": "^3.0.2",
"mversion": "^1.10.1",
"opener": "^1.4.0",
"parallelshell": "^2.0.0",
"rimraf": "^2.6.1",
"uglify-js": "^3.0.15",
"url-toolkit": "^2.0.1",
"selenium-webdriver": "^3.1.0",
"watchify": "^3.7.0",
"webworkify": "^1.4.0"
}
}