package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "postcss-focus-within",
  3. "version": "5.0.4",
  4. "description": "Use the :focus-within pseudo-selector in CSS",
  5. "author": "Jonathan Neal <jonathantneal@hotmail.com>",
  6. "license": "CC0-1.0",
  7. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme",
  8. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  9. "main": "dist/index.cjs",
  10. "module": "dist/index.mjs",
  11. "types": "dist/index.d.ts",
  12. "exports": {
  13. ".": {
  14. "import": "./dist/index.mjs",
  15. "require": "./dist/index.cjs",
  16. "default": "./dist/index.mjs"
  17. }
  18. },
  19. "files": [
  20. "CHANGELOG.md",
  21. "LICENSE.md",
  22. "README.md",
  23. "dist"
  24. ],
  25. "scripts": {
  26. "build": "rollup -c ../../rollup/default.js",
  27. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  28. "lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  29. "prepublishOnly": "npm run clean && npm run build && npm run test",
  30. "stryker": "stryker run --logLevel error",
  31. "test": "postcss-tape --ci && npm run test:exports",
  32. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs"
  33. },
  34. "engines": {
  35. "node": "^12 || ^14 || >=16"
  36. },
  37. "dependencies": {
  38. "postcss-selector-parser": "^6.0.9"
  39. },
  40. "devDependencies": {
  41. "postcss": "^8.3.6",
  42. "postcss-tape": "^6.0.1"
  43. },
  44. "peerDependencies": {
  45. "postcss": "^8.4"
  46. },
  47. "keywords": [
  48. "postcss",
  49. "css",
  50. "postcss-plugin",
  51. "focus",
  52. "within",
  53. "polyfill",
  54. "pseudos",
  55. "selectors",
  56. "accessibility",
  57. "a11y",
  58. "descendants",
  59. "ancestors"
  60. ],
  61. "repository": {
  62. "type": "git",
  63. "url": "https://github.com/csstools/postcss-plugins.git",
  64. "directory": "plugins/postcss-focus-within"
  65. },
  66. "volta": {
  67. "extends": "../../package.json"
  68. }
  69. }