6d876ee6ef
This runs the changelog generation on versioning automatically, if it isn't a pre-release. It also runs the build and API docs generation on publish and makes sure that the generated API docs are in the published package.
148 linhas
4.4 KiB
JSON
148 linhas
4.4 KiB
JSON
{
|
|
"name": "video.js",
|
|
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
|
"version": "6.0.0-RC.5",
|
|
"main": "./es5/video.js",
|
|
"style": "./dist/video-js.css",
|
|
"copyright": "Copyright Brightcove, Inc. <https://www.brightcove.com/>",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"flash",
|
|
"html5",
|
|
"player",
|
|
"video",
|
|
"videojs"
|
|
],
|
|
"homepage": "http://videojs.com",
|
|
"author": "Steve Heffernan",
|
|
"scripts": {
|
|
"changelog": "conventional-changelog -p videojs -i CHANGELOG.md -s",
|
|
"build": "grunt dist",
|
|
"change": "grunt chg-add",
|
|
"clean": "grunt clean",
|
|
"grunt": "grunt",
|
|
"lint": "vjsstandard",
|
|
"start": "grunt dev",
|
|
"test": "grunt test",
|
|
"docs": "npm run docs:lint && npm run docs:api",
|
|
"jsdoc": "jsdoc",
|
|
"predocs:api": "node -e \"var s=require('shelljs'),d=['docs/api'];s.rm('-rf',d);\"",
|
|
"docs:api": "jsdoc -c .jsdoc.json",
|
|
"postdocs:api": "node ./build/fix-api-docs.js",
|
|
"docs:lint": "remark -- './**/*.md'",
|
|
"docs:fix": "remark --output -- './**/*.md'",
|
|
"babel": "babel src/js -d es5",
|
|
"prepublish": "not-in-install && run-p docs:api build || in-install",
|
|
"prepush": "npm run lint -- --errors",
|
|
"version": "node build/version.js && git add CHANGELOG.md"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/videojs/video.js.git"
|
|
},
|
|
"dependencies": {
|
|
"babel-runtime": "^6.9.2",
|
|
"global": "4.3.0",
|
|
"safe-json-parse": "4.0.0",
|
|
"tsml": "1.0.1",
|
|
"videojs-font": "2.0.0",
|
|
"videojs-ie8": "1.1.2",
|
|
"videojs-vtt.js": "0.12.3",
|
|
"xhr": "2.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"aliasify": "^2.1.0",
|
|
"babel-cli": "^6.11.4",
|
|
"babel-plugin-inline-json": "^1.1.1",
|
|
"babel-plugin-transform-runtime": "^6.9.0",
|
|
"babel-preset-es2015": "^6.14.0",
|
|
"babel-preset-es3": "^1.0.1",
|
|
"babel-register": "^6.9.0",
|
|
"babelify": "^7.3.0",
|
|
"blanket": "^1.1.6",
|
|
"browserify-derequire": "^0.9.4",
|
|
"browserify-istanbul": "^2.0.0",
|
|
"browserify-versionify": "^1.0.4",
|
|
"bundle-collapser": "^1.2.1",
|
|
"chg": "^0.3.2",
|
|
"conventional-changelog-cli": "^1.2.0",
|
|
"conventional-changelog-videojs": "^3.0.0",
|
|
"es5-shim": "^4.1.3",
|
|
"es6-shim": "^0.35.1",
|
|
"grunt": "^0.4.5",
|
|
"grunt-accessibility": "^5.0.0",
|
|
"grunt-babel": "^6.0.0",
|
|
"grunt-banner": "^0.6.0",
|
|
"grunt-browserify": "5.0.0",
|
|
"grunt-cli": "~1.2.0",
|
|
"grunt-concurrent": "^2.3.1",
|
|
"grunt-contrib-clean": "^1.0.0",
|
|
"grunt-contrib-concat": "^1.0.1",
|
|
"grunt-contrib-connect": "~1.0.2",
|
|
"grunt-contrib-copy": "^1.0.0",
|
|
"grunt-contrib-cssmin": "~1.0.2",
|
|
"grunt-contrib-uglify": "^2.0.0",
|
|
"grunt-contrib-watch": "~1.0.0",
|
|
"grunt-coveralls": "^1.0.0",
|
|
"grunt-fastly": "^0.1.3",
|
|
"grunt-github-releaser": "^0.1.17",
|
|
"grunt-karma": "^2.0.0",
|
|
"grunt-sass": "^2.0.0",
|
|
"grunt-shell": "^2.0.0",
|
|
"grunt-version": "~1.1.1",
|
|
"grunt-videojs-languages": "0.0.4",
|
|
"grunt-zip": "0.17.1",
|
|
"husky": "^0.13.1",
|
|
"in-publish": "^2.0.0",
|
|
"istanbul": "^0.4.5",
|
|
"jsdoc": "^3.4.2",
|
|
"karma": "1.3.0",
|
|
"karma-browserify": "^5.1.0",
|
|
"karma-browserstack-launcher": "^1.0.1",
|
|
"karma-chrome-launcher": "^2.0.0",
|
|
"karma-coverage": "^1.1.1",
|
|
"karma-detect-browsers": "~2.2.3",
|
|
"karma-firefox-launcher": "^1.0.0",
|
|
"karma-ie-launcher": "^1.0.0",
|
|
"karma-opera-launcher": "^1.0.0",
|
|
"karma-qunit": "^1.2.0",
|
|
"karma-safari-launcher": "^1.0.0",
|
|
"karma-sinon": "^1.0.5",
|
|
"load-grunt-tasks": "^3.1.0",
|
|
"lodash": "^4.16.6",
|
|
"markdown-table": "^1.0.0",
|
|
"npm-run": "^4.1.0",
|
|
"npm-run-all": "^4.0.2",
|
|
"proxyquireify": "^3.0.0",
|
|
"qunitjs": "1.23.1",
|
|
"remark-cli": "^3.0.0",
|
|
"remark-lint": "^6.0.0",
|
|
"remark-toc": "^4.0.0",
|
|
"remark-validate-links": "^6.0.0",
|
|
"replace": "^0.3.0",
|
|
"shelljs": "^0.7.5",
|
|
"sinon": "^1.16.1",
|
|
"time-grunt": "^1.1.1",
|
|
"tui-jsdoc-template": "^1.1.0",
|
|
"uglify-js": "~2.8.8",
|
|
"videojs-doc-generator": "0.0.1",
|
|
"videojs-flash": "^1.0.0-RC.0",
|
|
"videojs-standard": "^6.0.1",
|
|
"webpack": "^2.3.0"
|
|
},
|
|
"vjsstandard": {
|
|
"ignore": [
|
|
"**/Gruntfile.js",
|
|
"**/es5/**",
|
|
"**/build/**",
|
|
"**/dist/**",
|
|
"**/docs/**",
|
|
"**/lang/**",
|
|
"**/sandbox/**",
|
|
"**/test/api/**",
|
|
"**/test/coverage/**",
|
|
"**/test/karma.conf.js"
|
|
]
|
|
}
|
|
}
|