package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "@csstools/postcss-progressive-custom-properties",
  3. "description": "Correctly declare progressive enhancements for CSS Custom Properties.",
  4. "version": "1.3.0",
  5. "author": "Jonathan Neal <jonathantneal@hotmail.com>",
  6. "license": "CC0-1.0",
  7. "engines": {
  8. "node": "^12 || ^14 || >=16"
  9. },
  10. "main": "dist/index.cjs",
  11. "module": "dist/index.mjs",
  12. "types": "dist/index.d.ts",
  13. "exports": {
  14. ".": {
  15. "import": "./dist/index.mjs",
  16. "require": "./dist/index.cjs",
  17. "default": "./dist/index.mjs"
  18. }
  19. },
  20. "files": [
  21. "CHANGELOG.md",
  22. "LICENSE.md",
  23. "README.md",
  24. "dist"
  25. ],
  26. "dependencies": {
  27. "postcss-value-parser": "^4.2.0"
  28. },
  29. "peerDependencies": {
  30. "postcss": "^8.3"
  31. },
  32. "scripts": {
  33. "build": "node ./generate/matchers.mjs && eslint --fix ./src/matchers.ts && rollup -c ../../rollup/default.js",
  34. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  35. "docs": "node ../../.github/bin/generate-docs/install.mjs",
  36. "lint": "npm run lint:eslint && npm run lint:package-json",
  37. "lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  38. "lint:package-json": "node ../../.github/bin/format-package-json.mjs",
  39. "prepublishOnly": "npm run clean && npm run build && npm run test",
  40. "test": "node .tape.mjs && npm run test:exports",
  41. "test:cli": "bash ./test/cli/test.sh",
  42. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
  43. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
  44. },
  45. "repository": {
  46. "type": "git",
  47. "url": "https://github.com/csstools/postcss-plugins.git",
  48. "directory": "plugins/postcss-progressive-custom-properties"
  49. },
  50. "keywords": [
  51. "css",
  52. "custom",
  53. "declarations",
  54. "postcss",
  55. "postcss-plugin",
  56. "progressive",
  57. "properties",
  58. "utility",
  59. "variables",
  60. "vars"
  61. ],
  62. "csstools": {
  63. "exportName": "postcssProgressiveCustomProperties",
  64. "humanReadableName": "PostCSS Progressive Custom Properties"
  65. },
  66. "volta": {
  67. "extends": "../../package.json"
  68. }
  69. }