forked from video-dev/hls.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 4.69 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "hls.js",
"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"
},
"bugs": {
"url": "https://github.com/video-dev/hls.js/issues"
},
"main": "./dist/hls.js",
"types": "./dist/hls.js.d.ts",
"files": [
"dist/**/*",
"src/**/*"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "webpack --progress && npm run build:types",
"build:ci": "webpack && tsc --build tsconfig-lib.json && api-extractor run",
"build:debug": "webpack --progress --env debug --env demo",
"build:watch": "webpack --progress --env debug --env demo --watch",
"build:types": "tsc --build tsconfig-lib.json && api-extractor run --local",
"dev": "webpack serve --progress --env debug --env demo --port 8000",
"docs": "esdoc",
"lint": "eslint src/ tests/ --ext .js --ext .ts",
"lint:fix": "npm run lint -- --fix",
"lint:quiet": "npm run lint -- --quiet",
"lint:staged": "lint-staged",
"prettier": "prettier --write .",
"prettier:verify": "prettier --check .",
"pretest": "npm run lint",
"sanity-check": "npm run lint && npm run prettier:verify && npm run type-check && npm run docs && npm run build:types && npm run build && npm run test:unit",
"start": "npm run dev",
"test": "npm run test:unit && npm run test:func",
"test:unit": "karma start karma.conf.js",
"test:unit:debug": "DEBUG_UNIT_TESTS=1 karma start karma.conf.js --auto-watch --no-single-run --browsers Chrome",
"test:unit:watch": "karma start karma.conf.js --auto-watch --no-single-run",
"test:func": "BABEL_ENV=development mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit",
"test:func:light": "BABEL_ENV=development HLSJS_LIGHT=1 mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit",
"test:func:sauce": "SAUCE=1 UA=safari OS='OS X 10.15' BABEL_ENV=development mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit",
"test:func:sauce-ie": "SAUCE=1 UA='internet explorer' OS='Windows 10' BABEL_ENV=development mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"prepare": "husky install"
},
"devDependencies": {
"@babel/core": "7.14.6",
"@babel/helper-module-imports": "7.14.5",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/plugin-proposal-optional-chaining": "7.14.5",
"@babel/plugin-transform-object-assign": "7.14.5",
"@babel/preset-env": "7.14.7",
"@babel/preset-typescript": "7.14.5",
"@babel/register": "7.14.5",
"@itsjamie/esdoc-cli": "0.3.1",
"@itsjamie/esdoc-core": "0.3.1",
"@itsjamie/esdoc-ecmascript-proposal-plugin": "0.3.1",
"@itsjamie/esdoc-standard-plugin": "0.3.1",
"@itsjamie/esdoc-typescript-plugin": "0.3.1",
"@microsoft/api-extractor": "7.18.4",
"@types/chai": "4.2.21",
"@types/chart.js": "2.9.34",
"@types/mocha": "8.2.3",
"@types/sinon-chai": "3.2.5",
"@typescript-eslint/eslint-plugin": "4.28.3",
"@typescript-eslint/parser": "4.28.3",
"babel-loader": "8.2.2",
"babel-plugin-transform-remove-console": "6.9.4",
"chai": "4.3.4",
"chart.js": "2.9.4",
"chromedriver": "91.0.1",
"eslint": "7.31.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-mocha": "9.0.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.1.0",
"eventemitter3": "4.0.7",
"http-server": "0.12.3",
"husky": "6.0.0",
"istanbul-instrumenter-loader": "3.0.1",
"jsonpack": "1.1.5",
"karma": "6.3.4",
"karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-sinon-chai": "2.0.2",
"karma-sourcemap-loader": "0.3.8",
"karma-webpack": "4.0.2",
"lint-staged": "11.0.1",
"micromatch": "4.0.4",
"mocha": "8.4.0",
"netlify-cli": "4.4.2",
"prettier": "2.3.2",
"promise-polyfill": "8.2.0",
"sauce-connect-launcher": "1.3.2",
"selenium-webdriver": "3.6.0",
"semver": "7.3.5",
"sinon": "11.1.1",
"sinon-chai": "3.7.0",
"typescript": "4.3.5",
"url-toolkit": "2.2.3",
"webpack": "4.46.0",
"webpack-cli": "4.7.2",
"webpack-dev-server": "3.11.2",
"webpack-merge": "5.8.0",
"webworkify-webpack": "2.1.5"
}
}