package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "vfile-message",
  3. "version": "4.0.2",
  4. "description": "vfile utility to create a virtual message",
  5. "license": "MIT",
  6. "keywords": [
  7. "vfile",
  8. "vfile-util",
  9. "util",
  10. "utility",
  11. "virtual",
  12. "file",
  13. "message"
  14. ],
  15. "repository": "vfile/vfile-message",
  16. "bugs": "https://github.com/vfile/vfile-message/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-stringify-position": "^4.0.0"
  36. },
  37. "devDependencies": {
  38. "@types/node": "^20.0.0",
  39. "c8": "^8.0.0",
  40. "prettier": "^2.0.0",
  41. "remark-cli": "^11.0.0",
  42. "remark-preset-wooorm": "^9.0.0",
  43. "type-coverage": "^2.0.0",
  44. "typescript": "^5.0.0",
  45. "xo": "^0.54.0"
  46. },
  47. "scripts": {
  48. "prepack": "npm run build && npm run format",
  49. "build": "tsc --build --clean && tsc --build && type-coverage",
  50. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  51. "test-api": "node --conditions development test.js",
  52. "test-coverage": "c8 --100 --reporter lcov npm run test-api",
  53. "test": "npm run build && npm run format && npm run test-coverage"
  54. },
  55. "prettier": {
  56. "bracketSpacing": false,
  57. "semi": false,
  58. "singleQuote": true,
  59. "tabWidth": 2,
  60. "trailingComma": "none",
  61. "useTabs": false
  62. },
  63. "remarkConfig": {
  64. "plugins": [
  65. "remark-preset-wooorm"
  66. ]
  67. },
  68. "typeCoverage": {
  69. "atLeast": 100,
  70. "detail": true,
  71. "ignoreCatch": true,
  72. "strict": true
  73. },
  74. "xo": {
  75. "prettier": true
  76. }
  77. }