mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 03:48:18 -07:00
66 lines
2.7 KiB
JSON
66 lines
2.7 KiB
JSON
{
|
|
"name": "hls.js",
|
|
"version": "0.6.11",
|
|
"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": "./dist/hls.js",
|
|
"private": false,
|
|
"scripts": {
|
|
"build": "npm run buildlib && npm run builddist",
|
|
"buildlib": "rimraf lib/* && babel src --out-dir lib",
|
|
"builddist": "rimraf dist/* && 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",
|
|
"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 sort --screw-ie8 > dist/hls.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 --recursive tests/functional/auto --timeout 40000",
|
|
"lint": "jshint src/",
|
|
"serve": "http-server -p 8000 .",
|
|
"open": "opener http://localhost:8000/demo/",
|
|
"live-reload": "live-reload --port 8001 dist/",
|
|
"dev": "npm run build && (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": "^6.3.26",
|
|
"babel-cli": "^6.18.0",
|
|
"babel-preset-es2015": "^6.18.0",
|
|
"babel-register": "^6.18.0",
|
|
"babelify": "^7.2.0",
|
|
"browserify": "^13.1.1",
|
|
"browserify-derequire": "^0.9.4",
|
|
"browserify-versionify": "^1.0.6",
|
|
"bundle-collapser": "^1.2.1",
|
|
"chromedriver": "^2.24.1",
|
|
"deep-strict-equal": "^0.2.0",
|
|
"exorcist": "^0.4.0",
|
|
"http-server": "^0.9.0",
|
|
"jshint": "^2.9.4",
|
|
"live-reload": "^1.1.0",
|
|
"mocha": "^3.0.2",
|
|
"mversion": "^1.10.1",
|
|
"opener": "^1.4.0",
|
|
"parallelshell": "^2.0.0",
|
|
"rimraf": "^2.5.1",
|
|
"uglify-js": "^2.7.4",
|
|
"url-toolkit": "^1.0.4",
|
|
"selenium-webdriver": "^2.52.0",
|
|
"watchify": "^3.7.0",
|
|
"webworkify": "^1.4.0"
|
|
}
|
|
}
|