You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.9 KiB

3 days ago
  1. {
  2. "name": "color-titration-web",
  3. "type": "module",
  4. "version": "0.0.0",
  5. "description": "",
  6. "author": "",
  7. "license": "ISC",
  8. "keywords": [],
  9. "main": "index.js",
  10. "scripts": {
  11. "dev": "vite --mode dev",
  12. "dev:server": "concurrently -n server,client -c green,blue \"node server/index.js\" \"vite --mode dev\"",
  13. "test": "vite --mode test",
  14. "prod": "vite --mode prod",
  15. "pre": "vite --mode pre",
  16. "build": "vite build --mode dev",
  17. "build:test": "vite build --mode test",
  18. "build:prod:patch": "node increment-version.js patch && vite build --mode prod",
  19. "build:prod:minor": "node increment-version.js minor && vite build --mode prod",
  20. "build:prod:major": "node increment-version.js major && vite build --mode prod",
  21. "build:pre": "vite build --mode pre",
  22. "build:dev": "vite build --mode dev",
  23. "prepare": "husky",
  24. "lint:lint-staged": "lint-staged",
  25. "lint": "vue-tsc --noEmit --skipLibCheck && eslint",
  26. "eslint": "eslint --fix --ext .ts,.vue src",
  27. "prettier": "prettier --write ."
  28. },
  29. "dependencies": {
  30. "@element-plus/icons-vue": "^2.3.1",
  31. "autoprefixer": "^10.4.20",
  32. "axios": "1.8.2",
  33. "cssnano": "^7.0.6",
  34. "echarts": "^5.6.0",
  35. "element-plus": "^2.9.5",
  36. "express": "^5.1.0",
  37. "konva": "^9.3.18",
  38. "lodash": "^4.17.21",
  39. "pinia": "^3.0.1",
  40. "pinia-plugin-persistedstate": "^4.2.0",
  41. "postcss": "^8.5.3",
  42. "postcss-aspect-ratio-mini": "^1.1.0",
  43. "postcss-import": "^16.1.0",
  44. "postcss-px-to-viewport-8-plugin": "^1.2.5",
  45. "postcss-url": "^10.1.3",
  46. "postcss-viewport-units": "^0.1.6",
  47. "postcss-write-svg": "^3.0.1",
  48. "vue": "^3.5.13",
  49. "vue-router": "^4.5.0",
  50. "ws": "^8.18.1"
  51. },
  52. "devDependencies": {
  53. "@antfu/eslint-config": "^4.3.0",
  54. "@commitlint/cli": "^19.7.1",
  55. "@commitlint/config-conventional": "^19.7.1",
  56. "@types/node": "^22.13.5",
  57. "@typescript-eslint/eslint-plugin": "^8.25.0",
  58. "@typescript-eslint/parser": "^8.25.0",
  59. "@vitejs/plugin-vue": "^5.2.1",
  60. "@vitejs/plugin-vue-jsx": "^5.0.1",
  61. "@vue/eslint-config-prettier": "^10.2.0",
  62. "@vue/language-plugin-pug": "^3.0.3",
  63. "concurrently": "^9.1.2",
  64. "eslint": "^9.21.0",
  65. "eslint-config-prettier": "^10.0.2",
  66. "eslint-plugin-prettier": "^5.2.3",
  67. "eslint-plugin-vue": "^9.32.0",
  68. "eslint-plugin-vue-pug": "^0.6.2",
  69. "husky": "^9.1.7",
  70. "lint-staged": "^15.4.3",
  71. "prettier": "^3.5.2",
  72. "pug": "^3.0.3",
  73. "sass": "^1.85.1",
  74. "semver": "^7.7.1",
  75. "stylus": "^0.64.0",
  76. "typescript": "^5.7.3",
  77. "unplugin-auto-import": "^19.1.1",
  78. "unplugin-vue-components": "^28.4.1",
  79. "vite": "6.2.6",
  80. "vite-plugin-compression": "^0.5.1",
  81. "vite-plugin-eslint": "^1.8.1",
  82. "vue-eslint-parser": "^10.2.0",
  83. "vue-tsc": "^2.2.4"
  84. },
  85. "husky": {
  86. "hooks": {
  87. "pre-commit": "lint-staged"
  88. }
  89. },
  90. "lint-staged": {
  91. "*.{js,jsx,vue,ts,tsx}": [
  92. "eslint --fix",
  93. "prettier --write",
  94. "lint-staged"
  95. ]
  96. }
  97. }