UNPKG

cloudinary-video-player

Version:

Cloudinary Video Player

152 lines (151 loc) 5.06 kB
{ "name": "cloudinary-video-player", "version": "2.3.5", "description": "Cloudinary Video Player", "author": "Cloudinary", "license": "MIT", "module": "./lib/cld-video-player.js", "main": "./dist/cld-video-player.min.js", "style": "./dist/cld-video-player.min.css", "types": "./types/cld-video-player.d.ts", "files": [ "dist", "lib", "types", "LICENSE", "README.md", "!**/*.map" ], "exports": { ".": { "types": "./types/cld-video-player.d.ts", "import": "./lib/cld-video-player.js", "require": "./dist/cld-video-player.min.js" }, "./*": "./lib/*", "./light": { "import": "./lib/light/index.js", "require": "./dist/cld-video-player.light.min.js" }, "./light/*": "./lib/light/*" }, "scripts": { "prepare": "shx cp env.example.js env.js", "clean": "rm -rf dist lib", "start": "webpack serve --config webpack/dev.config.js", "start:light": "WEBPACK_BUILD_LIGHT=1 webpack serve --config webpack/dev.config.js", "build": "WEBPACK_BUILD_MIN=1 webpack --config webpack/build.config.js --progress --color", "build-dev": "webpack --config webpack/build.config.js --progress --color --mode=development", "build-es": "WEBPACK_BUILD_MIN=1 webpack --config webpack/es6.config.js --progress --color", "build-light": "WEBPACK_BUILD_LIGHT=1 WEBPACK_BUILD_MIN=1 webpack --config webpack/build.config.js --progress --color", "build-light-dev": "WEBPACK_BUILD_LIGHT=1 webpack --config webpack/build.config.js --progress --color --mode=development", "build-light-es": "WEBPACK_BUILD_LIGHT=1 WEBPACK_BUILD_MIN=1 webpack --config webpack/es-light.config.js --progress --color", "build-all": "npm run clean && npm run build && npm run build-dev && npm run build-light && npm run build-light-dev && npm run build-light-es && npm run build-es", "analyze": "webpack --config webpack/analyzer.config.js", "analyze:light": "WEBPACK_BUILD_LIGHT=1 webpack --config webpack/analyzer.config.js", "postbuild-all": "bundlewatch", "precommit": "eslint src", "test": "jest --no-cache --detectOpenHandles", "test:unit": "UNIT=TRUE jest --no-cache --env jsdom --testMatch='<rootDir>/test/unit/*.test.js'", "test:e2e": "npx playwright test --config=test/e2e/playwright.config.ts", "commitlint": "commitlint --edit" }, "keywords": [ "dash", "hls", "html5", "player", "video", "videojs", "cloudinary" ], "bundlewatch": { "files": [ { "path": "./dist/cld-video-player.min.js", "maxSize": "258kb" }, { "path": "./dist/cld-video-player.light.min.js", "maxSize": "135kb" }, { "path": "./lib/cld-video-player.js", "maxSize": "258kb" }, { "path": "./lib/videoPlayer.js", "maxSize": "258kb" }, { "path": "./lib/all.js", "maxSize": "290kb" }, { "path": "./lib/light/index.js", "maxSize": "135kb" } ] }, "dependencies": { "@cloudinary/url-gen": "^1.21.0", "cloudinary-video-analytics": "1.7.1", "cloudinary-video-player-profiles": "1.2.0", "lodash": "^4.17.21", "srt-parser-2": "^1.2.3", "uuid": "^11.0.3", "video.js": "^8.21.0", "videojs-contrib-ads": "^7.5.2", "videojs-contrib-dash": "^5.1.1", "videojs-ima": "^2.3.0", "videojs-per-source-behaviors": "^3.0.1", "webfontloader": "^1.6.28" }, "devDependencies": { "@actions/core": "^1.11.1", "@actions/github": "^6.0.0", "@babel/core": "^7.26.0", "@babel/eslint-parser": "^7.25.9", "@babel/plugin-transform-runtime": "^7.25.9", "@babel/preset-env": "^7.26.0", "@commitlint/cli": "^19.6.0", "@commitlint/config-conventional": "^19.6.0", "@playwright/test": "1.49.1", "@types/node": "22.10.1", "@typescript-eslint/eslint-plugin": "^8.17.0", "@typescript-eslint/parser": "^8.17.0", "babel-jest": "^29.7.0", "babel-loader": "^9.2.1", "bundlewatch": "^0.4.0", "copy-webpack-plugin": "^12.0.2", "css-loader": "^7.1.2", "css-minimizer-webpack-plugin": "^7.0.0", "css.escape": "^1.5.1", "eslint": "^9.16.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.9.0", "eslint-plugin-prettier": "^5.2.1", "eslint-webpack-plugin": "^4.2.0", "expose-loader": "^5.0.0", "html-webpack-plugin": "^5.6.3", "husky": "^9.1.7", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-puppeteer": "^10.1.4", "mini-css-extract-plugin": "^2.9.2", "puppeteer": "^22.15.0", "puppeteer-request-spy": "^1.4.0", "sass": "^1.82.0", "sass-loader": "^16.0.4", "semver": "^7.6.3", "shx": "^0.3.4", "terser-webpack-plugin": "^5.3.10", "url-loader": "^4.1.1", "webpack": "^5.95.0", "webpack-bundle-analyzer": "^4.10.2", "webpack-cli": "^5.1.4", "webpack-conditional-loader": "^1.0.12", "webpack-dev-server": "^5.1.0", "webpack-merge": "^6.0.1" } }