package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "@csstools/postcss-stepped-value-functions",
  3. "description": "Use round, rem and mod functions in CSS",
  4. "version": "1.0.1",
  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-stepped-value-functions#readme",
  59. "repository": {
  60. "type": "git",
  61. "url": "https://github.com/csstools/postcss-plugins.git",
  62. "directory": "plugins/postcss-stepped-value-functions"
  63. },
  64. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  65. "keywords": [
  66. "css",
  67. "modulus",
  68. "postcss-plugin",
  69. "remainder",
  70. "round",
  71. "stepped"
  72. ],
  73. "csstools": {
  74. "cssdbId": "stepped-value-functions",
  75. "exportName": "postcssSteppedValueFunctions",
  76. "humanReadableName": "PostCSS Stepped Value Functions",
  77. "specUrl": "https://www.w3.org/TR/css-values-4/#round-func"
  78. },
  79. "volta": {
  80. "extends": "../../package.json"
  81. }
  82. }