package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "postcss-custom-media",
  3. "description": "Use Custom Media Queries in CSS",
  4. "version": "8.0.2",
  5. "contributors": [
  6. {
  7. "name": "Antonio Laguna",
  8. "email": "antonio@laguna.es",
  9. "url": "https://antonio.laguna.es"
  10. },
  11. {
  12. "name": "Romain Menke",
  13. "email": "romainmenke@gmail.com"
  14. },
  15. {
  16. "name": "Jonathan Neal",
  17. "email": "jonathantneal@hotmail.com"
  18. },
  19. {
  20. "name": "Maxime Thirouin"
  21. }
  22. ],
  23. "license": "MIT",
  24. "funding": {
  25. "type": "opencollective",
  26. "url": "https://opencollective.com/csstools"
  27. },
  28. "engines": {
  29. "node": "^12 || ^14 || >=16"
  30. },
  31. "main": "dist/index.cjs",
  32. "module": "dist/index.mjs",
  33. "types": "dist/index.d.ts",
  34. "exports": {
  35. ".": {
  36. "import": "./dist/index.mjs",
  37. "require": "./dist/index.cjs",
  38. "default": "./dist/index.mjs"
  39. }
  40. },
  41. "files": [
  42. "CHANGELOG.md",
  43. "LICENSE.md",
  44. "README.md",
  45. "dist"
  46. ],
  47. "dependencies": {
  48. "postcss-value-parser": "^4.2.0"
  49. },
  50. "peerDependencies": {
  51. "postcss": "^8.3"
  52. },
  53. "scripts": {
  54. "build": "rollup -c ../../rollup/default.js",
  55. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  56. "docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs",
  57. "lint": "npm run lint:eslint && npm run lint:package-json",
  58. "lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  59. "lint:package-json": "node ../../.github/bin/format-package-json.mjs",
  60. "prepublishOnly": "npm run clean && npm run build && npm run test",
  61. "test": "node .tape.cjs && npm run test:exports",
  62. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
  63. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.cjs"
  64. },
  65. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-media#readme",
  66. "repository": {
  67. "type": "git",
  68. "url": "https://github.com/csstools/postcss-plugins.git",
  69. "directory": "plugins/postcss-custom-media"
  70. },
  71. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  72. "keywords": [
  73. "at-rule",
  74. "atrule",
  75. "css",
  76. "csswg",
  77. "custom",
  78. "media",
  79. "postcss",
  80. "postcss-plugin",
  81. "queries",
  82. "query",
  83. "specification",
  84. "w3c"
  85. ],
  86. "csstools": {
  87. "cssdbId": "custom-media-queries",
  88. "exportName": "postcssCustomMedia",
  89. "humanReadableName": "PostCSS Custom Media",
  90. "specUrl": "https://www.w3.org/TR/mediaqueries-5/#at-ruledef-custom-media"
  91. },
  92. "volta": {
  93. "extends": "../../package.json"
  94. }
  95. }