UNPKG

videojs-contrib-ads

Version:

A framework that provides common functionality needed by video advertisement libraries working with video.js.

115 lines (114 loc) 3.24 kB
{ "name": "videojs-contrib-ads", "description": "A framework that provides common functionality needed by video advertisement libraries working with video.js.", "main": "dist/videojs.ads.js", "module": "dist/videojs-contrib-ads.es.js", "repository": { "type": "git", "url": "https://github.com/videojs/videojs-contrib-ads.git" }, "version": "7.5.2", "author": "Brightcove, Inc.", "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "prebuild": "npm run clean", "build": "npm-run-all -p build:*", "build:css": "npm-run-all build:css:sass build:css:copy", "build:css:copy": "shx cp dist/videojs-contrib-ads.css dist/videojs.ads.css", "build:css:sass": "node-sass src/plugin.scss dist/videojs-contrib-ads.css --output-style=compressed --linefeed=lf", "build:js": "npm-run-all build:js:rollup build:js:copy build:js:copy-min", "build:js:copy": "shx cp dist/videojs-contrib-ads.js dist/videojs.ads.js", "build:js:copy-min": "shx cp dist/videojs-contrib-ads.min.js dist/videojs.ads.min.js", "build:js:rollup": "rollup -c scripts/rollup.config.js", "clean": "shx rm -rf ./dist ./test/dist", "postclean": "shx mkdir -p ./dist ./test/dist", "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", "version": "is-prerelease || npm run update-changelog && git add CHANGELOG.md", "watch": "npm-run-all -p watch:*", "watch:css": "npm run build:css:sass -- -w", "watch:js": "npm run build:js:rollup -- -w", "prepublishOnly": "npm-run-all build test:verify" }, "devDependencies": { "@videojs/generator-helpers": "~1.0.0", "karma": "^4.0.1", "lodash": "^4.17.15", "node-sass": "^4.5.3", "rollup": "1.1.0", "sinon": "^2.2.0", "video.js": "^8.11.6", "videojs-generate-karma-config": "~5.1.0", "videojs-generate-rollup-config": "~3.1.0", "videojs-generator-verify": "~1.2.0", "videojs-standard": "^8.0.1" }, "keywords": [ "videojs", "videojs-plugin" ], "license": "Apache-2.0", "vjsstandard": { "jsdoc": false, "ignore": [ "dist", "docs", "test/dist", "examples" ] }, "files": [ "CONTRIBUTING.md", "dist/", "docs/", "index.html", "scripts/", "src/", "test/" ], "dependencies": { "global": "^4.3.2" }, "peerDependencies": { "video.js": "^8.11.6" }, "generator-videojs-plugin": { "version": "7.6.1" }, "greenkeeper": { "ignore": [ "sinon", "rollup", "rollup-plugin-commonjs" ] }, "browserslist": [ "defaults", "ie 11" ], "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.js": [ "vjsstandard --fix", "git add" ], "README.md": [ "doctoc --notitle", "git add" ] } }