package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "unist-util-stringify-position",
  3. "version": "4.0.0",
  4. "description": "unist utility to serialize a node, position, or point as a human readable location",
  5. "license": "MIT",
  6. "keywords": [
  7. "unist",
  8. "unist-util",
  9. "util",
  10. "utility",
  11. "position",
  12. "location",
  13. "point",
  14. "node",
  15. "stringify",
  16. "tostring"
  17. ],
  18. "repository": "syntax-tree/unist-util-stringify-position",
  19. "bugs": "https://github.com/syntax-tree/unist-util-stringify-position/issues",
  20. "funding": {
  21. "type": "opencollective",
  22. "url": "https://opencollective.com/unified"
  23. },
  24. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  25. "contributors": [
  26. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  27. ],
  28. "sideEffects": false,
  29. "type": "module",
  30. "exports": "./index.js",
  31. "files": [
  32. "lib/",
  33. "index.d.ts",
  34. "index.js"
  35. ],
  36. "dependencies": {
  37. "@types/unist": "^3.0.0"
  38. },
  39. "devDependencies": {
  40. "@types/mdast": "^4.0.0",
  41. "@types/node": "^20.0.0",
  42. "c8": "^8.0.0",
  43. "prettier": "^2.0.0",
  44. "remark-cli": "^11.0.0",
  45. "remark-preset-wooorm": "^9.0.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 && 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. "strict": true
  76. },
  77. "xo": {
  78. "prettier": true
  79. }
  80. }