package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. "@types/lodash": "^4.14.188",
  17. "ant-design-vue": "^3.2.13",
  18. "axios": "^1.1.3",
  19. "pinia": "^2.0.21",
  20. "vue": "^3.2.38",
  21. "vue-router": "^4.1.5"
  22. },
  23. "devDependencies": {
  24. "@rushstack/eslint-patch": "^1.1.4",
  25. "@types/jsdom": "^20.0.0",
  26. "@types/node": "^16.11.56",
  27. "@vitejs/plugin-vue": "^3.0.3",
  28. "@vitejs/plugin-vue-jsx": "^2.0.1",
  29. "@vue/eslint-config-typescript": "^11.0.0",
  30. "@vue/test-utils": "^2.0.2",
  31. "@vue/tsconfig": "^0.1.3",
  32. "cypress": "^10.7.0",
  33. "eslint": "^8.22.0",
  34. "eslint-plugin-cypress": "^2.12.1",
  35. "eslint-plugin-vue": "^9.3.0",
  36. "jsdom": "^20.0.0",
  37. "less": "^4.1.3",
  38. "msw": "^0.48.1",
  39. "npm-run-all": "^4.1.5",
  40. "sass": "^1.56.0",
  41. "start-server-and-test": "^1.14.0",
  42. "typescript": "~4.7.4",
  43. "vite": "^3.0.9",
  44. "vitest": "^0.23.0",
  45. "vue-tsc": "^0.40.7"
  46. },
  47. "msw": {
  48. "workerDirectory": "public"
  49. }
  50. }