UNPKG

videojs-auto-caption

Version:

Automatically enables the caption/subtitle track matching the player language

100 lines (99 loc) 2.68 kB
{ "name": "videojs-auto-caption", "version": "0.1.0", "description": "Automatically enables the caption/subtitle track matching the player language", "main": "dist/videojs-auto-caption.cjs.js", "module": "dist/videojs-auto-caption.es.js", "generator-videojs-plugin": { "version": "7.6.1" }, "browserslist": [ "defaults", "ie 11" ], "scripts": { "prebuild": "npm run clean", "build": "npm-run-all -p build:*", "build:js": "rollup -c scripts/rollup.config.js", "clean": "shx rm -rf ./dist ./test/dist", "postclean": "shx mkdir -p ./dist ./test/dist", "docs": "npm-run-all docs:*", "docs:api": "jsdoc src -g plugins/markdown -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", "pretest": "npm-run-all lint build", "test": "npm-run-all test:*", "posttest": "shx cat test/dist/coverage/text.txt", "test:unit": "karma start scripts/karma.conf.js", "test:verify": "vjsverify --verbose", "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:js": "npm run build:js -- -w", "prepublishOnly": "npm-run-all build test:verify" }, "engines": { "node": ">=8", "npm": ">=5" }, "keywords": [ "videojs", "videojs-plugin" ], "author": "mister-ben <git@misterben.me>", "license": "Apache-2.0", "vjsstandard": { "ignore": [ "dist", "docs", "test/dist" ] }, "files": [ "CONTRIBUTING.md", "dist/", "docs/", "index.html", "scripts/", "src/", "test/" ], "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "npm run test" } }, "lint-staged": { "*.js": [ "vjsstandard --fix", "git add" ], "README.md": [ "doctoc --notitle", "git add" ] }, "dependencies": { "global": "^4.3.2", "video.js": "^6 || ^7" }, "devDependencies": { "@videojs/generator-helpers": "~1.0.0", "jsdoc": "BrandonOCasey/jsdoc#fix/security-issue", "karma": "^3.0.0", "rollup": "^1.1.0", "sinon": "^7.2.2", "videojs-generate-karma-config": "~5.0.2", "videojs-generate-rollup-config": "~3.0.2", "videojs-generator-verify": "~1.2.0", "videojs-standard": "^8.0.1" }, "repository": { "type": "git", "url": "https://github.com/mister-ben/videojs-auto-caption.git" } }