package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "n-admin",
  3. "type": "module",
  4. "engines": {
  5. "node": ">=18.15.0"
  6. },
  7. "scripts": {
  8. "dev": "mist --host",
  9. "build": "vue-tsc && mist build",
  10. "clear:vercel": "rm -rf ./vercel.json",
  11. "build:vercel": "run-s clear:vercel build:nitro",
  12. "build:nitro": "mist build nitro",
  13. "start:nirto": "node .output/server/index.mjs",
  14. "preview": "mist preview",
  15. "lint": "eslint src --fix",
  16. "typecheck": "vue-tsc --noEmit",
  17. "bump:patch": "changelogen --bump --output CHANGELOG.md --release",
  18. "bump:minor": "changelogen --bump --output CHANGELOG.md --release --minor",
  19. "bump:major": "changelogen --bump --output CHANGELOG.md --release --major",
  20. "prepare": "husky",
  21. "dir-tree": "esno ./scripts/dir-tree",
  22. "gen:uno": "esno ./scripts/gen-unocss"
  23. },
  24. "dependencies": {
  25. "@ant-design/icons-vue": "^7.0.1",
  26. "@antv/g2plot": "^2.4.32",
  27. "@antv/l7": "^2.22.1",
  28. "@ctrl/tinycolor": "^4.1.0",
  29. "@v-c/utils": "^0.0.26",
  30. "@vueuse/core": "^10.11.1",
  31. "ant-design-vue": "^4.2.6",
  32. "axios": "^1.7.7",
  33. "dayjs": "^1.11.13",
  34. "lodash-es": "^4.17.21",
  35. "mitt": "^3.0.1",
  36. "pinia": "^2.2.2",
  37. "vue": "^3.5.8",
  38. "vue-i18n": "^9.14.0",
  39. "vue-router": "^4.4.5"
  40. },
  41. "devDependencies": {
  42. "@antfu/eslint-config": "^2.27.3",
  43. "@commitlint/cli": "^18.6.1",
  44. "@commitlint/config-conventional": "^18.6.3",
  45. "@mistjs/cli": "0.0.1-beta.9",
  46. "@mistjs/vite-plugin-preload": "^0.0.1",
  47. "@types/fs-extra": "^11.0.4",
  48. "@types/lodash": "^4.17.7",
  49. "@types/lodash-es": "^4.17.12",
  50. "@types/node": "^20.16.5",
  51. "@types/treeify": "^1.0.3",
  52. "@vitejs/plugin-vue": "^5.1.4",
  53. "@vitejs/plugin-vue-jsx": "^3.1.0",
  54. "@vue/test-utils": "^2.4.6",
  55. "antdv-component-resolver": "^1.0.7",
  56. "antdv-style": "0.0.1-beta.2",
  57. "changelogen": "^0.5.7",
  58. "cross-env": "^7.0.3",
  59. "directory-tree": "^3.5.2",
  60. "esbuild": "^0.20.2",
  61. "eslint": "^8.57.1",
  62. "esno": "^0.17.0",
  63. "execa": "^8.0.1",
  64. "fs-extra": "^11.2.0",
  65. "husky": "^9.1.6",
  66. "jsdom": "^22.1.0",
  67. "less": "^4.2.0",
  68. "lint-staged": "^14.0.1",
  69. "lodash": "^4.17.21",
  70. "nitropack": "^2.9.7",
  71. "npm-run-all": "^4.1.5",
  72. "picocolors": "^1.1.0",
  73. "treeify": "^1.1.0",
  74. "ts-node": "^10.9.2",
  75. "typescript": "~5.5.2",
  76. "unocss": "^0.57.7",
  77. "unocss-preset-chinese": "^0.3.3",
  78. "unocss-preset-ease": "^0.0.3",
  79. "unplugin-auto-import": "^0.16.7",
  80. "unplugin-config": "^0.1.5",
  81. "unplugin-vue-components": "^0.26.0",
  82. "vite": "^5.4.7",
  83. "vitest": "^0.34.6",
  84. "vue-tsc": "^2.1.6"
  85. },
  86. "lint-staged": {
  87. "**/*.{vue,ts,js,jsx,tsx}": "eslint src --fix"
  88. }
  89. }