package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "postcss-lab-function",
  3. "description": "Use lab() and lch() color functions in CSS",
  4. "version": "4.2.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. "@csstools/postcss-progressive-custom-properties": "^1.1.0",
  32. "postcss-value-parser": "^4.2.0"
  33. },
  34. "peerDependencies": {
  35. "postcss": "^8.2"
  36. },
  37. "scripts": {
  38. "build": "rollup -c ../../rollup/default.js",
  39. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  40. "docs": "node ../../.github/bin/generate-docs/install.mjs",
  41. "lint": "npm run lint:eslint && npm run lint:package-json",
  42. "lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  43. "lint:package-json": "node ../../.github/bin/format-package-json.mjs",
  44. "prepublishOnly": "npm run clean && npm run build && npm run test",
  45. "test": "node .tape.mjs && npm run test:exports",
  46. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
  47. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
  48. },
  49. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-lab-function#readme",
  50. "repository": {
  51. "type": "git",
  52. "url": "https://github.com/csstools/postcss-plugins.git",
  53. "directory": "plugins/postcss-lab-function"
  54. },
  55. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  56. "keywords": [
  57. "color",
  58. "colors",
  59. "comma",
  60. "css",
  61. "design",
  62. "functional",
  63. "lab",
  64. "lch",
  65. "notation",
  66. "postcss",
  67. "postcss-plugin",
  68. "rgb",
  69. "rgba",
  70. "space",
  71. "syntax"
  72. ],
  73. "csstools": {
  74. "cssdb": "lab-function",
  75. "exportName": "postcssLabFunction",
  76. "humanReadableName": "PostCSS Lab Function"
  77. },
  78. "volta": {
  79. "extends": "../../package.json"
  80. }
  81. }