-
Notifications
You must be signed in to change notification settings - Fork 103
/
package.json
100 lines (100 loc) · 3.04 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
{
"name": "videojs-hls-quality-selector",
"version": "2.0.0",
"description": "Adds a quality selector menu for HLS sources played in videojs.",
"main": "cjs/plugin.js",
"module": "es/plugin.js",
"browser": "dist/videojs-hls-quality-selector.js",
"generator-videojs-plugin": {
"version": "9.0.0"
},
"scripts": {
"build": "npm-run-all -s clean -p build:*",
"build-prod": "cross-env-shell NO_TEST_BUNDLE=1 'npm run build'",
"build-test": "cross-env-shell TEST_BUNDLE_ONLY=1 'npm run build'",
"build:cjs": "babel-config-cjs -d ./cjs ./src",
"build:css": "postcss -o dist/videojs-hls-quality-selector.css --config scripts/postcss.config.js src/plugin.css",
"build:es": "babel-config-es -d ./es ./src",
"build:js": "rollup -c scripts/rollup.config.js",
"build:lang": "vjslang --dir dist/lang",
"clean": "shx rm -rf ./dist ./test/dist ./cjs ./es && shx mkdir -p ./dist ./test/dist ./cjs ./es",
"docs": "npm-run-all docs:*",
"docs:api": "jsdoc src -r -d docs/api",
"docs:toc": "doctoc --notitle README.md",
"lint": "vjsstandard",
"server": "karma start scripts/karma.conf.js --singleRun=false --auto-watch",
"start": "npm-run-all -p server watch",
"test": "npm-run-all lint build-test && karma start scripts/karma.conf.js",
"posttest": "shx cat test/dist/coverage/text.txt",
"update-changelog": "conventional-changelog -p videojs -i CHANGELOG.md -s",
"preversion": "npm test",
"version": "is-prerelease || npm run update-changelog && git add CHANGELOG.md",
"watch": "npm-run-all -p watch:*",
"watch:cjs": "npm run build:cjs -- -w",
"watch:css": "npm run build:css -- -w",
"watch:es": "npm run build:es -- -w",
"watch:js": "npm run build:js -- -w",
"prepublishOnly": "npm-run-all build-prod && vjsverify --verbose --skip-es-check"
},
"engines": {
"node": ">=14",
"npm": ">=6"
},
"keywords": [
"videojs",
"videojs-plugin"
],
"author": "Chris Boustead ([email protected])",
"license": "MIT",
"vjsstandard": {
"ignore": [
"es",
"cjs",
"dist",
"docs",
"test/dist"
]
},
"files": [
"CONTRIBUTING.md",
"cjs/",
"dist/",
"docs/",
"es/",
"index.html",
"scripts/",
"src/",
"test/"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "vjsstandard --fix",
"README.md": "doctoc --notitle"
},
"dependencies": {
"global": "^4.4.0",
"video.js": "^8"
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/runtime": "^7.14.0",
"@videojs/babel-config": "^0.2.0",
"@videojs/generator-helpers": "~3.0.0",
"jsdoc": "~3.6.7",
"karma": "^6.3.2",
"postcss": "^8.3.0",
"postcss-cli": "^8.3.1",
"rollup": "^2.50.3",
"sinon": "^9.1.0",
"videojs-generate-karma-config": "~8.0.0",
"videojs-generate-postcss-config": "~3.0.0",
"videojs-generate-rollup-config": "~7.0.1",
"videojs-generator-verify": "~4.0.0",
"videojs-languages": "^2.0.0",
"videojs-standard": "^9.0.0"
}
}