package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "postcss-custom-selectors",
  3. "description": "Use Custom Selectors in CSS",
  4. "version": "6.0.3",
  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. "name": "yisi"
  24. }
  25. ],
  26. "license": "MIT",
  27. "funding": {
  28. "type": "opencollective",
  29. "url": "https://opencollective.com/csstools"
  30. },
  31. "engines": {
  32. "node": "^12 || ^14 || >=16"
  33. },
  34. "main": "dist/index.cjs",
  35. "module": "dist/index.mjs",
  36. "exports": {
  37. ".": {
  38. "import": "./dist/index.mjs",
  39. "require": "./dist/index.cjs",
  40. "default": "./dist/index.mjs"
  41. }
  42. },
  43. "files": [
  44. "CHANGELOG.md",
  45. "LICENSE.md",
  46. "README.md",
  47. "dist"
  48. ],
  49. "dependencies": {
  50. "postcss-selector-parser": "^6.0.4"
  51. },
  52. "peerDependencies": {
  53. "postcss": "^8.3"
  54. },
  55. "scripts": {
  56. "build": "rollup -c ../../rollup/default.js",
  57. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  58. "docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs",
  59. "lint": "npm run lint:eslint && npm run lint:package-json",
  60. "lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  61. "lint:package-json": "node ../../.github/bin/format-package-json.mjs",
  62. "prepublishOnly": "npm run clean && npm run build && npm run test",
  63. "test": "node .tape.cjs && node .tape.mjs && npm run test:exports",
  64. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
  65. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs && REWRITE_EXPECTS=true node .tape.cjs"
  66. },
  67. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-selectors#readme",
  68. "repository": {
  69. "type": "git",
  70. "url": "https://github.com/csstools/postcss-plugins.git",
  71. "directory": "plugins/postcss-custom-selectors"
  72. },
  73. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  74. "keywords": [
  75. "at-rule",
  76. "atrule",
  77. "css",
  78. "csswg",
  79. "custom",
  80. "declarative",
  81. "extensions",
  82. "postcss",
  83. "postcss-plugin",
  84. "rule",
  85. "selectors",
  86. "specification",
  87. "w3c"
  88. ],
  89. "csstools": {
  90. "cssdbId": "custom-selectors",
  91. "exportName": "postcssCustomSelectors",
  92. "humanReadableName": "PostCSS Custom Selectors",
  93. "specUrl": "https://drafts.csswg.org/css-extensions/#custom-selectors"
  94. },
  95. "volta": {
  96. "extends": "../../package.json"
  97. }
  98. }