package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "unified",
  3. "version": "9.2.1",
  4. "description": "Interface for parsing, inspecting, transforming, and serializing content through syntax trees",
  5. "license": "MIT",
  6. "keywords": [
  7. "unified",
  8. "process",
  9. "parse",
  10. "transform",
  11. "compile",
  12. "stringify",
  13. "serialize",
  14. "ast",
  15. "cst",
  16. "syntax",
  17. "tree",
  18. "content",
  19. "rehype",
  20. "retext",
  21. "remark"
  22. ],
  23. "homepage": "https://unifiedjs.com",
  24. "repository": "unifiedjs/unified",
  25. "bugs": "https://github.com/unifiedjs/unified/issues",
  26. "funding": {
  27. "type": "opencollective",
  28. "url": "https://opencollective.com/unified"
  29. },
  30. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  31. "contributors": [
  32. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  33. "Junyoung Choi <fluke8259@gmail.com>",
  34. "Hernan Rajchert <hrajchert@gmail.com>",
  35. "Christian Murphy <christian.murphy.42@gmail.com>",
  36. "Vse Mozhet Byt <vsemozhetbyt@gmail.com>",
  37. "Richard Littauer <richard.littauer@gmail.com>"
  38. ],
  39. "types": "types/ts3.4/index.d.ts",
  40. "typesVersions": {
  41. ">=4.0": {
  42. "types/ts3.4/*": [
  43. "types/ts4.0/*"
  44. ]
  45. }
  46. },
  47. "files": [
  48. "types/ts3.4/index.d.ts",
  49. "types/ts4.0/index.d.ts",
  50. "index.js",
  51. "lib"
  52. ],
  53. "dependencies": {
  54. "bail": "^1.0.0",
  55. "extend": "^3.0.0",
  56. "is-buffer": "^2.0.0",
  57. "is-plain-obj": "^2.0.0",
  58. "trough": "^1.0.0",
  59. "vfile": "^4.0.0"
  60. },
  61. "devDependencies": {
  62. "browserify": "^17.0.0",
  63. "c8": "^7.0.0",
  64. "dtslint": "^4.0.0",
  65. "prettier": "^2.0.0",
  66. "remark-cli": "^9.0.0",
  67. "remark-preset-wooorm": "^8.0.0",
  68. "tape": "^5.0.0",
  69. "tinyify": "^3.0.0",
  70. "xo": "^0.38.0"
  71. },
  72. "scripts": {
  73. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  74. "build-bundle": "browserify index.js -s unified -o unified.js",
  75. "build-mangle": "browserify index.js -s unified -p tinyify -o unified.min.js",
  76. "build": "npm run build-bundle && npm run build-mangle",
  77. "test-api": "node test",
  78. "test-coverage": "c8 --check-coverage --lines 100 --functions 100 --branches 100 --reporter lcov tape test",
  79. "test-types": "npm run test-types-3.4 && npm run test-types-4.0",
  80. "test-types-3.4": "dtslint types/ts3.4",
  81. "test-types-4.0": "dtslint types/ts4.0",
  82. "test": "npm run format && npm run build && npm run test-coverage && npm run test-types"
  83. },
  84. "prettier": {
  85. "tabWidth": 2,
  86. "useTabs": false,
  87. "singleQuote": true,
  88. "bracketSpacing": false,
  89. "semi": false,
  90. "trailingComma": "none"
  91. },
  92. "xo": {
  93. "prettier": true,
  94. "esnext": false,
  95. "rules": {
  96. "guard-for-in": "off",
  97. "no-unreachable-loop": "off",
  98. "unicorn/prefer-number-properties": "off",
  99. "unicorn/prefer-optional-catch-binding": "off",
  100. "unicorn/prefer-reflect-apply": "off",
  101. "unicorn/prefer-type-error": "off"
  102. },
  103. "ignores": [
  104. "types",
  105. "unified.js"
  106. ]
  107. },
  108. "remarkConfig": {
  109. "plugins": [
  110. "preset-wooorm"
  111. ]
  112. }
  113. }