{ "name": "css-prefers-color-scheme", "description": "Use light and dark color schemes in all browsers", "version": "9.0.0", "contributors": [ { "name": "Antonio Laguna", "email": "antonio@laguna.es", "url": "https://antonio.laguna.es" }, { "name": "Romain Menke", "email": "romainmenke@gmail.com" }, { "name": "Jonathan Neal", "email": "jonathantneal@hotmail.com" } ], "license": "MIT-0", "funding": [ { "type": "github", "url": "https://github.com/sponsors/csstools" }, { "type": "opencollective", "url": "https://opencollective.com/csstools" } ], "engines": { "node": "^14 || ^16 || >=18" }, "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs", "default": "./dist/index.mjs" }, "./browser": { "import": "./dist/browser.mjs", "require": "./dist/browser.cjs", "default": "./dist/browser.mjs" }, "./browser-global": { "default": "./dist/browser-global.js" } }, "files": [ "CHANGELOG.md", "LICENSE.md", "README.md", "dist" ], "peerDependencies": { "postcss": "^8.4" }, "devDependencies": { "@csstools/postcss-tape": "*", "puppeteer": "^20.7.4" }, "scripts": { "build": "rollup -c ../../rollup/default.mjs", "docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs", "lint": "node ../../.github/bin/format-package-json.mjs", "prepublishOnly": "npm run build && npm run test", "test": "node .tape.mjs && node ./test/_import.mjs && node ./test/_require.cjs", "test:browser": "node ./test/_browser.mjs", "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs" }, "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/css-prefers-color-scheme#readme", "repository": { "type": "git", "url": "https://github.com/csstools/postcss-plugins.git", "directory": "plugins/css-prefers-color-scheme" }, "bugs": "https://github.com/csstools/postcss-plugins/issues", "keywords": [ "color", "css", "dark", "interface", "light", "media", "mode", "no-preference", "postcss", "postcss-plugin", "prefers", "queries", "query", "scheme" ], "csstools": { "cssdbId": "prefers-color-scheme-query", "exportName": "prefersColorScheme", "humanReadableName": "Prefers Color Scheme", "specUrl": "https://www.w3.org/TR/mediaqueries-5/#prefers-color-scheme" }, "volta": { "extends": "../../package.json" } }