Files
shaka-player/package.json
T
Álvaro Velad Galván 6562859506 feat(UI): Add modern CSS theme support using CSS custom properties (#10152)
The build system is updated to generate two CSS outputs:

A legacy stylesheet (.css) where CSS custom properties are flattened
using postcss-custom-properties for compatibility with older browsers. A
modern stylesheet (.modern.css) that preserves CSS custom properties for
modern browsers.

Both outputs are generated from the same LESS source and processed
through Autoprefixer and cssnano, ensuring consistent styling while
supporting different browser capabilities. This enables a gradual
migration path between legacy and modern UI styling without breaking
existing consumers.

Close https://github.com/shaka-project/shaka-player/issues/10145
2026-06-01 09:38:58 +02:00

130 lines
4.0 KiB
JSON

{
"name": "shaka-player",
"description": "DASH/EME video player library",
"version": "5.1.0",
"homepage": "https://github.com/shaka-project/shaka-player",
"author": "Google",
"maintainers": [
{
"name": "Joey Parrish",
"email": "joeyparrish@google.com"
},
{
"name": "Alvaro Velad Galvan",
"email": "ladvan91@hotmail.com"
},
{
"name": "Wojciech Tyczyński",
"email": "tykus160@gmail.com"
}
],
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/parser": "^7.28.5",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.16.11",
"@joeyparrish/karma-babel-preprocessor": "^8.2.0",
"@stylistic/eslint-plugin-js": "^4.2.0",
"@teppeis/clutz": "^1.0.29-4c95e12.v20190929",
"autoprefixer": "^10.5.0",
"awesomplete": "^1.1.5",
"babel-plugin-istanbul": "^6.1.1",
"cajon": "^0.4.4",
"clean-package": "^2.2.0",
"code-prettify": "^0.1.0",
"color-themes-for-google-code-prettify": "^2.0.4",
"core-js": "^3.21.1",
"cspell": "^8.17.1",
"cssnano": "^8.0.1",
"dialog-polyfill": "^0.5.6",
"es6-promise-polyfill": "^1.2.0",
"eslint": "^9.18.0",
"eslint-config-google": "github:google/eslint-config-google#3ae571a",
"eslint-plugin-jsdoc": "^50.6.1",
"eslint-plugin-shaka-rules": "file:./build/eslint-plugin-shaka-rules",
"fontfaceonload": "^1.0.2",
"globals": "^15.14.0",
"google-closure-compiler-java": "^20260223.0.0",
"google-closure-deps": "^20230802.0.0",
"google-closure-library": "github:joeyparrish/closure-library#74db0395",
"htmlhint": "^1.1.3",
"jasmine-ajax": "^4.0.0",
"jimp": "^0.22.12",
"js-yaml": "^4.1.0",
"jsdoc": "github:joeyparrish/jsdoc#a1e61a4e",
"karma": "github:joeyparrish/karma#shaka-fixes",
"karma-coverage": "^2.2.0",
"karma-jasmine": "^4.0.1",
"karma-jasmine-ajax": "^0.1.13",
"karma-local-wd-launcher": "^1.7.2",
"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_dec.js": "^1.3.0",
"less": "^4.2.0",
"material-design-lite": "^1.3.0",
"open-sans-fonts": "^1.6.2",
"postcss": "^8.5.15",
"postcss-cli": "^11.0.1",
"postcss-custom-properties": "^15.0.1",
"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"
},
"overrides": {
"karma": {
"ua-parser-js": "github:joeyparrish/ua-parser-js#preview"
}
},
"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",
"dialog-polyfill/dialog-polyfill.css",
"dialog-polyfill/dist/dialog-polyfill.js",
"google-closure-library/closure/goog/base.js",
"lcevc_dec.js/dist/lcevc_dec.min.js",
"lcevc_dec.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",
"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",
"types": "dist/shaka-player.compiled.d.ts",
"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": {
"build": "python3 build/all.py",
"prepack": "clean-package",
"postpack": "clean-package restore",
"prepublishOnly": "python3 build/checkversion.py && python3 build/all.py --force"
},
"engines": {
"node": ">=18"
},
"clean-package": {
"remove": [
"engines"
]
}
}