2013-01-12 10:02:20 +03:00
|
|
|
{
|
|
|
|
"name": "video.js",
|
|
|
|
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
2018-12-11 23:52:24 +02:00
|
|
|
"version": "7.4.1",
|
2017-05-26 01:40:35 +02:00
|
|
|
"main": "./dist/video.cjs.js",
|
2018-07-03 18:04:41 +02:00
|
|
|
"module": "./dist/video.es.js",
|
2016-08-17 23:16:41 +02:00
|
|
|
"style": "./dist/video-js.css",
|
2015-03-12 20:23:47 +02:00
|
|
|
"copyright": "Copyright Brightcove, Inc. <https://www.brightcove.com/>",
|
|
|
|
"license": "Apache-2.0",
|
2014-02-15 03:52:48 +03:00
|
|
|
"keywords": [
|
|
|
|
"flash",
|
2015-08-03 21:19:36 +02:00
|
|
|
"html5",
|
|
|
|
"player",
|
2014-02-15 03:52:48 +03:00
|
|
|
"video",
|
2015-08-03 21:19:36 +02:00
|
|
|
"videojs"
|
2014-02-15 03:52:48 +03:00
|
|
|
],
|
2018-08-10 21:13:32 +02:00
|
|
|
"homepage": "https://videojs.com",
|
2013-01-12 10:02:20 +03:00
|
|
|
"author": "Steve Heffernan",
|
|
|
|
"scripts": {
|
2018-11-30 23:37:29 +02:00
|
|
|
"sandbox": "node build/sandbox.js",
|
|
|
|
"prestart": "npm-run-all sandbox",
|
|
|
|
"start": "npm-run-all -p watch karma-server",
|
|
|
|
"clean": "shx rm -rf ./dist ./test/dist ./docs/api",
|
|
|
|
"postclean": "shx mkdir -p ./dist/lang ./test/dist",
|
|
|
|
"changelog": "conventional-changelog -p videojs -i CHANGELOG.md -s",
|
|
|
|
"build": "npm-run-all build-dev minify copy zip",
|
|
|
|
"build-dev": "npm-run-all clean lint-errors build:js build:css build:lang build:test",
|
|
|
|
"build:test": "npm-run-all build:test:*",
|
|
|
|
"build:test:a11y": "shx cp sandbox/descriptions.html.example sandbox/descriptions.test-a11y.html",
|
|
|
|
"build:test:browserify": "browserify test/require/browserify.js -o test/dist/browserify.js",
|
|
|
|
"build:test:webpack": "webpack --hide-modules test/require/webpack.js test/dist/webpack.js",
|
|
|
|
"copy": "npm-run-all copy:*",
|
|
|
|
"copy:fonts": "shx cp -R node_modules/videojs-font/fonts dist/font",
|
|
|
|
"copy:examples": "shx cp -R docs/examples dist/",
|
|
|
|
"build:js": "rollup -c",
|
|
|
|
"build:css": "npm-run-all build:css:*",
|
|
|
|
"build:css:cdn": "node-sass src/css/vjs-cdn.scss dist/alt/video-js-cdn.css",
|
|
|
|
"postbuild:css:cdn": "postcss --verbose --config postcss.config.js -d dist/alt dist/alt/video-js-cdn.css",
|
|
|
|
"build:css:default": "node-sass src/css/vjs.scss dist/video-js.css",
|
|
|
|
"postbuild:css:default": "postcss --verbose --config postcss.config.js -d dist/ dist/video-js.css",
|
2018-11-16 19:13:19 +02:00
|
|
|
"build:lang": "npm-run-all build:lang:*",
|
|
|
|
"build:lang:js": "vjslang --dir dist/lang",
|
|
|
|
"build:lang:copy": "shx cp -R lang/* dist/lang/",
|
2018-11-30 23:37:29 +02:00
|
|
|
"minify": "npm-run-all minify:*",
|
|
|
|
"minify:js": "babel-node build/minify.js",
|
|
|
|
"minify:css": "npm-run-all minify:css:*",
|
|
|
|
"minify:css:cdn": "cleancss dist/alt/video-js-cdn.css -o dist/alt/video-js-cdn.min.css",
|
|
|
|
"minify:css:default": "cleancss dist/video-js.css -o dist/video-js.min.css",
|
2018-10-25 21:45:08 +02:00
|
|
|
"watch": "npm-run-all -p watch:*",
|
2018-11-16 19:13:19 +02:00
|
|
|
"watch:lang": "chokidar --initial 'lang/**/*.json' -c 'npm run build:lang'",
|
2018-11-30 23:37:29 +02:00
|
|
|
"watch:rollup": "rollup -c -w --no-progress",
|
|
|
|
"watch:css-default": "npm run build:css:default -- --watch 'src/**/**/*.scss'",
|
|
|
|
"watch:css-cdn": "npm run build:css:cdn -- --watch 'src/**/**/*.scss'",
|
2017-05-26 01:40:35 +02:00
|
|
|
"assets": "node build/assets.js",
|
2016-07-25 15:49:38 +02:00
|
|
|
"lint": "vjsstandard",
|
2018-11-30 23:37:29 +02:00
|
|
|
"lint-errors": "vjsstandard --errors",
|
2018-10-31 17:01:30 +02:00
|
|
|
"karma-server": "karma start test/karma.conf.js --singleRun=false --auto-watch",
|
2018-11-30 23:37:29 +02:00
|
|
|
"pretest": "npm run build-dev",
|
|
|
|
"test": "npm-run-all -p test:*",
|
|
|
|
"test:node-require": "node test/require/node.js",
|
|
|
|
"test:a11y": "node build/test-a11y.js",
|
|
|
|
"test:unit": "karma start test/karma.conf.js",
|
|
|
|
"docs": "npm-run-all clean docs:lint docs:api",
|
2017-01-24 18:26:39 +02:00
|
|
|
"docs:api": "jsdoc -c .jsdoc.json",
|
2017-03-21 23:13:06 +02:00
|
|
|
"postdocs:api": "node ./build/fix-api-docs.js",
|
2018-01-30 20:26:21 +02:00
|
|
|
"docs:lint": "remark -- './{,!(node_modules)/**/}!(CHANGELOG)*.md'",
|
|
|
|
"docs:fix": "remark --output -- './{,!(node_modules)/**/}!(CHANGELOG)*.md'",
|
2018-11-30 23:37:29 +02:00
|
|
|
"docs:lang": "node build/translations.js",
|
|
|
|
"netlify": "babel-node ./build/netlify-docs.js",
|
2019-01-15 23:13:43 +02:00
|
|
|
"prepare": "patch-package",
|
2018-10-11 23:29:06 +02:00
|
|
|
"prepublishOnly": "run-p build",
|
2017-07-14 20:21:07 +02:00
|
|
|
"publish": "node build/gh-release.js",
|
2018-11-08 21:02:07 +02:00
|
|
|
"version": "node build/version.js && git add CHANGELOG.md",
|
2018-11-16 19:28:44 +02:00
|
|
|
"zip": "cd dist && cross-env bestzip \"./video-js-${npm_package_version}.zip\" * && cd .."
|
2013-01-12 10:02:20 +03:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2014-02-19 00:31:18 +03:00
|
|
|
"url": "https://github.com/videojs/video.js.git"
|
2013-01-12 10:02:20 +03:00
|
|
|
},
|
2014-01-24 02:44:52 +03:00
|
|
|
"dependencies": {
|
2018-12-03 22:00:51 +02:00
|
|
|
"@babel/runtime": "^7.2.0",
|
2019-01-17 04:56:12 +02:00
|
|
|
"@videojs/http-streaming": "1.8.0",
|
2017-05-11 23:52:30 +02:00
|
|
|
"global": "4.3.2",
|
2016-06-01 20:30:44 +02:00
|
|
|
"safe-json-parse": "4.0.0",
|
2015-09-15 19:57:55 +02:00
|
|
|
"tsml": "1.0.1",
|
2018-10-09 22:50:31 +02:00
|
|
|
"videojs-font": "3.1.0",
|
2018-04-11 17:39:05 +02:00
|
|
|
"videojs-vtt.js": "0.14.1",
|
2017-03-02 21:52:02 +02:00
|
|
|
"xhr": "2.4.0"
|
2014-01-24 02:44:52 +03:00
|
|
|
},
|
2013-01-12 10:02:20 +03:00
|
|
|
"devDependencies": {
|
2018-12-03 22:00:51 +02:00
|
|
|
"@babel/cli": "^7.2.0",
|
2018-12-18 18:38:10 +02:00
|
|
|
"@babel/core": "^7.2.2",
|
|
|
|
"@babel/node": "^7.2.2",
|
2018-12-03 22:00:51 +02:00
|
|
|
"@babel/plugin-transform-runtime": "^7.2.0",
|
|
|
|
"@babel/preset-env": "^7.2.0",
|
2018-10-12 21:54:51 +02:00
|
|
|
"@babel/register": "^7.0.0",
|
2018-11-16 19:13:19 +02:00
|
|
|
"access-sniff": "^3.2.0",
|
2018-12-04 18:06:33 +02:00
|
|
|
"autoprefixer": "^9.4.2",
|
2018-10-12 21:54:51 +02:00
|
|
|
"babelify": "^10.0.0",
|
2018-11-08 21:02:07 +02:00
|
|
|
"bestzip": "^2.1.2",
|
2018-12-03 22:00:51 +02:00
|
|
|
"bluebird": "^3.5.3",
|
2018-10-31 17:01:30 +02:00
|
|
|
"browserify": "^16.2.3",
|
|
|
|
"browserify-istanbul": "^3.0.1",
|
2018-11-16 19:13:19 +02:00
|
|
|
"chokidar-cli": "^1.2.1",
|
2018-10-25 21:45:08 +02:00
|
|
|
"clean-css-cli": "^4.2.1",
|
2017-05-26 01:40:35 +02:00
|
|
|
"cli-table": "^0.3.1",
|
2018-11-05 22:00:42 +02:00
|
|
|
"conventional-changelog-cli": "^2.0.11",
|
2016-10-06 20:09:48 +02:00
|
|
|
"conventional-changelog-videojs": "^3.0.0",
|
2018-11-16 19:28:44 +02:00
|
|
|
"cross-env": "^5.2.0",
|
2018-12-03 22:00:51 +02:00
|
|
|
"es5-shim": "^4.5.12",
|
2018-11-06 18:48:42 +02:00
|
|
|
"es6-shim": "^0.35.4",
|
2019-01-17 04:55:34 +02:00
|
|
|
"filesize": "^4.0.0",
|
2018-12-03 22:00:51 +02:00
|
|
|
"gh-release": "^3.4.0",
|
|
|
|
"humanize-duration": "^3.16.0",
|
|
|
|
"husky": "^1.2.0",
|
|
|
|
"jsdoc": "^3.5.5",
|
|
|
|
"karma": "^3.1.3",
|
2018-09-06 03:05:30 +02:00
|
|
|
"karma-browserify": "^5.3.0",
|
2018-09-28 21:05:56 +02:00
|
|
|
"klaw-sync": "^6.0.0",
|
2018-12-03 22:00:51 +02:00
|
|
|
"lint-staged": "^8.1.0",
|
|
|
|
"markdown-table": "^1.1.2",
|
2018-04-19 19:23:53 +02:00
|
|
|
"maxmin": "^2.1.0",
|
2017-05-26 01:40:35 +02:00
|
|
|
"minimist": "^1.2.0",
|
2018-11-06 18:48:42 +02:00
|
|
|
"node-sass": "^4.10.0",
|
2018-11-16 07:04:11 +02:00
|
|
|
"npm-merge-driver-install": "^1.1.1",
|
2018-11-26 19:19:01 +02:00
|
|
|
"npm-run-all": "^4.1.5",
|
2019-01-15 23:13:43 +02:00
|
|
|
"patch-package": "^5.1.1",
|
2018-12-03 22:00:51 +02:00
|
|
|
"postcss-cli": "^6.0.1",
|
|
|
|
"proxyquireify": "^3.2.1",
|
2019-01-07 21:42:10 +02:00
|
|
|
"qunit": "~2.9.1",
|
2018-12-03 22:00:51 +02:00
|
|
|
"remark-cli": "^6.0.1",
|
|
|
|
"remark-lint": "^6.0.4",
|
|
|
|
"remark-parse": "^6.0.3",
|
|
|
|
"remark-stringify": "^6.0.4",
|
|
|
|
"remark-toc": "^5.1.1",
|
2019-01-17 04:57:33 +02:00
|
|
|
"remark-validate-links": "^8.0.0",
|
2018-11-06 18:48:42 +02:00
|
|
|
"replace": "^1.0.0",
|
2019-01-04 19:38:47 +02:00
|
|
|
"rollup": "^1.0.1",
|
2018-03-30 20:01:16 +02:00
|
|
|
"rollup-plugin-alias": "^1.4.0",
|
2018-12-03 22:00:51 +02:00
|
|
|
"rollup-plugin-babel": "^4.0.3",
|
|
|
|
"rollup-plugin-commonjs": "^9.2.0",
|
|
|
|
"rollup-plugin-ignore": "^1.0.4",
|
|
|
|
"rollup-plugin-json": "^3.1.0",
|
2018-12-10 21:23:37 +02:00
|
|
|
"rollup-plugin-node-resolve": "^4.0.0",
|
2019-01-07 22:09:48 +02:00
|
|
|
"rollup-plugin-progress": "^1.0.0",
|
2018-12-03 22:00:51 +02:00
|
|
|
"semver": "^5.6.0",
|
|
|
|
"shelljs": "^0.8.3",
|
2018-11-08 21:02:07 +02:00
|
|
|
"shx": "^0.3.2",
|
2015-08-25 02:46:54 +02:00
|
|
|
"sinon": "^1.16.1",
|
2018-12-03 22:00:51 +02:00
|
|
|
"tui-jsdoc-template": "^1.2.2",
|
|
|
|
"uglify-js": "^3.4.9",
|
|
|
|
"unified": "^7.0.2",
|
|
|
|
"videojs-flash": "^2.1.2",
|
2018-11-16 00:34:03 +02:00
|
|
|
"videojs-generate-karma-config": "~5.0.0",
|
2018-11-16 19:13:19 +02:00
|
|
|
"videojs-languages": "^2.0.0",
|
2018-09-28 20:58:15 +02:00
|
|
|
"videojs-standard": "^8.0.2",
|
2018-10-31 17:01:30 +02:00
|
|
|
"watchify": "^3.11.0",
|
2017-05-26 01:40:35 +02:00
|
|
|
"webpack": "^1.15.0"
|
2015-05-01 21:48:28 +02:00
|
|
|
},
|
2016-07-25 15:49:38 +02:00
|
|
|
"vjsstandard": {
|
2015-05-01 21:48:28 +02:00
|
|
|
"ignore": [
|
2016-08-17 23:16:41 +02:00
|
|
|
"**/es5/**",
|
2015-05-01 21:48:28 +02:00
|
|
|
"**/build/**",
|
2017-05-26 01:40:35 +02:00
|
|
|
"!build/rollup.js",
|
2018-03-30 20:01:16 +02:00
|
|
|
"core.js",
|
2015-05-01 21:48:28 +02:00
|
|
|
"**/dist/**",
|
|
|
|
"**/docs/**",
|
|
|
|
"**/lang/**",
|
|
|
|
"**/sandbox/**",
|
2016-07-25 15:49:38 +02:00
|
|
|
"**/test/api/**",
|
2018-10-31 17:01:30 +02:00
|
|
|
"**/test/dist/coverage/**",
|
2016-07-25 15:49:38 +02:00
|
|
|
"**/test/karma.conf.js"
|
2015-05-01 21:48:28 +02:00
|
|
|
]
|
2017-03-30 19:46:41 +02:00
|
|
|
},
|
|
|
|
"greenkeeper": {
|
|
|
|
"ignore": [
|
2017-07-26 19:29:39 +02:00
|
|
|
"sinon",
|
2018-04-19 19:23:53 +02:00
|
|
|
"webpack"
|
2017-03-30 19:46:41 +02:00
|
|
|
]
|
2018-09-28 22:06:06 +02:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2018-11-16 07:04:11 +02:00
|
|
|
"pre-commit": "lint-staged"
|
2018-09-28 22:06:06 +02:00
|
|
|
}
|
2018-11-16 07:04:11 +02:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"vjsstandard --fix",
|
|
|
|
"git add"
|
|
|
|
]
|
2013-01-12 10:02:20 +03:00
|
|
|
}
|
|
|
|
}
|