package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "postcss-nesting",
  3. "description": "Nest rules inside each other in CSS",
  4. "version": "10.2.0",
  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. "jsdelivr": "dist/index.mjs",
  18. "unpkg": "dist/index.mjs",
  19. "exports": {
  20. ".": {
  21. "import": "./dist/index.mjs",
  22. "require": "./dist/index.cjs",
  23. "default": "./dist/index.mjs"
  24. }
  25. },
  26. "files": [
  27. "dist",
  28. "mod.js"
  29. ],
  30. "dependencies": {
  31. "@csstools/selector-specificity": "^2.0.0",
  32. "postcss-selector-parser": "^6.0.10"
  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:deno": "deno run --unstable --allow-env --allow-read test/deno/test.js",
  47. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
  48. "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
  49. },
  50. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nesting#readme",
  51. "repository": {
  52. "type": "git",
  53. "url": "https://github.com/csstools/postcss-plugins.git",
  54. "directory": "plugins/postcss-nesting"
  55. },
  56. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  57. "keywords": [
  58. "atrules",
  59. "child",
  60. "children",
  61. "css",
  62. "cssnext",
  63. "csswg",
  64. "nested",
  65. "nestings",
  66. "postcss",
  67. "postcss-plugin",
  68. "rules",
  69. "selectors",
  70. "specifications",
  71. "specs",
  72. "syntax",
  73. "w3c"
  74. ],
  75. "csstools": {
  76. "exportName": "postcssNesting",
  77. "humanReadableName": "PostCSS Nesting"
  78. },
  79. "volta": {
  80. "extends": "../../package.json"
  81. }
  82. }