package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "@csstools/postcss-is-pseudo-class",
  3. "description": "A pseudo-class for matching elements in a selector list",
  4. "version": "2.0.7",
  5. "author": "Jonathan Neal <jonathantneal@hotmail.com>",
  6. "license": "CC0-1.0",
  7. "funding": {
  8. "type": "opencollective",
  9. "url": "https://opencollective.com/csstools"
  10. },
  11. "engines": {
  12. "node": "^12 || ^14 || >=16"
  13. },
  14. "main": "dist/index.cjs",
  15. "module": "dist/index.mjs",
  16. "types": "dist/index.d.ts",
  17. "exports": {
  18. ".": {
  19. "import": "./dist/index.mjs",
  20. "require": "./dist/index.cjs",
  21. "default": "./dist/index.mjs"
  22. }
  23. },
  24. "files": [
  25. "CHANGELOG.md",
  26. "LICENSE.md",
  27. "README.md",
  28. "dist"
  29. ],
  30. "dependencies": {
  31. "@csstools/selector-specificity": "^2.0.0",
  32. "postcss-selector-parser": "^6.0.10"
  33. },
  34. "peerDependencies": {
  35. "postcss": "^8.2"
  36. },
  37. "devDependencies": {
  38. "puppeteer": "^15.1.1"
  39. },
  40. "scripts": {
  41. "build": "rollup -c ../../rollup/default.js",
  42. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  43. "docs": "node ../../.github/bin/generate-docs/install.mjs",
  44. "lint": "npm run lint:eslint && npm run lint:package-json",
  45. "lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  46. "lint:package-json": "node ../../.github/bin/format-package-json.mjs",
  47. "prepublishOnly": "npm run clean && npm run build && npm run test",
  48. "stryker": "stryker run --logLevel error",
  49. "test": "node .tape.mjs && npm run test:exports",
  50. "test:browser": "node ./test/_browser.mjs",
  51. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
  52. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
  53. },
  54. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-is-pseudo-class#readme",
  55. "repository": {
  56. "type": "git",
  57. "url": "https://github.com/csstools/postcss-plugins.git",
  58. "directory": "plugins/postcss-is-pseudo-class"
  59. },
  60. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  61. "keywords": [
  62. "css",
  63. "is",
  64. "matches",
  65. "polyfill",
  66. "postcss",
  67. "postcss-plugin",
  68. "pseudo",
  69. "selector"
  70. ],
  71. "csstools": {
  72. "exportName": "postcssIsPseudoClass",
  73. "humanReadableName": "PostCSS Is Pseudo"
  74. },
  75. "volta": {
  76. "extends": "../../package.json"
  77. }
  78. }