package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "name": "vfile",
  3. "version": "6.0.1",
  4. "description": "Virtual file format for text processing",
  5. "license": "MIT",
  6. "keywords": [
  7. "vfile",
  8. "virtual",
  9. "file",
  10. "text",
  11. "processing",
  12. "message",
  13. "warning",
  14. "error",
  15. "remark",
  16. "retext",
  17. "rehype"
  18. ],
  19. "repository": "vfile/vfile",
  20. "bugs": "https://github.com/vfile/vfile/issues",
  21. "funding": {
  22. "type": "opencollective",
  23. "url": "https://opencollective.com/unified"
  24. },
  25. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  26. "contributors": [
  27. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  28. "Brendan Abbott <brendan.abbott@temando.com>",
  29. "Denys Dovhan <email@denysdovhan.com>",
  30. "Kyle Mathews <mathews.kyle@gmail.com>",
  31. "Shinnosuke Watanabe <snnskwtnb@gmail.com>",
  32. "Sindre Sorhus <sindresorhus@gmail.com>"
  33. ],
  34. "sideEffects": false,
  35. "type": "module",
  36. "exports": {
  37. ".": "./index.js",
  38. "./do-not-use-conditional-minpath": {
  39. "node": "./lib/minpath.js",
  40. "default": "./lib/minpath.browser.js"
  41. },
  42. "./do-not-use-conditional-minproc": {
  43. "node": "./lib/minproc.js",
  44. "default": "./lib/minproc.browser.js"
  45. },
  46. "./do-not-use-conditional-minurl": {
  47. "node": "./lib/minurl.js",
  48. "default": "./lib/minurl.browser.js"
  49. }
  50. },
  51. "files": [
  52. "lib/",
  53. "index.d.ts",
  54. "index.js"
  55. ],
  56. "dependencies": {
  57. "@types/unist": "^3.0.0",
  58. "unist-util-stringify-position": "^4.0.0",
  59. "vfile-message": "^4.0.0"
  60. },
  61. "devDependencies": {
  62. "@types/node": "^20.0.0",
  63. "c8": "^7.0.0",
  64. "prettier": "^2.0.0",
  65. "remark-cli": "^11.0.0",
  66. "remark-preset-wooorm": "^9.0.0",
  67. "type-coverage": "^2.0.0",
  68. "typescript": "^5.0.0",
  69. "xo": "^0.54.0"
  70. },
  71. "scripts": {
  72. "prepack": "npm run build && npm run format",
  73. "build": "tsc --build --clean && tsc --build && type-coverage",
  74. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  75. "test-api": "node --conditions development test.js",
  76. "test-coverage": "c8 --100 --reporter lcov npm run test-api",
  77. "test": "npm run build && npm run format && npm run test-coverage"
  78. },
  79. "prettier": {
  80. "bracketSpacing": false,
  81. "semi": false,
  82. "singleQuote": true,
  83. "tabWidth": 2,
  84. "trailingComma": "none",
  85. "useTabs": false
  86. },
  87. "remarkConfig": {
  88. "plugins": [
  89. "remark-preset-wooorm",
  90. [
  91. "remark-lint-no-html",
  92. false
  93. ]
  94. ]
  95. },
  96. "typeCoverage": {
  97. "atLeast": 100,
  98. "detail": true,
  99. "ignoreCatch": true,
  100. "strict": true
  101. },
  102. "xo": {
  103. "prettier": true
  104. }
  105. }