package.json 4.4 KB

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