版博士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.
 
 
 
 

141 lines
3.4 KiB

  1. {
  2. "name": "unplugin-vue-router",
  3. "version": "0.5.4",
  4. "packageManager": "pnpm@7.28.0",
  5. "description": "File based typed routing for Vue Router",
  6. "keywords": [
  7. "vue-router",
  8. "pages",
  9. "filesystem",
  10. "types",
  11. "typed",
  12. "router",
  13. "unplugin",
  14. "vite",
  15. "webpack",
  16. "rollup"
  17. ],
  18. "homepage": "https://github.com/posva/unplugin-vue-router#readme",
  19. "bugs": {
  20. "url": "https://github.com/posva/unplugin-vue-router/issues"
  21. },
  22. "license": "MIT",
  23. "repository": {
  24. "type": "git",
  25. "url": "git+https://github.com/posva/unplugin-vue-router.git"
  26. },
  27. "main": "dist/index.js",
  28. "module": "dist/index.mjs",
  29. "types": "dist/index.d.ts",
  30. "exports": {
  31. ".": {
  32. "require": "./dist/index.js",
  33. "import": "./dist/index.mjs"
  34. },
  35. "./vite": {
  36. "require": "./dist/vite.js",
  37. "import": "./dist/vite.mjs"
  38. },
  39. "./webpack": {
  40. "require": "./dist/webpack.js",
  41. "import": "./dist/webpack.mjs"
  42. },
  43. "./rollup": {
  44. "require": "./dist/rollup.js",
  45. "import": "./dist/rollup.mjs"
  46. },
  47. "./esbuild": {
  48. "require": "./dist/esbuild.js",
  49. "import": "./dist/esbuild.mjs"
  50. },
  51. "./options": {
  52. "require": "./dist/options.js",
  53. "import": "./dist/options.mjs"
  54. },
  55. "./runtime": {
  56. "require": "./dist/runtime.js",
  57. "import": "./dist/runtime.mjs"
  58. },
  59. "./*": "./*"
  60. },
  61. "files": [
  62. "dist",
  63. "./route.schema.json",
  64. "*.d.ts"
  65. ],
  66. "gitHooks": {
  67. "pre-commit": "lint-staged",
  68. "commit-msg": "node scripts/verifyCommit.mjs"
  69. },
  70. "lint-staged": {
  71. "*.js": [
  72. "prettier --write"
  73. ],
  74. "*.ts?(x)": [
  75. "prettier --parser=typescript --write"
  76. ]
  77. },
  78. "dependencies": {
  79. "@babel/types": "^7.21.2",
  80. "@rollup/pluginutils": "^5.0.2",
  81. "@vue-macros/common": "^1.1.0",
  82. "ast-walker-scope": "^0.4.0",
  83. "chokidar": "^3.5.3",
  84. "fast-glob": "^3.2.12",
  85. "json5": "^2.2.3",
  86. "local-pkg": "^0.4.3",
  87. "mlly": "^1.1.1",
  88. "pathe": "^1.1.0",
  89. "scule": "^1.0.0",
  90. "unplugin": "^1.1.0",
  91. "yaml": "^2.2.1"
  92. },
  93. "peerDependencies": {
  94. "vue-router": "^4.1.0"
  95. },
  96. "peerDependenciesMeta": {
  97. "vue-router": {
  98. "optional": true
  99. }
  100. },
  101. "devDependencies": {
  102. "@volar/vue-language-core": "^1.1.7",
  103. "c8": "^7.13.0",
  104. "chalk": "^5.2.0",
  105. "conventional-changelog-cli": "^2.2.2",
  106. "enquirer": "^2.3.6",
  107. "esno": "^0.16.3",
  108. "execa": "^7.0.0",
  109. "lint-staged": "^13.1.2",
  110. "minimist": "^1.2.8",
  111. "nodemon": "^2.0.20",
  112. "p-series": "^3.0.0",
  113. "prettier": "^2.8.4",
  114. "rimraf": "^4.1.2",
  115. "rollup": "^3.17.3",
  116. "semver": "^7.3.8",
  117. "ts-expect": "^1.3.0",
  118. "tsup": "^6.6.3",
  119. "typescript": "^4.9.5",
  120. "unplugin-auto-import": "^0.15.0",
  121. "vite": "^4.1.4",
  122. "vite-plugin-vue-markdown": "^0.22.4",
  123. "vitest": "^0.29.1",
  124. "vue": "^3.2.47",
  125. "vue-router": "^4.1.6",
  126. "webpack": "^5.75.0",
  127. "yorkie": "^2.0.0"
  128. },
  129. "scripts": {
  130. "build": "tsup",
  131. "dev": "tsup --watch src",
  132. "build:fix": "esno scripts/postbuild.ts",
  133. "lint": "prettier -c '{src,examples,playground}/**/*.{ts,vue}'",
  134. "play": "npm -C playground run dev",
  135. "play:build": "npm -C playground run build",
  136. "release": "node scripts/release.mjs",
  137. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
  138. "start": "esno src/index.ts",
  139. "test": "vitest"
  140. }
  141. }