package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "remark-footnotes",
  3. "version": "2.0.0",
  4. "description": "remark plugin to add support for pandoc footnotes",
  5. "license": "MIT",
  6. "keywords": [
  7. "unified",
  8. "remark",
  9. "remark-plugin",
  10. "plugin",
  11. "mdast",
  12. "markdown",
  13. "footnote",
  14. "note",
  15. "definition",
  16. "pandoc"
  17. ],
  18. "repository": "remarkjs/remark-footnotes",
  19. "bugs": "https://github.com/remarkjs/remark-footnotes/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. "types": "types/index.d.ts",
  29. "files": [
  30. "types/index.d.ts",
  31. "index.js"
  32. ],
  33. "dependencies": {},
  34. "devDependencies": {
  35. "dtslint": "^3.0.0",
  36. "nyc": "^15.0.0",
  37. "prettier": "^2.0.0",
  38. "rehype-format": "^3.0.0",
  39. "rehype-stringify": "^8.0.0",
  40. "remark-cli": "^8.0.0",
  41. "remark-parse": "^8.0.0",
  42. "remark-preset-wooorm": "^7.0.0",
  43. "remark-rehype": "^7.0.0",
  44. "remark-stringify": "^8.0.0",
  45. "tape": "^5.0.0",
  46. "to-vfile": "^6.0.0",
  47. "unified": "^9.0.0",
  48. "unist-builder": "^2.0.0",
  49. "xo": "^0.33.0"
  50. },
  51. "scripts": {
  52. "format": "remark . -qfo && prettier . --write && xo --fix",
  53. "test-api": "node test",
  54. "test-coverage": "nyc --reporter lcov tape test/index.js",
  55. "test-types": "dtslint types",
  56. "test": "npm run format && npm run test-coverage && npm run test-types"
  57. },
  58. "nyc": {
  59. "check-coverage": true,
  60. "lines": 100,
  61. "functions": 100,
  62. "branches": 100
  63. },
  64. "prettier": {
  65. "tabWidth": 2,
  66. "useTabs": false,
  67. "singleQuote": true,
  68. "bracketSpacing": false,
  69. "semi": false,
  70. "trailingComma": "none"
  71. },
  72. "xo": {
  73. "prettier": true,
  74. "esnext": false,
  75. "rules": {
  76. "unicorn/prefer-optional-catch-binding": "off",
  77. "complexity": "off",
  78. "no-self-compare": "off",
  79. "no-lonely-if": "off"
  80. }
  81. },
  82. "remarkConfig": {
  83. "plugins": [
  84. "preset-wooorm"
  85. ]
  86. }
  87. }