版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

104 lines
3.1 KiB

  1. {
  2. "name": "vite-plugin-md",
  3. "version": "0.22.5",
  4. "description": "Markdown for Vite",
  5. "type": "module",
  6. "packageManager": "pnpm@7.5.2",
  7. "keywords": [
  8. "vite",
  9. "vite-plugin",
  10. "markdown-it"
  11. ],
  12. "homepage": "https://github.com/antfu/vite-plugin-md",
  13. "bugs": "https://github.com/antfu/vite-plugin-md/issues",
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/antfu/vite-plugin-md"
  17. },
  18. "funding": "https://github.com/sponsors/antfu",
  19. "license": "MIT",
  20. "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  21. "contributors": [
  22. "Ken Snyder <ken@ken.net>"
  23. ],
  24. "exports": {
  25. ".": {
  26. "types": "./dist/index.d.ts",
  27. "require": "./dist/index.cjs",
  28. "import": "./dist/index.js"
  29. }
  30. },
  31. "main": "./dist/index.cjs",
  32. "module": "./dist/index.js",
  33. "types": "./dist/index.d.ts",
  34. "files": [
  35. "dist"
  36. ],
  37. "scripts": {
  38. "build": "tsup src/index.ts --dts --format cjs,esm --clean ",
  39. "watch": "tsup src/index.ts --dts --format cjs,esm --watch",
  40. "dev": "npm run build -- --watch",
  41. "example:build": "cp README.md example/README.md && npm -C example run build",
  42. "example:dev": "cp README.md example/README.md && npm -C example run dev",
  43. "lint": "run-p lint:*",
  44. "lint:src": "eslint src/**/*.ts --fix",
  45. "lint:test": "eslint test/**/*.ts --fix",
  46. "lint:tsc": "tsc --noEmit",
  47. "lint:node": "tsup src/index.ts --format=esm && node dist/index.js",
  48. "audit:fix": "pnpm audit --fix && pnpm install",
  49. "release": "run-s audit:fix lint release:bumpp",
  50. "release:bumpp": "bumpp",
  51. "test": "vitest",
  52. "test:ui": "vitest --ui",
  53. "test:coverage": "vitest run --coverage",
  54. "test:update": "vitest -u",
  55. "test:component": "npx cypress open-ct -p 4000"
  56. },
  57. "dependencies": {
  58. "@yankeeinlondon/builder-api": "^1.3.4",
  59. "@yankeeinlondon/gray-matter": "^6.1.1",
  60. "@yankeeinlondon/happy-wrapper": "^2.10.1",
  61. "markdown-it": "^13.0.1",
  62. "source-map-js": "^1.0.2"
  63. },
  64. "peerDependencies": {
  65. "@vitejs/plugin-vue": ">=2.3.4",
  66. "vite": "^4.0.0 || ^3.0.0"
  67. },
  68. "devDependencies": {
  69. "@antfu/eslint-config": "^0.34.0",
  70. "@antfu/ni": "^0.18.8",
  71. "@antfu/utils": "^0.7.2",
  72. "@type-challenges/utils": "^0.1.1",
  73. "@types/markdown-it": "^12.2.3",
  74. "@types/node": "^16.18.9",
  75. "@typescript-eslint/eslint-plugin": "^5.46.1",
  76. "@typescript-eslint/parser": "^5.46.1",
  77. "@vitejs/plugin-vue": "^4.0.0",
  78. "@vitest/coverage-c8": "^0.25.8",
  79. "@vitest/ui": "^0.25.8",
  80. "@vue/test-utils": "^2.2.6",
  81. "@vueuse/core": "^9.7.0",
  82. "@yankeeinlondon/code-builder": "^1.2.1",
  83. "@yankeeinlondon/link-builder": "^1.2.1",
  84. "@yankeeinlondon/meta-builder": "^1.2.1",
  85. "bumpp": "^8.2.1",
  86. "c8": "^7.12.0",
  87. "callsites": "^4.0.0",
  88. "eslint": "^8.29.0",
  89. "eslint-config-prettier": "^8.5.0",
  90. "fp-ts": "^2.13.1",
  91. "happy-dom": "^8.1.0",
  92. "native-dash": "^1.25.0",
  93. "npm-run-all": "^4.1.5",
  94. "pathe": "^1.0.0",
  95. "rollup": "^3.7.4",
  96. "tsup": "^6.5.0",
  97. "typescript": "^4.9.4",
  98. "vite": "^4.0.1",
  99. "vitest": "^0.25.8",
  100. "vue": "^3.2.45",
  101. "vue-router": "^4.1.6"
  102. }
  103. }