package.json 3.1 KB

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