package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "@csstools/postcss-nested-calc",
  3. "description": "Use nested calc() expressions in CSS",
  4. "version": "1.0.0",
  5. "contributors": [
  6. {
  7. "name": "Antonio Laguna",
  8. "email": "antonio@laguna.es",
  9. "url": "https://antonio.laguna.es"
  10. },
  11. {
  12. "name": "Romain Menke",
  13. "email": "romainmenke@gmail.com"
  14. }
  15. ],
  16. "license": "CC0-1.0",
  17. "funding": {
  18. "type": "opencollective",
  19. "url": "https://opencollective.com/csstools"
  20. },
  21. "engines": {
  22. "node": "^12 || ^14 || >=16"
  23. },
  24. "main": "dist/index.cjs",
  25. "module": "dist/index.mjs",
  26. "types": "dist/index.d.ts",
  27. "exports": {
  28. ".": {
  29. "import": "./dist/index.mjs",
  30. "require": "./dist/index.cjs",
  31. "default": "./dist/index.mjs"
  32. }
  33. },
  34. "files": [
  35. "CHANGELOG.md",
  36. "LICENSE.md",
  37. "README.md",
  38. "dist"
  39. ],
  40. "dependencies": {
  41. "postcss-value-parser": "^4.2.0"
  42. },
  43. "peerDependencies": {
  44. "postcss": "^8.2"
  45. },
  46. "scripts": {
  47. "build": "rollup -c ../../rollup/default.js",
  48. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  49. "docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs",
  50. "lint": "npm run lint:eslint && npm run lint:package-json",
  51. "lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  52. "lint:package-json": "node ../../.github/bin/format-package-json.mjs",
  53. "prepublishOnly": "npm run clean && npm run build && npm run test",
  54. "test": "node .tape.mjs && npm run test:exports",
  55. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
  56. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
  57. },
  58. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nested-calc#readme",
  59. "repository": {
  60. "type": "git",
  61. "url": "https://github.com/csstools/postcss-plugins.git",
  62. "directory": "plugins/postcss-nested-calc"
  63. },
  64. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  65. "keywords": [
  66. "calc",
  67. "css",
  68. "math",
  69. "nested",
  70. "postcss-plugin"
  71. ],
  72. "csstools": {
  73. "cssdbId": "nested-calc",
  74. "exportName": "postcssNestedCalc",
  75. "humanReadableName": "PostCSS Nested Calc",
  76. "specUrl": "https://www.w3.org/TR/css-values/#calc-func"
  77. },
  78. "volta": {
  79. "extends": "../../package.json"
  80. }
  81. }