2015-12-15 22:30:14 -07:00
|
|
|
{
|
|
|
|
"name": "hls.js",
|
2016-02-04 11:19:10 -07:00
|
|
|
"version": "0.4.10",
|
2016-02-03 16:00:01 -07:00
|
|
|
"license" : "Apache-2.0",
|
2015-12-15 22:30:14 -07:00
|
|
|
"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",
|
2016-02-03 16:00:01 -07:00
|
|
|
"private": false,
|
2015-12-15 22:30:14 -07:00
|
|
|
"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",
|
2016-01-13 13:58:12 -07:00
|
|
|
"test": "mocha --compilers js:babel/register --recursive tests/unit",
|
2015-12-15 22:30:14 -07:00
|
|
|
"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": {
|
2016-01-13 13:58:12 -07:00
|
|
|
"arraybuffer-equal": "^1.0.4",
|
|
|
|
"babel": "^5.8.34",
|
2015-12-15 22:30:14 -07:00
|
|
|
"browserify": "^8.1.1",
|
2016-01-13 13:58:12 -07:00
|
|
|
"deep-strict-equal": "^0.1.0",
|
2015-12-15 22:30:14 -07:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|