package.json 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "name": "Object-admin-pure",
  3. "private": true,
  4. "version": "0.0.0",
  5. "type": "module",
  6. "scripts": {
  7. "dev:mock": "vite --mode mock",
  8. "dev": "vite --mode mock ",
  9. "dev:linux": "vite --mode release",
  10. "dev:pro": "vite --mode development",
  11. "build:test": "vite build --mode test",
  12. "build:mock": "vite build --mode mock",
  13. "build": "vue-tsc --noEmit && vite build --mode release",
  14. "preview": "vite preview",
  15. "lint": "eslint --fix --ext .vue,.js,.jsx,.ts,.tsx ./ --max-warnings 0",
  16. "lint:fix": "eslint --ext .vue,.js,jsx,.ts,.tsx ./ --max-warnings 0 --fix",
  17. "stylelint": "stylelint src/**/*.{html,vue,sass,less}",
  18. "stylelint:fix": "stylelint --fix src/**/*.{html,vue,vss,sass,less}",
  19. "prepare": "node -e \"if(require('fs').existsSync('.git')){process.exit(1)}\" || is-ci || husky install",
  20. "site:preview": "npm run build && cp -r dist _site",
  21. "test": "echo \"no test specified,work in process\"",
  22. "test:coverage": "echo \"no test:coverage specified,work in process\""
  23. },
  24. "dependencies": {
  25. "axios": "^1.1.3",
  26. "dayjs": "^1.10.6",
  27. "default-passive-events": "^2.0.0",
  28. "echarts": "^5.4.1",
  29. "lodash": "^4.17.21",
  30. "moment": "^2.29.4",
  31. "nprogress": "^0.2.0",
  32. "pinia": "^2.0.11",
  33. "pinia-plugin-persistedstate": "^3.0.1",
  34. "qrcode.vue": "^3.2.2",
  35. "qs": "^6.10.5",
  36. "tdesign-icons-vue-next": "^0.1.1",
  37. "tdesign-vue-next": "^0.25.0",
  38. "tvision-color": "^1.3.1",
  39. "vue": "^3.2.31",
  40. "vue-clipboard3": "^2.0.0",
  41. "vue-router": "~4.1.5"
  42. },
  43. "devDependencies": {
  44. "@commitlint/cli": "^17.0.3",
  45. "@commitlint/config-conventional": "^17.0.3",
  46. "@types/echarts": "^4.9.10",
  47. "@types/lodash": "^4.14.182",
  48. "@types/qs": "^6.9.7",
  49. "@types/ws": "^8.2.2",
  50. "@typescript-eslint/eslint-plugin": "^4.29.3",
  51. "@typescript-eslint/parser": "^4.29.3",
  52. "@vitejs/plugin-vue": "^2.3.1",
  53. "@vitejs/plugin-vue-jsx": "^1.1.7",
  54. "@vue/compiler-sfc": "^3.0.5",
  55. "@vue/eslint-config-typescript": "^11.0.0",
  56. "commitizen": "^4.2.4",
  57. "cz-conventional-changelog": "^3.3.0",
  58. "eslint": "^7.32.0",
  59. "eslint-config-airbnb-base": "^14.2.1",
  60. "eslint-config-prettier": "^8.3.0",
  61. "eslint-plugin-import": "^2.24.1",
  62. "eslint-plugin-prettier": "^4.0.0",
  63. "eslint-plugin-vue": "^9.2.0",
  64. "eslint-plugin-vue-scoped-css": "^2.2.0",
  65. "husky": "^7.0.4",
  66. "less": "^4.1.1",
  67. "lint-staged": "^12.1.2",
  68. "mockjs": "^1.1.0",
  69. "prettier": "^2.4.1",
  70. "stylelint": "^13.0.0",
  71. "stylelint-config-prettier": "~9.0.3",
  72. "stylelint-less": "^1.0.6",
  73. "stylelint-order": "~4.1.0",
  74. "typescript": "~4.8.4",
  75. "vite": "^2.7.1",
  76. "vite-plugin-mock": "^2.9.6",
  77. "vite-svg-loader": "^3.1.0",
  78. "vue-tsc": "^1.0.8"
  79. },
  80. "config": {
  81. "commitizen": {
  82. "path": "./node_modules/cz-conventional-changelog"
  83. }
  84. },
  85. "lint-staged": {
  86. "*.{js,jsx,vue,ts,tsx}": [
  87. "prettier --write",
  88. "npm run lint:fix",
  89. "git add ."
  90. ],
  91. "*.{html,vue,vss,sass,less}": [
  92. "npm run stylelint:fix",
  93. "git add ."
  94. ]
  95. },
  96. "description": "czri"
  97. }