[6a3a178] | 1 | {
|
---|
| 2 | "name": "css-prefers-color-scheme",
|
---|
| 3 | "version": "3.1.1",
|
---|
| 4 | "description": "Use light and dark color schemes in all browsers",
|
---|
| 5 | "author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
---|
| 6 | "license": "CC0-1.0",
|
---|
| 7 | "repository": "csstools/css-prefers-color-scheme",
|
---|
| 8 | "homepage": "https://github.com/csstools/css-prefers-color-scheme#readme",
|
---|
| 9 | "bugs": "https://github.com/csstools/css-prefers-color-scheme/issues",
|
---|
| 10 | "main": "index.js",
|
---|
| 11 | "module": "index.mjs",
|
---|
| 12 | "bin": {
|
---|
| 13 | "css-prefers-color-scheme": "cli.js"
|
---|
| 14 | },
|
---|
| 15 | "files": [
|
---|
| 16 | "browser.js",
|
---|
| 17 | "browser.js.map",
|
---|
| 18 | "browser.min.js",
|
---|
| 19 | "cli.js",
|
---|
| 20 | "index.mjs",
|
---|
| 21 | "index.mjs.map",
|
---|
| 22 | "index.js",
|
---|
| 23 | "index.js.map",
|
---|
| 24 | "postcss.js",
|
---|
| 25 | "postcss.mjs"
|
---|
| 26 | ],
|
---|
| 27 | "scripts": {
|
---|
| 28 | "build": "npm run build:browser && npm run build:node && npm run build:postcss",
|
---|
| 29 | "build:browser": "npm run build:browser:dist && npm run build:browser:min",
|
---|
| 30 | "build:browser:dist": "cross-env NODE_ENV=browser rollup -c .rollup.js --silent",
|
---|
| 31 | "build:browser:min": "cross-env NODE_ENV=browser:min rollup -c .rollup.js --silent",
|
---|
| 32 | "build:node": "rollup -c .rollup.js --silent",
|
---|
| 33 | "build:postcss": "cross-env NODE_ENV=postcss rollup -c .rollup.js --silent",
|
---|
| 34 | "prepublishOnly": "npm test",
|
---|
| 35 | "pretest": "npm run build",
|
---|
| 36 | "test": "npm run test:js && npm run test:tape",
|
---|
| 37 | "test:js": "eslint src/*.js --cache --ignore-path .gitignore --quiet",
|
---|
| 38 | "test:tape": "postcss-tape --plugin=postcss.js"
|
---|
| 39 | },
|
---|
| 40 | "engines": {
|
---|
| 41 | "node": ">=6.0.0"
|
---|
| 42 | },
|
---|
| 43 | "dependencies": {
|
---|
| 44 | "postcss": "^7.0.5"
|
---|
| 45 | },
|
---|
| 46 | "devDependencies": {
|
---|
| 47 | "@babel/core": "^7.1.5",
|
---|
| 48 | "@babel/preset-env": "^7.1.5",
|
---|
| 49 | "babel-eslint": "^10.0.1",
|
---|
| 50 | "cross-env": "^5.2.0",
|
---|
| 51 | "eslint": "^5.9.0",
|
---|
| 52 | "eslint-config-dev": "^2.0.0",
|
---|
| 53 | "get-stdin": "^6.0.0",
|
---|
| 54 | "postcss-tape": "^2.2.0",
|
---|
| 55 | "pre-commit": "^1.2.2",
|
---|
| 56 | "rollup": "^0.67.0",
|
---|
| 57 | "rollup-plugin-babel": "^4.0.3",
|
---|
| 58 | "rollup-plugin-terser": "^3.0.0",
|
---|
| 59 | "uglify-js": "^3.4.9"
|
---|
| 60 | },
|
---|
| 61 | "eslintConfig": {
|
---|
| 62 | "extends": "dev",
|
---|
| 63 | "parser": "babel-eslint"
|
---|
| 64 | },
|
---|
| 65 | "keywords": [
|
---|
| 66 | "postcss",
|
---|
| 67 | "css",
|
---|
| 68 | "postcss-plugin",
|
---|
| 69 | "media",
|
---|
| 70 | "query",
|
---|
| 71 | "prefers",
|
---|
| 72 | "color",
|
---|
| 73 | "scheme",
|
---|
| 74 | "dark",
|
---|
| 75 | "light",
|
---|
| 76 | "no-preference",
|
---|
| 77 | "mode",
|
---|
| 78 | "queries",
|
---|
| 79 | "interface"
|
---|
| 80 | ]
|
---|
| 81 | }
|
---|