package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. "name": "印刷ERP",
  3. "version": "2.8.2",
  4. "private": true,
  5. "type": "module",
  6. "scripts": {
  7. "preinstall": "npx only-allow pnpm",
  8. "dev": "vite serve --mode development",
  9. "build:prod": "vite build --mode production && vue-tsc --noEmit",
  10. "prepare": "husky install",
  11. "lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ",
  12. "lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"",
  13. "lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix",
  14. "lint:lint-staged": "lint-staged",
  15. "commit": "git-cz"
  16. },
  17. "config": {
  18. "commitizen": {
  19. "path": "node_modules/cz-git"
  20. }
  21. },
  22. "lint-staged": {
  23. "*.{js,ts}": [
  24. "eslint --fix",
  25. "prettier --write"
  26. ],
  27. "*.{cjs,json}": [
  28. "prettier --write"
  29. ],
  30. "*.{vue,html}": [
  31. "eslint --fix",
  32. "prettier --write",
  33. "stylelint --fix"
  34. ],
  35. "*.{scss,css}": [
  36. "stylelint --fix",
  37. "prettier --write"
  38. ],
  39. "*.md": [
  40. "prettier --write"
  41. ]
  42. },
  43. "dependencies": {
  44. "@codemirror/lang-javascript": "^6.2.1",
  45. "@codemirror/theme-one-dark": "^6.1.2",
  46. "@element-plus/icons-vue": "^2.3.1",
  47. "@vitejs/plugin-vue": "^4.6.2",
  48. "@vueuse/core": "^10.7.1",
  49. "@wangeditor/editor": "^5.1.23",
  50. "@wangeditor/editor-for-vue": "5.1.10",
  51. "axios": "^1.6.5",
  52. "echarts": "^5.4.3",
  53. "element-plus": "^2.5.0",
  54. "js-cookie": "^3.0.5",
  55. "lodash-es": "^4.17.21",
  56. "net": "^1.0.2",
  57. "nprogress": "^0.2.0",
  58. "path-browserify": "^1.0.1",
  59. "path-to-regexp": "^6.2.1",
  60. "pinia": "^2.1.7",
  61. "screenfull": "^6.0.2",
  62. "sockjs-client": "1.6.1",
  63. "sortablejs": "^1.15.1",
  64. "stompjs": "^2.3.3",
  65. "terser": "^5.26.0",
  66. "vue": "^3.4.8",
  67. "vue-codemirror": "^6.1.1",
  68. "vue-i18n": "9.2.2",
  69. "vue-router": "^4.2.5",
  70. "xlsx": "^0.18.5"
  71. },
  72. "devDependencies": {
  73. "@commitlint/cli": "^17.8.1",
  74. "@commitlint/config-conventional": "^17.8.1",
  75. "@iconify-json/ep": "^1.1.14",
  76. "@types/lodash": "^4.14.202",
  77. "@types/nprogress": "^0.2.3",
  78. "@types/path-browserify": "^1.0.2",
  79. "@types/sockjs-client": "^1.5.4",
  80. "@types/sortablejs": "^1.15.7",
  81. "@types/stompjs": "^2.3.9",
  82. "@typescript-eslint/eslint-plugin": "^5.62.0",
  83. "@typescript-eslint/parser": "^5.62.0",
  84. "@vitejs/plugin-vue-jsx": "^3.1.0",
  85. "autoprefixer": "^10.4.16",
  86. "commitizen": "^4.3.0",
  87. "cz-git": "^1.8.0",
  88. "eslint": "^8.56.0",
  89. "eslint-config-prettier": "^8.10.0",
  90. "eslint-plugin-import": "^2.29.1",
  91. "eslint-plugin-prettier": "^4.2.1",
  92. "eslint-plugin-vue": "^9.20.0",
  93. "fast-glob": "^3.3.2",
  94. "husky": "^8.0.3",
  95. "lint-staged": "^13.3.0",
  96. "postcss": "^8.4.33",
  97. "postcss-html": "^1.5.0",
  98. "postcss-scss": "^4.0.9",
  99. "prettier": "^2.8.8",
  100. "sass": "^1.69.7",
  101. "stylelint": "^15.11.0",
  102. "stylelint-config-html": "^1.1.0",
  103. "stylelint-config-recess-order": "^4.4.0",
  104. "stylelint-config-recommended-scss": "^13.1.0",
  105. "stylelint-config-recommended-vue": "^1.5.0",
  106. "stylelint-config-standard": "^34.0.0",
  107. "stylelint-config-standard-scss": "^11.1.0",
  108. "typescript": "^5.3.3",
  109. "unocss": "^0.58.3",
  110. "unplugin-auto-import": "^0.15.3",
  111. "unplugin-icons": "^0.16.6",
  112. "unplugin-vue-components": "^0.24.1",
  113. "vite": "^5.0.11",
  114. "vite-plugin-mock-dev-server": "^1.4.5",
  115. "vite-plugin-svg-icons": "^2.0.1",
  116. "vue-tsc": "^1.8.27"
  117. },
  118. "repository": "git地址",
  119. "author": "印刷ERP",
  120. "license": "MIT",
  121. "engines": {
  122. "node": ">=18.0.0"
  123. }
  124. }