package.json 2.0 KB

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