forked from video-dev/hls.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.88 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
{
"name": "hls.js",
"version": "0.4.9",
"license" : "Apache-2.0",
"description": "Media Source Extension - HLS library, by/for Dailymotion",
"homepage": "https://github.com/dailymotion/hls.js",
"authors": "Guillaume du Pontavice <guillaume.dupontavice@dailymotion.com>",
"repository": {
"type": "git",
"url": "https://github.com/dailymotion/hls.js"
},
"bugs": {
"url": "https://github.com/dailymotion/hls.js/issues"
},
"main": "src/hls.js",
"private": false,
"scripts": {
"clean": "find dist -mindepth 1 -delete",
"prebuild": "npm run clean & npm run test",
"build": "browserify -s Hls src/hls.js --debug | exorcist dist/hls.js.map -b . > dist/hls.js",
"postbuild": "npm run minify",
"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 sort --screw-ie8 > dist/hls.min.js",
"watch": "watchify --debug -s Hls src/hls.js -o dist/hls.js",
"pretest": "npm run lint",
"test": "mocha --compilers js:babel/register --recursive tests/unit",
"lint": "jshint src/",
"serve": "http-server -p 8000 .",
"open": "opener http://localhost:8000/demo/",
"live-reload": "live-reload --port 8001 dist/",
"dev": "npm run open -s & parallelshell 'npm run live-reload -s' 'npm run serve -s' 'npm run watch -s'"
},
"browserify": {
"transform": [
"babelify"
]
},
"dependencies": {
"babelify": "^6.1.2",
"webworkify": "^1.0.2"
},
"devDependencies": {
"arraybuffer-equal": "^1.0.4",
"babel": "^5.8.34",
"browserify": "^8.1.1",
"deep-strict-equal": "^0.1.0",
"exorcist": "^0.4.0",
"http-server": "^0.7.4",
"jshint": "^2.5.11",
"live-reload": "^0.2.0",
"mocha": "^2.1.0",
"opener": "^1.4.0",
"parallelshell": "^1.0.3",
"uglify-js": "^2.4.23",
"watchify": "^2.2.1"
}
}