package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "@csstools/postcss-font-format-keywords",
  3. "description": "Use unquoted format on @font-face CSS definitions.",
  4. "version": "1.0.1",
  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. "postcss-value-parser": "^4.2.0"
  32. },
  33. "peerDependencies": {
  34. "postcss": "^8.2"
  35. },
  36. "scripts": {
  37. "build": "rollup -c ../../rollup/default.js",
  38. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  39. "docs": "node ../../.github/bin/generate-docs/install.mjs",
  40. "lint": "npm run lint:eslint && npm run lint:package-json",
  41. "lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  42. "lint:package-json": "node ../../.github/bin/format-package-json.mjs",
  43. "prepublishOnly": "npm run clean && npm run build && npm run test",
  44. "test": "node .tape.mjs && npm run test:exports",
  45. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
  46. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
  47. },
  48. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-font-format-keywords#readme",
  49. "repository": {
  50. "type": "git",
  51. "url": "https://github.com/csstools/postcss-plugins.git",
  52. "directory": "plugins/postcss-font-format-keywords"
  53. },
  54. "keywords": [
  55. "css",
  56. "embedded-opentype",
  57. "font",
  58. "font-format-keywords",
  59. "format",
  60. "opentype",
  61. "postcss-plugin",
  62. "truetype",
  63. "woff",
  64. "woff2"
  65. ],
  66. "csstools": {
  67. "exportName": "postcssFontFormatKeywords",
  68. "humanReadableName": "PostCSS Font Format Keywords"
  69. },
  70. "volta": {
  71. "extends": "../../package.json"
  72. }
  73. }