package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "_from": "css-prefers-color-scheme@^3.1.1",
  3. "_id": "css-prefers-color-scheme@3.1.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-MTu6+tMs9S3EUqzmqLXEcgNRbNkkD/TGFvowpeoWJn5Vfq7FMgsmRQs9X5NXAURiOBmOxm/lLjsDNXDE6k9bhg==",
  6. "_location": "/css-prefers-color-scheme",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "css-prefers-color-scheme@^3.1.1",
  12. "name": "css-prefers-color-scheme",
  13. "escapedName": "css-prefers-color-scheme",
  14. "rawSpec": "^3.1.1",
  15. "saveSpec": null,
  16. "fetchSpec": "^3.1.1"
  17. },
  18. "_requiredBy": [
  19. "/postcss-preset-env"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/css-prefers-color-scheme/-/css-prefers-color-scheme-3.1.1.tgz",
  22. "_shasum": "6f830a2714199d4f0d0d0bb8a27916ed65cff1f4",
  23. "_spec": "css-prefers-color-scheme@^3.1.1",
  24. "_where": "H:\\gs_nuxt\\node_modules\\postcss-preset-env",
  25. "author": {
  26. "name": "Jonathan Neal",
  27. "email": "jonathantneal@hotmail.com"
  28. },
  29. "bin": {
  30. "css-prefers-color-scheme": "cli.js"
  31. },
  32. "bugs": {
  33. "url": "https://github.com/csstools/css-prefers-color-scheme/issues"
  34. },
  35. "bundleDependencies": false,
  36. "dependencies": {
  37. "postcss": "^7.0.5"
  38. },
  39. "deprecated": false,
  40. "description": "Use light and dark color schemes in all browsers",
  41. "devDependencies": {
  42. "@babel/core": "^7.1.5",
  43. "@babel/preset-env": "^7.1.5",
  44. "babel-eslint": "^10.0.1",
  45. "cross-env": "^5.2.0",
  46. "eslint": "^5.9.0",
  47. "eslint-config-dev": "^2.0.0",
  48. "get-stdin": "^6.0.0",
  49. "postcss-tape": "^2.2.0",
  50. "pre-commit": "^1.2.2",
  51. "rollup": "^0.67.0",
  52. "rollup-plugin-babel": "^4.0.3",
  53. "rollup-plugin-terser": "^3.0.0",
  54. "uglify-js": "^3.4.9"
  55. },
  56. "engines": {
  57. "node": ">=6.0.0"
  58. },
  59. "eslintConfig": {
  60. "extends": "dev",
  61. "parser": "babel-eslint"
  62. },
  63. "files": [
  64. "browser.js",
  65. "browser.js.map",
  66. "browser.min.js",
  67. "cli.js",
  68. "index.mjs",
  69. "index.mjs.map",
  70. "index.js",
  71. "index.js.map",
  72. "postcss.js",
  73. "postcss.mjs"
  74. ],
  75. "homepage": "https://github.com/csstools/css-prefers-color-scheme#readme",
  76. "keywords": [
  77. "postcss",
  78. "css",
  79. "postcss-plugin",
  80. "media",
  81. "query",
  82. "prefers",
  83. "color",
  84. "scheme",
  85. "dark",
  86. "light",
  87. "no-preference",
  88. "mode",
  89. "queries",
  90. "interface"
  91. ],
  92. "license": "CC0-1.0",
  93. "main": "index.js",
  94. "module": "index.mjs",
  95. "name": "css-prefers-color-scheme",
  96. "repository": {
  97. "type": "git",
  98. "url": "git+https://github.com/csstools/css-prefers-color-scheme.git"
  99. },
  100. "scripts": {
  101. "build": "npm run build:browser && npm run build:node && npm run build:postcss",
  102. "build:browser": "npm run build:browser:dist && npm run build:browser:min",
  103. "build:browser:dist": "cross-env NODE_ENV=browser rollup -c .rollup.js --silent",
  104. "build:browser:min": "cross-env NODE_ENV=browser:min rollup -c .rollup.js --silent",
  105. "build:node": "rollup -c .rollup.js --silent",
  106. "build:postcss": "cross-env NODE_ENV=postcss rollup -c .rollup.js --silent",
  107. "prepublishOnly": "npm test",
  108. "pretest": "npm run build",
  109. "test": "npm run test:js && npm run test:tape",
  110. "test:js": "eslint src/*.js --cache --ignore-path .gitignore --quiet",
  111. "test:tape": "postcss-tape --plugin=postcss.js"
  112. },
  113. "version": "3.1.1"
  114. }