package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "css-blank-pseudo",
  3. "version": "3.0.3",
  4. "description": "Style form elements when they are empty",
  5. "author": "Jonathan Neal <jonathantneal@hotmail.com>",
  6. "license": "CC0-1.0",
  7. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/css-blank-pseudo#readme",
  8. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  9. "main": "dist/index.cjs",
  10. "module": "dist/index.mjs",
  11. "exports": {
  12. ".": {
  13. "import": "./dist/index.mjs",
  14. "require": "./dist/index.cjs",
  15. "default": "./dist/index.mjs"
  16. },
  17. "./browser": {
  18. "import": "./dist/browser.mjs",
  19. "require": "./dist/browser.cjs",
  20. "default": "./dist/browser.mjs"
  21. },
  22. "./browser-global": {
  23. "default": "./dist/browser-global.js"
  24. }
  25. },
  26. "files": [
  27. "CHANGELOG.md",
  28. "LICENSE.md",
  29. "README.md",
  30. "dist",
  31. "browser.js"
  32. ],
  33. "bin": {
  34. "css-blank-pseudo": "dist/cli.cjs"
  35. },
  36. "scripts": {
  37. "build": "rollup -c ../../rollup/default.js && npm run copy-browser-scripts-to-old-location",
  38. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  39. "copy-browser-scripts-to-old-location": "node -e \"fs.copyFileSync('./dist/browser-global.js', './browser.js'); fs.copyFileSync('./dist/browser-global.js', './browser-legacy.js')\"",
  40. "lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  41. "prepublishOnly": "npm run clean && npm run build && npm run test",
  42. "stryker": "stryker run --logLevel error",
  43. "test": "node .tape.mjs && npm run test:exports",
  44. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs",
  45. "cli": "css-blank-pseudo",
  46. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs"
  47. },
  48. "engines": {
  49. "node": "^12 || ^14 || >=16"
  50. },
  51. "dependencies": {
  52. "postcss-selector-parser": "^6.0.9"
  53. },
  54. "peerDependencies": {
  55. "postcss": "^8.4"
  56. },
  57. "keywords": [
  58. "postcss",
  59. "css",
  60. "postcss-plugin",
  61. "javascript",
  62. "js",
  63. "polyfill",
  64. "blank",
  65. "empty",
  66. "pseudo",
  67. "selectors",
  68. "accessibility",
  69. "a11y",
  70. "input",
  71. "select",
  72. "textarea"
  73. ],
  74. "repository": {
  75. "type": "git",
  76. "url": "https://github.com/csstools/postcss-plugins.git",
  77. "directory": "plugins/css-blank-pseudo"
  78. },
  79. "volta": {
  80. "extends": "../../package.json"
  81. }
  82. }