package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "postcss-nesting",
  3. "description": "Nest rules inside each other in CSS",
  4. "license": "CC0-1.0",
  5. "version": "10.1.2",
  6. "author": "Jonathan Neal <jonathantneal@hotmail.com>",
  7. "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nesting#readme",
  8. "bugs": "https://github.com/csstools/postcss-plugins/issues",
  9. "publishConfig": {
  10. "access": "public"
  11. },
  12. "main": "dist/index.cjs",
  13. "module": "dist/index.mjs",
  14. "jsdelivr": "dist/index.mjs",
  15. "unpkg": "dist/index.mjs",
  16. "exports": {
  17. ".": {
  18. "import": "./dist/index.mjs",
  19. "require": "./dist/index.cjs",
  20. "default": "./dist/index.mjs"
  21. }
  22. },
  23. "files": [
  24. "dist",
  25. "mod.js"
  26. ],
  27. "scripts": {
  28. "build": "rollup -c ../../rollup/default.js",
  29. "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
  30. "lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
  31. "prepublishOnly": "npm run clean && npm run build && npm run test",
  32. "stryker": "stryker run --logLevel error",
  33. "test": "postcss-tape --ci && npm run test:exports",
  34. "test:deno": "deno run --unstable --allow-env --allow-read test/deno/test.js",
  35. "test:exports": "node ./test/_import.mjs && node ./test/_require.cjs"
  36. },
  37. "engines": {
  38. "node": "^12 || ^14 || >=16"
  39. },
  40. "dependencies": {
  41. "postcss-selector-parser": "^6.0.8"
  42. },
  43. "devDependencies": {
  44. "postcss": "^8.3.6",
  45. "postcss-tape": "^6.0.1"
  46. },
  47. "peerDependencies": {
  48. "postcss": "^8.3"
  49. },
  50. "keywords": [
  51. "postcss",
  52. "postcss-plugin",
  53. "css",
  54. "atrules",
  55. "child",
  56. "children",
  57. "cssnext",
  58. "nested",
  59. "nestings",
  60. "rules",
  61. "selectors",
  62. "syntax",
  63. "specifications",
  64. "specs",
  65. "w3c",
  66. "csswg"
  67. ],
  68. "repository": {
  69. "type": "git",
  70. "url": "https://github.com/csstools/postcss-plugins.git",
  71. "directory": "plugins/postcss-nesting"
  72. },
  73. "volta": {
  74. "extends": "../../package.json"
  75. }
  76. }