package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "postcss-custom-properties",
  3. "description": "Use Custom Properties Queries in CSS",
  4. "version": "12.1.11",
  5. "author": "Jonathan Neal <jonathantneal@hotmail.com>",
  6. "contributors": [
  7. "Maxime Thirouin"
  8. ],
  9. "license": "MIT",
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/csstools"
  13. },
  14. "engines": {
  15. "node": "^12 || ^14 || >=16"
  16. },
  17. "main": "dist/index.cjs",
  18. "module": "dist/index.mjs",
  19. "types": "dist/index.d.ts",
  20. "exports": {
  21. ".": {
  22. "import": "./dist/index.mjs",
  23. "require": "./dist/index.cjs",
  24. "default": "./dist/index.mjs"
  25. }
  26. },
  27. "files": [
  28. "CHANGELOG.md",
  29. "LICENSE.md",
  30. "README.md",
  31. "dist",
  32. "index.d.ts"
  33. ],
  34. "dependencies": {
  35. "postcss-value-parser": "^4.2.0"
  36. },
  37. "peerDependencies": {
  38. "postcss": "^8.2"
  39. },
  40. "devDependencies": {
  41. "postcss-import": "^15.0.0"
  42. },
  43. "scripts": {
  44. "build": "rollup -c ../../rollup/default.js",
  45. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  46. "docs": "node ../../.github/bin/generate-docs/install.mjs",
  47. "lint": "npm run lint:eslint && npm run lint:package-json",
  48. "lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  49. "lint:package-json": "node ../../.github/bin/format-package-json.mjs",
  50. "prepublishOnly": "npm run clean && npm run build && npm run test",
  51. "test": "node .tape.mjs && node .tape.cjs && npm run test:exports",
  52. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
  53. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
  54. },
  55. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-properties#readme",
  56. "repository": {
  57. "type": "git",
  58. "url": "https://github.com/csstools/postcss-plugins.git",
  59. "directory": "plugins/postcss-custom-properties"
  60. },
  61. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  62. "keywords": [
  63. "css",
  64. "csswg",
  65. "custom",
  66. "declarations",
  67. "postcss",
  68. "postcss-plugin",
  69. "properties",
  70. "specification",
  71. "variables",
  72. "vars",
  73. "w3c"
  74. ],
  75. "csstools": {
  76. "exportName": "postcssCustomProperties",
  77. "humanReadableName": "PostCSS Custom Properties"
  78. },
  79. "volta": {
  80. "extends": "../../package.json"
  81. }
  82. }