package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "unist-util-visit-parents",
  3. "version": "6.0.1",
  4. "description": "unist utility to recursively walk over nodes, with ancestral information",
  5. "license": "MIT",
  6. "keywords": [
  7. "unist",
  8. "unist-util",
  9. "util",
  10. "utility",
  11. "tree",
  12. "ast",
  13. "visit",
  14. "traverse",
  15. "walk",
  16. "check",
  17. "parent",
  18. "parents"
  19. ],
  20. "repository": "syntax-tree/unist-util-visit-parents",
  21. "bugs": "https://github.com/syntax-tree/unist-util-visit-parents/issues",
  22. "funding": {
  23. "type": "opencollective",
  24. "url": "https://opencollective.com/unified"
  25. },
  26. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  27. "contributors": [
  28. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  29. ],
  30. "sideEffects": false,
  31. "type": "module",
  32. "exports": {
  33. ".": "./index.js",
  34. "./do-not-use-color": {
  35. "node": "./lib/color.node.js",
  36. "default": "./lib/color.js"
  37. }
  38. },
  39. "types": "index.d.ts",
  40. "files": [
  41. "lib/",
  42. "index.d.ts",
  43. "index.js"
  44. ],
  45. "dependencies": {
  46. "@types/unist": "^3.0.0",
  47. "unist-util-is": "^6.0.0"
  48. },
  49. "devDependencies": {
  50. "@types/hast": "^3.0.0",
  51. "@types/mdast": "^4.0.0",
  52. "@types/node": "^20.0.0",
  53. "@types/xast": "^2.0.0",
  54. "c8": "^8.0.0",
  55. "mdast-util-from-markdown": "^1.0.0",
  56. "mdast-util-gfm": "^2.0.0",
  57. "micromark-extension-gfm": "^2.0.0",
  58. "prettier": "^2.0.0",
  59. "remark-cli": "^11.0.0",
  60. "remark-preset-wooorm": "^9.0.0",
  61. "strip-ansi": "^7.0.0",
  62. "tsd": "^0.28.0",
  63. "type-coverage": "^2.0.0",
  64. "typescript": "^5.0.0",
  65. "xo": "^0.54.0"
  66. },
  67. "scripts": {
  68. "prepack": "npm run build && npm run format",
  69. "build": "tsc --build --clean && tsc --build && tsd && type-coverage",
  70. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  71. "test-api": "node --conditions development test.js",
  72. "test-coverage": "c8 --100 --reporter lcov npm run test-api",
  73. "test": "npm run build && npm run format && npm run test-coverage"
  74. },
  75. "prettier": {
  76. "bracketSpacing": false,
  77. "semi": false,
  78. "singleQuote": true,
  79. "tabWidth": 2,
  80. "trailingComma": "none",
  81. "useTabs": false
  82. },
  83. "remarkConfig": {
  84. "plugins": [
  85. "remark-preset-wooorm"
  86. ]
  87. },
  88. "typeCoverage": {
  89. "atLeast": 100,
  90. "detail": true,
  91. "#": "needed `any`s",
  92. "ignoreFiles": [
  93. "lib/index.d.ts"
  94. ],
  95. "ignoreCatch": true,
  96. "strict": true
  97. },
  98. "xo": {
  99. "prettier": true
  100. }
  101. }