package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "remark-external-links",
  3. "version": "8.0.0",
  4. "description": "remark plugin to automatically add target and rel attributes to external links",
  5. "license": "MIT",
  6. "keywords": [
  7. "unified",
  8. "remark",
  9. "remark-plugin",
  10. "plugin",
  11. "mdast",
  12. "markdown",
  13. "external",
  14. "link",
  15. "url"
  16. ],
  17. "repository": "remarkjs/remark-external-links",
  18. "bugs": "https://github.com/remarkjs/remark-external-links/issues",
  19. "funding": {
  20. "type": "opencollective",
  21. "url": "https://opencollective.com/unified"
  22. },
  23. "author": "Cédric Delpoux <xuopled@gmail.com>",
  24. "contributors": [
  25. "Cédric Delpoux <xuopled@gmail.com>",
  26. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  27. "Merlijn Vos <merlijn@soverin.net>",
  28. "Takayosi Amagi <fand.gmork@gmail.com>",
  29. "Zach Schnackel <info@zslabs.com>",
  30. "Tsuyusato Kitsune <make.just.on@gmail.com>",
  31. "Matsuko Friedland <info@matsuko.ca>"
  32. ],
  33. "types": "types/index.d.ts",
  34. "files": [
  35. "index.js",
  36. "types/index.d.ts"
  37. ],
  38. "dependencies": {
  39. "extend": "^3.0.0",
  40. "is-absolute-url": "^3.0.0",
  41. "mdast-util-definitions": "^4.0.0",
  42. "space-separated-tokens": "^1.0.0",
  43. "unist-util-visit": "^2.0.0"
  44. },
  45. "devDependencies": {
  46. "dtslint": "^4.0.0",
  47. "nyc": "^15.0.0",
  48. "prettier": "^2.0.0",
  49. "remark": "^13.0.0-alpha.0",
  50. "remark-cli": "^8.0.0",
  51. "remark-html": "^13.0.0",
  52. "remark-preset-wooorm": "^7.0.0",
  53. "tape": "^5.0.0",
  54. "xo": "^0.33.0"
  55. },
  56. "scripts": {
  57. "format": "remark . -qfo && prettier . --write && xo --fix",
  58. "test-api": "node test",
  59. "test-coverage": "nyc --reporter lcov tape test.js",
  60. "test-types": "dtslint types",
  61. "test": "npm run format && npm run test-coverage && npm run test-types"
  62. },
  63. "nyc": {
  64. "check-coverage": true,
  65. "lines": 100,
  66. "functions": 100,
  67. "branches": 100
  68. },
  69. "prettier": {
  70. "tabWidth": 2,
  71. "useTabs": false,
  72. "singleQuote": true,
  73. "bracketSpacing": false,
  74. "semi": false,
  75. "trailingComma": "none"
  76. },
  77. "xo": {
  78. "prettier": true,
  79. "esnext": false,
  80. "rules": {
  81. "unicorn/prefer-includes": "off",
  82. "import/no-extraneous-dependencies": "off"
  83. }
  84. },
  85. "remarkConfig": {
  86. "plugins": [
  87. "preset-wooorm"
  88. ]
  89. }
  90. }