package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "name": "vite-plugin-inspect",
  3. "type": "module",
  4. "version": "0.8.9",
  5. "description": "Inspect the intermediate state of Vite plugins",
  6. "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  7. "license": "MIT",
  8. "funding": "https://github.com/sponsors/antfu",
  9. "homepage": "https://github.com/antfu/vite-plugin-inspect#readme",
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/antfu/vite-plugin-inspect.git"
  13. },
  14. "bugs": {
  15. "url": "https://github.com/antfu/vite-plugin-inspect/issues"
  16. },
  17. "keywords": [
  18. "vite-plugin"
  19. ],
  20. "exports": {
  21. ".": {
  22. "import": {
  23. "types": "./dist/index.d.mts",
  24. "default": "./dist/index.mjs"
  25. },
  26. "require": {
  27. "types": "./dist/index.d.cts",
  28. "default": "./dist/index.cjs"
  29. }
  30. },
  31. "./nuxt": {
  32. "import": {
  33. "types": "./dist/nuxt.d.mts",
  34. "default": "./dist/nuxt.mjs"
  35. },
  36. "require": {
  37. "types": "./dist/nuxt.d.cts",
  38. "default": "./dist/nuxt.cjs"
  39. }
  40. },
  41. "./*": "./*"
  42. },
  43. "main": "dist/index.cjs",
  44. "module": "dist/index.mjs",
  45. "types": "dist/index.d.ts",
  46. "typesVersions": {
  47. "*": {
  48. "*": [
  49. "./dist/*",
  50. "./*"
  51. ]
  52. }
  53. },
  54. "files": [
  55. "*.d.ts",
  56. "dist"
  57. ],
  58. "engines": {
  59. "node": ">=14"
  60. },
  61. "peerDependencies": {
  62. "vite": "^3.1.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.1"
  63. },
  64. "peerDependenciesMeta": {
  65. "@nuxt/kit": {
  66. "optional": true
  67. }
  68. },
  69. "dependencies": {
  70. "@antfu/utils": "^0.7.10",
  71. "@rollup/pluginutils": "^5.1.3",
  72. "debug": "^4.3.7",
  73. "error-stack-parser-es": "^0.1.5",
  74. "fs-extra": "^11.2.0",
  75. "open": "^10.1.0",
  76. "perfect-debounce": "^1.0.0",
  77. "picocolors": "^1.1.1",
  78. "sirv": "^3.0.0"
  79. },
  80. "devDependencies": {
  81. "@antfu/eslint-config": "^3.11.2",
  82. "@antfu/ni": "^0.23.1",
  83. "@iconify-json/catppuccin": "^1.2.7",
  84. "@iconify/json": "^2.2.279",
  85. "@nuxt/kit": "^3.14.1592",
  86. "@types/codemirror": "^5.60.15",
  87. "@types/debug": "^4.1.12",
  88. "@types/fs-extra": "^11.0.4",
  89. "@types/node": "^22.10.1",
  90. "@unocss/eslint-config": "^0.65.0",
  91. "@unocss/eslint-plugin": "^0.65.0",
  92. "@vitejs/plugin-vue": "^5.2.1",
  93. "@vue/compiler-sfc": "^3.5.13",
  94. "@vueuse/core": "^12.0.0",
  95. "@vueuse/router": "^12.0.0",
  96. "bumpp": "^9.8.1",
  97. "codemirror": "^5.65.16",
  98. "codemirror-theme-vars": "^0.1.2",
  99. "comlink": "^4.4.2",
  100. "cross-env": "^7.0.3",
  101. "diff-match-patch-es": "^0.1.1",
  102. "echarts": "^5.5.1",
  103. "eslint": "^9.16.0",
  104. "esno": "^4.8.0",
  105. "floating-vue": "^5.2.2",
  106. "fuse.js": "^7.0.0",
  107. "lint-staged": "^15.2.10",
  108. "npm-run-all": "^4.1.5",
  109. "ohash": "^1.1.4",
  110. "pathe": "^1.1.2",
  111. "pinia": "^2.2.8",
  112. "prism-theme-vars": "^0.2.5",
  113. "rimraf": "^6.0.1",
  114. "simple-git-hooks": "^2.11.1",
  115. "splitpanes": "^3.1.5",
  116. "typescript": "~5.6.3",
  117. "unbuild": "^2.0.0",
  118. "unocss": "^0.65.0",
  119. "unplugin-auto-import": "^0.18.6",
  120. "unplugin-vue-components": "^0.27.5",
  121. "vis-data": "7.1.7",
  122. "vis-network": "9.1.6",
  123. "vite": "^5.4.11",
  124. "vite-dev-rpc": "^0.1.7",
  125. "vite-hot-client": "^0.2.4",
  126. "vite-plugin-pages": "^0.32.4",
  127. "vue": "^3.5.13",
  128. "vue-echarts": "^7.0.3",
  129. "vue-router": "^4.5.0",
  130. "vue-tsc": "^2.1.10"
  131. },
  132. "simple-git-hooks": {
  133. "pre-commit": "npx lint-staged"
  134. },
  135. "lint-staged": {
  136. "*.{js,ts,vue,md}": [
  137. "eslint --cache --fix"
  138. ]
  139. },
  140. "scripts": {
  141. "build": "rimraf dist && run-s build:* && esno ./scripts/postbuild.ts",
  142. "build:client": "vite build src/client",
  143. "build:js": "unbuild",
  144. "dev": "nr stub && cross-env INSPECT_DEV=true vite src/client",
  145. "dev:client": "vite build src/client --watch",
  146. "stub": "unbuild --stub",
  147. "lint": "eslint .",
  148. "typecheck": "vue-tsc --noEmit",
  149. "release": "bumpp && pnpm publish"
  150. }
  151. }