package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "front",
  3. "version": "0.0.0",
  4. "scripts": {
  5. "dev": "vite",
  6. "build": "run-p type-check build-only",
  7. "preview": "vite preview --port 4173",
  8. "test:unit": "vitest --environment jsdom",
  9. "test:e2e": "start-server-and-test preview http://localhost:4173/ 'cypress open --e2e'",
  10. "test:e2e:ci": "start-server-and-test preview http://localhost:4173/ 'cypress run --e2e'",
  11. "build-only": "vite build",
  12. "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
  13. "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
  14. },
  15. "dependencies": {
  16. "@antv/g6": "^4.8.7",
  17. "@tinymce/tinymce-vue": "^5.0.0",
  18. "@types/lodash": "^4.14.188",
  19. "ant-design-vue": "^3.2.13",
  20. "axios": "^1.1.3",
  21. "marked": "^5.0.1",
  22. "nzh": "^1.0.8",
  23. "pinia": "^2.0.21",
  24. "tinymce": "^6.3.1",
  25. "vue": "^3.2.38",
  26. "vue-router": "^4.1.5",
  27. "vuedraggable": "^4.1.0"
  28. },
  29. "devDependencies": {
  30. "@rushstack/eslint-patch": "^1.1.4",
  31. "@types/jsdom": "^20.0.0",
  32. "@types/marked": "^4.3.0",
  33. "@types/node": "^16.11.56",
  34. "@vitejs/plugin-vue": "^3.0.3",
  35. "@vitejs/plugin-vue-jsx": "^2.0.1",
  36. "@vue/eslint-config-typescript": "^11.0.0",
  37. "@vue/test-utils": "^2.0.2",
  38. "@vue/tsconfig": "^0.1.3",
  39. "cypress": "^10.7.0",
  40. "eslint": "^8.22.0",
  41. "eslint-plugin-cypress": "^2.12.1",
  42. "eslint-plugin-vue": "^9.3.0",
  43. "jsdom": "^20.0.0",
  44. "less": "^4.1.3",
  45. "msw": "^0.48.1",
  46. "npm-run-all": "^4.1.5",
  47. "sass": "^1.56.0",
  48. "start-server-and-test": "^1.14.0",
  49. "typescript": "~4.7.4",
  50. "vite": "^3.0.9",
  51. "vitest": "^0.23.0",
  52. "vue-tsc": "^0.40.7"
  53. },
  54. "msw": {
  55. "workerDirectory": "public"
  56. }
  57. }