package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "mdast-util-phrasing",
  3. "version": "4.1.0",
  4. "description": "mdast utility to check if a node is phrasing content",
  5. "license": "MIT",
  6. "keywords": [
  7. "unist",
  8. "mdast",
  9. "mdast=util",
  10. "util",
  11. "utility",
  12. "markdown",
  13. "phrasing"
  14. ],
  15. "repository": "syntax-tree/mdast-util-phrasing",
  16. "bugs": "https://github.com/syntax-tree/mdast-util-phrasing/issues",
  17. "funding": {
  18. "type": "opencollective",
  19. "url": "https://opencollective.com/unified"
  20. },
  21. "author": "Victor Felder <victor@draft.li> (https://draft.li)",
  22. "contributors": [
  23. "Victor Felder <victor@draft.li> (https://draft.li)",
  24. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  25. ],
  26. "sideEffects": false,
  27. "type": "module",
  28. "exports": "./index.js",
  29. "files": [
  30. "lib/",
  31. "index.d.ts",
  32. "index.js"
  33. ],
  34. "dependencies": {
  35. "@types/mdast": "^4.0.0",
  36. "unist-util-is": "^6.0.0"
  37. },
  38. "devDependencies": {
  39. "@types/node": "^20.0.0",
  40. "c8": "^9.0.0",
  41. "prettier": "^3.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.56.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 --log-level 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. }