Files
shaka-player/package.json
T
Joey Parrish 524a80b449 fix: Ship to NPM without node version restrictions (#5253)
Before packaging for NPM, remove the "engines" section of package.json
to avoid unnecessary restrictions on node versions for projects that
simply depend on Shaka Player, but don't need to rebuild it. This is
accomplished with the clean-package tool:
https://github.com/roydukkey/clean-package

The "engines" section and its restrictions still make sense for Shaka
Player development, so it will not be removed from package.json in the
repo.

Closes #5243
2023-06-01 16:14:56 -07:00

116 lines
3.7 KiB
JSON

{
"name": "shaka-player",
"description": "DASH/EME video player library",
"version": "4.3.0",
"homepage": "https://github.com/shaka-project/shaka-player",
"author": "Google",
"maintainers": [
{
"name": "Joey Parrish",
"email": "joeyparrish@google.com"
}
],
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.16.11",
"@teppeis/clutz": "^1.0.29-4c95e12.v20190929",
"awesomplete": "^1.1.5",
"babel-plugin-istanbul": "^6.1.1",
"cajon": "^0.4.4",
"clean-package": "^2.2.0",
"code-prettify": "^0.1.0",
"codem-isoboxer": "^0.3.7",
"color-themes-for-google-code-prettify": "^2.0.4",
"core-js": "^3.21.1",
"dialog-polyfill": "^0.5.6",
"es6-promise-polyfill": "^1.2.0",
"eslint": "^8.9.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-shaka-rules": "file:./build/eslint-plugin-shaka-rules",
"esprima": "^4.0.1",
"fontfaceonload": "^1.0.2",
"google-closure-compiler-java": "^20221102.0.0",
"google-closure-deps": "^20221102.0.0",
"google-closure-library": "^20221102.0.0",
"htmlhint": "^1.1.3",
"jasmine-ajax": "^4.0.0",
"jimp": "^0.16.1",
"js-yaml": "^4.1.0",
"jsdoc": "github:joeyparrish/jsdoc#2ca85bb6",
"karma": "^6.3.16",
"karma-babel-preprocessor": "^8.0.2",
"karma-coverage": "^2.2.0",
"karma-jasmine": "^4.0.1",
"karma-jasmine-ajax": "^0.1.13",
"karma-local-wd-launcher": "^1.6.1",
"karma-opera-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.8",
"karma-spec-reporter": "^0.0.34",
"karma-webdriver-launcher": "^1.0.8",
"lcevc_dil.js": "^1.1.20",
"less": "https://gitpkg.now.sh/joeyparrish/less.js/packages/less?28c63a43",
"less-plugin-clean-css": "github:austingardner/less-plugin-clean-css#4e9e77bf",
"material-design-lite": "^1.3.0",
"mux.js": "^6.2.0",
"open-sans-fonts": "^1.6.2",
"postcss-less": "^6.0.0",
"pwacompat": "^2.0.17",
"rimraf": "^3.0.2",
"sprintf-js": "^1.1.2",
"ssim.js": "^3.5.0",
"stylelint": "^14.5.1",
"stylelint-config-standard": "^25.0.0",
"tippy.js": "^4.3.5",
"which": "^2.0.2"
},
"shakaCustom": {
"purposeOfDemoDeps": "These are the files from node_modules that need to be deployed with the demo app.",
"demoDeps": [
"awesomplete/awesomplete.css",
"awesomplete/awesomplete.min.js",
"codem-isoboxer/dist/iso_boxer.min.js",
"dialog-polyfill/dialog-polyfill.css",
"dialog-polyfill/dist/dialog-polyfill.js",
"eme-encryption-scheme-polyfill/index.js",
"es6-promise-polyfill/promise.min.js",
"google-closure-library/closure/goog/base.js",
"lcevc_dil.js/dist/lcevc_dil.min.js",
"lcevc_dil.js/dist/liblcevc_dpi.wasm",
"less/dist/less.js",
"material-design-lite/dist/material.indigo-blue.min.css",
"material-design-lite/dist/material.min.js",
"mux.js/dist/mux.min.js",
"popper.js/dist/umd/popper.min.js",
"pwacompat/pwacompat.min.js",
"tippy.js/umd/index.min.js",
"tippy.js/index.css"
]
},
"main": "dist/shaka-player.compiled.js",
"repository": {
"type": "git",
"url": "https://github.com/shaka-project/shaka-player.git"
},
"bugs": {
"url": "https://github.com/shaka-project/shaka-player/issues"
},
"license": "Apache-2.0",
"scripts": {
"prepack": "clean-package",
"postpack": "clean-package restore",
"prepublishOnly": "python build/checkversion.py && python build/all.py --force"
},
"dependencies": {
"eme-encryption-scheme-polyfill": "^2.1.1"
},
"engines": {
"node": ">=14"
},
"clean-package": {
"remove": [
"engines"
]
}
}