package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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-router": "^4.2.0",
  96. "zod": "^3.21.4"
  97. },
  98. "devDependencies": {
  99. "@commitlint/cli": "^17.6.3",
  100. "@commitlint/config-conventional": "^17.6.3",
  101. "@nabla/vite-plugin-eslint": "^1.5.0",
  102. "@types/node": "20.1.4",
  103. "@types/rollup-plugin-visualizer": "^4.2.1",
  104. "@typescript-eslint/eslint-plugin": "^5.59.5",
  105. "@typescript-eslint/parser": "^5.59.5",
  106. "@vitejs/plugin-vue": "^4.2.3",
  107. "@vue/test-utils": "^2.3.2",
  108. "browserslist-to-esbuild": "^1.2.0",
  109. "commitizen": "^4.3.0",
  110. "cross-env": "^7.0.3",
  111. "cypress": "^12.12.0",
  112. "cz-conventional-changelog": "^3.3.0",
  113. "editorconfig": "^1.0.2",
  114. "eslint": "^8.40.0",
  115. "eslint-config-prettier": "^8.8.0",
  116. "eslint-config-proste": "^5.1.0",
  117. "eslint-plugin-cypress": "^2.13.3",
  118. "eslint-plugin-import": "^2.27.5",
  119. "eslint-plugin-vue": "^9.12.0",
  120. "husky": "^8.0.3",
  121. "jsdom": "^22.0.0",
  122. "lint-staged": "^13.2.2",
  123. "postcss": "^8.4.23",
  124. "postcss-nesting": "^11.2.2",
  125. "postcss-preset-env": "^8.3.2",
  126. "prettier": "^2.8.8",
  127. "rollup-plugin-visualizer": "^5.9.0",
  128. "standard-version": "^9.5.0",
  129. "stylelint": "^15.6.1",
  130. "stylelint-config-recess-order": "^4.0.0",
  131. "stylelint-config-standard": "^33.0.0",
  132. "typescript": "^5.0.4",
  133. "unplugin-element-plus": "^0.7.1",
  134. "vite": "^4.3.5",
  135. "vitest": "^0.31.0",
  136. "vue-eslint-parser": "^9.3.0",
  137. "vue-tsc": "^1.6.5"
  138. },
  139. "browserslist": {
  140. "production": [
  141. ">= 5%",
  142. "not dead",
  143. "not op_mini all",
  144. "not ie <= 11"
  145. ],
  146. "development": [
  147. "last 1 chrome version",
  148. "last 1 firefox version",
  149. "last 1 safari version"
  150. ]
  151. }
  152. }