forked from canalplus/rx-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
183 lines (183 loc) · 9.24 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "rx-player",
"author": "Canal+",
"version": "3.21.0",
"description": "Canal+ HTML5 Video Player",
"main": "./dist/rx-player.js",
"keywords": [
"dash",
"eme",
"hss",
"html5",
"mediasource",
"mse",
"reactive",
"rx",
"rxjs",
"smooth",
"streaming",
"typescript",
"video"
],
"browser": "./dist/rx-player.js",
"homepage": "https://github.com/canalplus/rx-player",
"bugs": "https://github.com/canalplus/rx-player/issues",
"license": "Apache-2.0",
"sideEffects": false,
"scripts-info": {
"build": "Build the player in dist/rx-player.js",
"build:all": "Perform all possible builds of the player (build, build:min and build:modular)",
"build:min": "Build the player and minify it in dist/rx-player.min.js",
"build:min:report": "Build the player then minify it in dist/rx-player.min.js and display a report on its size",
"build:modular": "Build the modular build of the rx-player and create corresponding files and directories.",
"build:report": "Build the player in dist/rx-player.js and display a report on its size",
"build:watch": "Build the player as a minified version in dist/rx-player.min.js each times the files update",
"build:min:watch": "Build the player in dist/rx-player.js each times the files update",
"certificate": "Generate a certificate to be able to use HTTPS locally for the demo pages (`npm run start` and `npm run standalone` will then listen to HTTPS requests through a communicated port)",
"check": "Check the validity of the src directory by running the linter, type checker and unit tests",
"check:all": "Check the validity of the whole project by running linters, type checkers and every tests",
"check:types": "Check TypeScript typings in src",
"demo": "Build the demo in demo/bundle.js",
"demo:min": "Build the demo and minify it in demo/bundle.js",
"demo:watch": "Build the demo in demo/bundle.js each times the files update.",
"doc": "Generate the HTML documentation in doc/pages",
"info": "Display the description of all npm scripts for this project",
"lint": "Lint rx-player source files",
"lint:demo": "Lint demo source files",
"lint:tests": "Lint integration tests source files",
"standalone": "Build and launch the \"standalone\" demo (without any UI) on a local server. Re-build on file updates.",
"start": "Build and launch the \"full\" demo (with a UI) with the non-minified RxPlayer on a local server. Re-build on file updates.",
"start:min": "Build and launch the \"full\" demo (with a UI) with the minified RxPlayer on a local server. Re-build on file updates.",
"test": "Launch unit and integration tests in multiple browser environments",
"test:integration": "Launch integration tests in multiple browser environments",
"test:integration:chrome": "Launch integration tests in a Chrome browser.",
"test:integration:chrome:watch": "Launch integration tests in Chrome each times the files update",
"test:integration:coverage": "Launch integration tests in multiple browser environments and produce a coverage report in tests/integration/coverage",
"test:integration:firefox": "Launch integration tests in a Firefox browser.",
"test:integration:firefox:watch": "Launch integration tests in Firefox each times the files update",
"test:memory": "Launch memory tests",
"test:memory:chrome:watch": "Launch memory tests in Chrome each times the files update",
"test:unit": "Launch unit tests",
"test:unit:coverage": "Launch unit tests and produce a coverage report",
"update-version": "Update the version to the string given in argument (example: `npm run update-version 3.8.0`). Will update the codebase and perform every builds."
},
"scripts": {
"build": "webpack --progress --config webpack.config.js",
"build:all": "npm run build && npm run build:min && npm run build:modular",
"build:min": "cross-env RXP_MINIFY=true webpack --progress --config webpack.config.js",
"build:min:report": "cross-env RXP_SIZE_REPORT=true cross-env RXP_MINIFY=true webpack --progress --config webpack.config.js",
"build:modular": "./scripts/generate_builds",
"build:report": "cross-env RXP_SIZE_REPORT=true webpack --progress --config webpack.config.js",
"build:watch": "webpack --progress --config webpack.config.js -w",
"build:min:watch": "cross-env RXP_MINIFY=true webpack --progress --config webpack.config.js -w",
"certificate": "./scripts/generate_certificate",
"check": "npm run check:types && npm run lint && npm run test:unit",
"check:all": "npm run check:types && npm run lint && npm run lint:demo && npm run lint:tests && npm run test && npm run test:memory && node -r esm ./scripts/check_nodejs_import_compatibility.js",
"check:appveyor": "npm run check:types && npm run lint && npm run lint:demo && npm run lint:tests && npm run test:appveyor",
"check:travis": "npm run check:types && npm run lint && npm run lint:demo && npm run lint:tests && npm run test:travis",
"check:types": "tsc --noEmit --project .",
"demo": "cross-env RXP_METAPLAYLIST=true node ./scripts/generate_full_demo.js",
"demo:min": "cross-env RXP_METAPLAYLIST=true RXP_MINIFY=true node ./scripts/generate_full_demo.js",
"demo:watch": "cross-env RXP_METAPLAYLIST=true node ./scripts/generate_full_demo.js --watch",
"doc": "rm -rf doc/generated; node ./scripts/doc-generator/index.js doc/ doc/generated",
"info": "npm-scripts-info",
"lint": "tslint --project . -c tslint.json \"src/**/*.ts\"",
"lint:demo": "eslint demo/**/*.js demo/**/*.jsx",
"lint:tests": "eslint tests/**/*.js",
"prepare:modular": "tsc -p tsconfig.modules.json",
"prepublishOnly": "npm run build:modular",
"standalone": "cross-env RXP_METAPLAYLIST=true RXP_ENV=development node ./scripts/run_standalone_demo.js",
"start": "cross-env RXP_METAPLAYLIST=true RXP_ENV=development node ./scripts/run_full_demo.js",
"start:min": "cross-env RXP_METAPLAYLIST=true RXP_MINIFY=true node ./scripts/run_full_demo.js",
"test": "npm run test:unit && npm run test:integration",
"test:appveyor": "npm run test:unit && npm run test:integration:appveyor && npm run test:memory",
"test:integration": "node tests/integration/run.js --bchromehl --bfirefoxhl",
"test:integration:appveyor": "node --max-old-space-size=2048 ./tests/integration/run.js --bchromehl",
"test:integration:chrome": "node tests/integration/run.js --bchrome",
"test:integration:chrome:watch": "node tests/integration/run.js --bchrome --watch",
"test:integration:coverage": "node tests/integration/run.js --bchromehl --bfirefoxhl --coverage",
"test:integration:firefox": "node tests/integration/run.js --bfirefox",
"test:integration:firefox:watch": "node tests/integration/run.js --bfirefox --watch",
"test:integration:travis": "node tests/integration/run.js --bchromehl",
"test:memory": "node tests/memory/run.js --bchromehl",
"test:memory:chrome:watch": "node tests/memory/run.js --bchrome --watch",
"test:memory:travis": "node tests/memory/run.js --bchromehl",
"test:travis": "npm run test:unit && npm run test:integration:travis && npm run test:memory:travis",
"test:unit": "jest",
"test:unit:coverage": "cross-env RXP_COVERAGE=true jest",
"update-version": "npm run version --git-tag-version=false",
"version": "./scripts/update-version"
},
"husky": {
"hooks": {
"pre-commit": "./scripts/git-hooks/pre-commit",
"pre-push": "./scripts/git-hooks/pre-push"
}
},
"repository": {
"type": "git",
"url": "git://github.com/canalplus/rx-player.git"
},
"dependencies": {
"next-tick": "1.1.0",
"pinkie": "2.0.4",
"rxjs": "6.5.5"
},
"devDependencies": {
"@babel/core": "7.10.2",
"@babel/plugin-transform-runtime": "7.10.1",
"@babel/preset-env": "7.10.2",
"@babel/preset-react": "7.10.1",
"@types/chai": "4.2.11",
"@types/jest": "25.2.3",
"@types/mocha": "7.0.2",
"@types/node": "14.0.9",
"@types/sinon": "9.0.4",
"arraybuffer-loader": "1.0.8",
"babel-loader": "8.1.0",
"chai": "4.2.0",
"chart.js": "2.9.3",
"cheerio": "1.0.0-rc.3",
"core-js": "3.6.5",
"cross-env": "7.0.2",
"css-loader": "3.5.3",
"eslint": "7.1.0",
"eslint-plugin-react": "7.20.0",
"esm": "3.2.25",
"express": "4.17.1",
"file-loader": "6.0.0",
"highlight.js": "10.0.3",
"husky": "4.2.5",
"istanbul-instrumenter-loader": "3.0.1",
"jest": "26.0.1",
"karma": "5.0.9",
"karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-firefox-launcher": "1.3.0",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-webpack": "4.0.2",
"markdown-it": "11.0.0",
"markdown-it-emoji": "1.4.0",
"mocha": "7.2.0",
"mocha-loader": "5.0.0",
"npm-scripts-info": "0.3.9",
"raw-loader": "4.0.1",
"react": "16.13.1",
"react-dom": "16.13.1",
"regenerator-runtime": "0.13.5",
"sanitize-html": "1.25.0",
"semver": "7.3.2",
"sinon": "9.0.2",
"style-loader": "1.2.1",
"terser-webpack-plugin": "3.0.2",
"ts-jest": "26.1.0",
"ts-loader": "7.0.5",
"tslint": "6.1.2",
"typescript": "3.9.3",
"url-loader": "4.1.0",
"webpack": "4.43.0",
"webpack-bundle-analyzer": "3.8.0",
"webpack-cli": "3.3.11"
}
}