package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "postcss-env-function",
  3. "description": "Use env() variables in CSS",
  4. "version": "4.0.6",
  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. "exports": {
  13. ".": {
  14. "import": "./dist/index.mjs",
  15. "require": "./dist/index.cjs",
  16. "default": "./dist/index.mjs"
  17. }
  18. },
  19. "files": [
  20. "CHANGELOG.md",
  21. "LICENSE.md",
  22. "README.md",
  23. "dist"
  24. ],
  25. "dependencies": {
  26. "postcss-value-parser": "^4.2.0"
  27. },
  28. "peerDependencies": {
  29. "postcss": "^8.4"
  30. },
  31. "scripts": {
  32. "build": "rollup -c ../../rollup/default.js",
  33. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  34. "docs": "node ../../.github/bin/generate-docs/install.mjs",
  35. "lint": "npm run lint:eslint && npm run lint:package-json",
  36. "lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  37. "lint:package-json": "node ../../.github/bin/format-package-json.mjs",
  38. "prepublishOnly": "npm run clean && npm run build && npm run test",
  39. "test": "node .tape.cjs && npm run test:exports",
  40. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
  41. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.cjs"
  42. },
  43. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function#readme",
  44. "repository": {
  45. "type": "git",
  46. "url": "https://github.com/csstools/postcss-plugins.git",
  47. "directory": "plugins/postcss-env-function"
  48. },
  49. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  50. "keywords": [
  51. "constants",
  52. "css",
  53. "environments",
  54. "envs",
  55. "functions",
  56. "postcss",
  57. "postcss-plugin",
  58. "variables"
  59. ],
  60. "csstools": {
  61. "exportName": "postcssEnvFunction",
  62. "humanReadableName": "PostCSS Environment Variables"
  63. },
  64. "volta": {
  65. "extends": "../../package.json"
  66. }
  67. }