package.json 1.9 KB

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