版博士V2.0程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

168 строки
4.1 KiB

  1. {
  2. "name": "@yankeeinlondon/gray-matter",
  3. "type": "module",
  4. "typings": "./dist/index.d.ts",
  5. "packageManager": "pnpm@7.18.2",
  6. "description": "Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and many other projects.",
  7. "version": "6.1.1",
  8. "homepage": "https://github.com/jonschlinkert/gray-matter",
  9. "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
  10. "contributors": [
  11. "Andrew Meyer (https://github.com/Ajedi32)",
  12. "Brian Woodward (https://twitter.com/doowb)",
  13. "Caesar Schinas (https://caesarschinas.com)",
  14. "Ian Storm Taylor (http://ianstormtaylor.com)",
  15. "Jon Schlinkert (http://twitter.com/jonschlinkert)",
  16. "Osman Nuri Okumuş (http://onokumus.com)",
  17. "Pawel Kadluczka (http://blog.3d-logic.com)",
  18. "Rob Loach (http://robloach.net)",
  19. "(https://github.com/heymind)",
  20. "Zach Whaley (http://zachwhaleys.website)",
  21. "Ken Snyder (https://ken.net)"
  22. ],
  23. "repository": "@yankeeinlondon/gray-matter",
  24. "bugs": {
  25. "url": "https://github.com/jonschlinkert/gray-matter/issues"
  26. },
  27. "license": "MIT",
  28. "files": [
  29. "package.json",
  30. "README.md",
  31. "dist"
  32. ],
  33. "types": "./dist/index.d.ts",
  34. "module": "./dist/index.js",
  35. "exports": {
  36. ".": {
  37. "require": "./dist/index.cjs",
  38. "import": "./dist/index.js"
  39. }
  40. },
  41. "engines": {
  42. "node": ">=14.0"
  43. },
  44. "scripts": {
  45. "audit": "pnpm audit --fix",
  46. "build": "tsup src/index.ts --format=esm --clean --dts",
  47. "lint": "run-p lint:*",
  48. "lint:src": "eslint ./src/**/*.ts --fix",
  49. "lint:test": "eslint ./test/**/*.ts --fix",
  50. "lint:tsc": "tsc --noEmit",
  51. "test": "vitest",
  52. "test:ci": "vitest run",
  53. "watch": "tsup src/index.ts --format=esm --watch",
  54. "release": "run-s lint release:latest test:ci audit release:bump",
  55. "release:latest": "pnpm install",
  56. "release:bump": "bumpp"
  57. },
  58. "dependencies": {
  59. "inferred-types": "^0.37.6",
  60. "js-yaml": "^4.1.0",
  61. "kind-of": "^6.0.3",
  62. "section-matter": "^1.0.0",
  63. "strip-bom-string": "^1.0.0",
  64. "vitest": "^0.25.8"
  65. },
  66. "devDependencies": {
  67. "@types/js-yaml": "^4.0.5",
  68. "@types/kind-of": "^6.0.0",
  69. "@types/vinyl": "^2.0.7",
  70. "@typescript-eslint/eslint-plugin": "^5.46.1",
  71. "@typescript-eslint/parser": "^5.46.1",
  72. "ansi-green": "^0.1.1",
  73. "benchmarked": "^2.0.0",
  74. "bumpp": "^8.2.1",
  75. "coffeescript": "^2.7.0",
  76. "delimiter-regex": "^2.0.0",
  77. "eslint": "^8.29.0",
  78. "eslint-config-prettier": "^8.5.0",
  79. "eslint-plugin-import": "^2.26.0",
  80. "eslint-plugin-prettier": "^4.2.1",
  81. "eslint-plugin-promise": "^6.1.1",
  82. "eslint-plugin-unicorn": "^45.0.2",
  83. "extend-shallow": "^3.0.2",
  84. "front-matter": "^4.0.2",
  85. "gulp-format-md": "^2.0.0",
  86. "minimist": "^1.2.7",
  87. "npm-run-all": "^4.1.5",
  88. "pathe": "^1.0.0",
  89. "prettier": "^2.8.1",
  90. "toml": "^3.0.0",
  91. "tsup": "^6.5.0",
  92. "typescript": "^4.9.4",
  93. "vinyl": "^3.0.0",
  94. "vite": "^4.0.1",
  95. "write": "^2.0.0"
  96. },
  97. "keywords": [
  98. "assemble",
  99. "coffee",
  100. "coffee-script",
  101. "data",
  102. "docs",
  103. "documentation",
  104. "extract",
  105. "extracting",
  106. "front",
  107. "front-matter",
  108. "frontmatter",
  109. "generate",
  110. "generator",
  111. "gh-pages",
  112. "gray",
  113. "javascript",
  114. "jekyll",
  115. "js",
  116. "JSON",
  117. "markdown",
  118. "matter",
  119. "parse",
  120. "parser",
  121. "parsing",
  122. "site",
  123. "static",
  124. "template",
  125. "toml",
  126. "yaml",
  127. "yfm"
  128. ],
  129. "browser": {
  130. "fs": false
  131. },
  132. "eslintConfig": {
  133. "rules": {
  134. "no-console": 0
  135. }
  136. },
  137. "verb": {
  138. "toc": false,
  139. "layout": "default",
  140. "tasks": [
  141. "readme"
  142. ],
  143. "plugins": [
  144. "gulp-format-md"
  145. ],
  146. "helpers": {
  147. "examples": "./examples/helper.js"
  148. },
  149. "lint": {
  150. "reflinks": true
  151. },
  152. "related": {
  153. "list": [
  154. "assemble",
  155. "metalsmith",
  156. "verb"
  157. ]
  158. },
  159. "reflinks": [
  160. "coffe-script",
  161. "generate",
  162. "js-yaml",
  163. "toml",
  164. "update"
  165. ]
  166. }
  167. }