package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. {
  2. "name": "vite-vue-proste",
  3. "private": true,
  4. "version": "1.0.0",
  5. "scripts": {
  6. "dev": "vite",
  7. "dev:e2e": "cross-env IS_E2E=true vite",
  8. "build": "vue-tsc --noEmit && vite build",
  9. "preview": "vite preview",
  10. "test": "vitest",
  11. "cypress:run": "cypress run -b chrome",
  12. "cypress": "cypress open",
  13. "lint:style": "stylelint packages/app/src *.*.css",
  14. "lint:js": "eslint . --ext .js,.jsx,.ts,.tsx,.vue",
  15. "lint:style-fix": "pnpm run lint:style --fix",
  16. "lint:js-fix": "pnpm run lint:js --fix",
  17. "prepare": "husky install",
  18. "postinstall": "husky install",
  19. "pre-commit": "lint-staged",
  20. "commit": "cz"
  21. },
  22. "config": {
  23. "commitizen": {
  24. "path": "./node_modules/cz-conventional-changelog",
  25. "types": {
  26. "feat": {
  27. "description": "A new feature",
  28. "title": "Features"
  29. },
  30. "fix": {
  31. "description": "A bug fix",
  32. "title": "Bug Fixes"
  33. },
  34. "update": {
  35. "description": "Modify src files",
  36. "title": "Updates"
  37. },
  38. "chore": {
  39. "description": "Other changes that don't modify src or test files",
  40. "title": "Chores"
  41. },
  42. "test": {
  43. "description": "Adding missing tests or correcting existing tests",
  44. "title": "Tests"
  45. },
  46. "style": {
  47. "description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
  48. "title": "Styles"
  49. },
  50. "refactor": {
  51. "description": "A code change that neither fixes a bug nor adds a feature",
  52. "title": "Code Refactoring"
  53. },
  54. "perf": {
  55. "description": "A code change that improves performance",
  56. "title": "Performance Improvements"
  57. },
  58. "revert": {
  59. "description": "Reverts a previous commit",
  60. "title": "Reverts"
  61. },
  62. "merge": {
  63. "description": "Merge branch",
  64. "title": "Merges"
  65. }
  66. }
  67. }
  68. },
  69. "lint-staged": {
  70. "**/*/*.css": [
  71. "stylelint"
  72. ],
  73. "**/*/*.{js,jsx,ts,tsx,vue}": [
  74. "eslint"
  75. ]
  76. },
  77. "dependencies": {
  78. "@icon-park/vue-next": "^1.4.2",
  79. "@imengyu/vue3-context-menu": "^1.2.6",
  80. "@tanstack/vue-query": "^4.29.7",
  81. "@vee-validate/zod": "^4.9.3",
  82. "@vueuse/core": "^10.1.2",
  83. "@vueuse/integrations": "^10.1.2",
  84. "axios": "^1.4.0",
  85. "classnames": "^2.3.2",
  86. "dayjs": "^1.11.7",
  87. "klona": "^2.0.6",
  88. "lodash-es": "^4.17.21",
  89. "naive-ui": "^2.34.3",
  90. "pinia": "^2.0.36",
  91. "sortablejs": "^1.15.0",
  92. "veboundary": "1.2.2",
  93. "vee-validate": "^4.9.3",
  94. "vue": "^3.3.2",
  95. "vue-final-modal": "^4.4.2",
  96. "vue-i18n": "^9.2.2",
  97. "vue-router": "^4.2.0",
  98. "zod": "^3.21.4"
  99. },
  100. "devDependencies": {
  101. "@commitlint/cli": "^17.6.3",
  102. "@commitlint/config-conventional": "^17.6.3",
  103. "@nabla/vite-plugin-eslint": "^1.5.0",
  104. "@total-typescript/ts-reset": "^0.4.2",
  105. "@types/lodash-es": "^4.17.7",
  106. "@types/node": "20.1.4",
  107. "@types/rollup-plugin-visualizer": "^4.2.1",
  108. "@types/sortablejs": "^1.15.1",
  109. "@typescript-eslint/eslint-plugin": "^5.59.5",
  110. "@typescript-eslint/parser": "^5.59.5",
  111. "@vitejs/plugin-vue": "^4.2.3",
  112. "@vitejs/plugin-vue-jsx": "^3.0.1",
  113. "@vue/test-utils": "^2.3.2",
  114. "browserslist-to-esbuild": "^1.2.0",
  115. "commitizen": "^4.3.0",
  116. "cross-env": "^7.0.3",
  117. "cypress": "^12.12.0",
  118. "cz-conventional-changelog": "^3.3.0",
  119. "editorconfig": "^1.0.2",
  120. "eslint": "^8.40.0",
  121. "eslint-config-prettier": "^8.8.0",
  122. "eslint-config-proste": "^7.4.0",
  123. "eslint-plugin-cypress": "^2.13.3",
  124. "eslint-plugin-import": "^2.27.5",
  125. "eslint-plugin-import-newlines": "^1.3.1",
  126. "eslint-plugin-vue": "^9.13.0",
  127. "husky": "^8.0.3",
  128. "jsdom": "^22.0.0",
  129. "lint-staged": "^13.2.2",
  130. "postcss": "^8.4.23",
  131. "postcss-nesting": "^11.2.2",
  132. "postcss-preset-env": "^8.3.2",
  133. "prettier": "^2.8.8",
  134. "rollup-plugin-visualizer": "^5.9.0",
  135. "stylelint": "^15.6.1",
  136. "stylelint-config-recess-order": "^4.0.0",
  137. "stylelint-config-standard": "^33.0.0",
  138. "typescript": "^5.0.4",
  139. "vite": "^4.3.5",
  140. "vitest": "^0.31.0",
  141. "vue-eslint-parser": "^9.3.0",
  142. "vue-tsc": "^1.6.5"
  143. },
  144. "browserslist": {
  145. "production": [
  146. ">= 5%",
  147. "not dead",
  148. "not op_mini all",
  149. "not ie <= 11"
  150. ],
  151. "development": [
  152. "last 1 chrome version",
  153. "last 1 firefox version",
  154. "last 1 safari version"
  155. ]
  156. }
  157. }