package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "dcshop_webapp",
  3. "version": "1.0.0",
  4. "type": "module",
  5. "imports": {
  6. "#root/*": "./build/src/*"
  7. },
  8. "scripts": {
  9. "serve": "vite",
  10. "build": "run-p type-check \"build-only {@}\" --",
  11. "preview": "vite preview",
  12. "build-only": "vite build",
  13. "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
  14. "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
  15. "format": "prettier --write src/"
  16. },
  17. "private": true,
  18. "dependencies": {
  19. "@splidejs/vue-splide": "^0.6.12",
  20. "axios": "^1.6.2",
  21. "eslint-config-airbnb-base": "^15.0.0",
  22. "eslint-config-prettier": "^9.1.0",
  23. "eslint-import-resolver-typescript": "^3.6.1",
  24. "eslint-plugin-import": "^2.29.1",
  25. "eslint-plugin-unicorn": "^51.0.1",
  26. "pinia": "^2.0.4",
  27. "vue": "^3.3.4",
  28. "vue-i18n": "^9.1.10",
  29. "vue-router": "^4.2.5",
  30. "vue-tg": "^0.0.3",
  31. "vue3-touch-events": "^4.1.8"
  32. },
  33. "devDependencies": {
  34. "@rushstack/eslint-patch": "^1.5.1",
  35. "@tsconfig/node18": "^18.2.2",
  36. "@types/node": "^20.8.4",
  37. "@vitejs/plugin-vue": "^4.4.0",
  38. "@vue/eslint-config-prettier": "^8.0.0",
  39. "@vue/eslint-config-typescript": "^12.0.0",
  40. "@vue/tsconfig": "^0.4.0",
  41. "autoprefixer": "^10.4.16",
  42. "eslint": "^8.51.0",
  43. "eslint-plugin-vue": "^9.17.0",
  44. "npm-run-all": "^4.1.5",
  45. "sass": "^1.69.5",
  46. "ts-loader": "^9.5.1",
  47. "typescript": "~5.2.2",
  48. "vite": "^4.4.11",
  49. "vite-plugin-pwa": "^0.16.5",
  50. "vue-tsc": "^1.8.27"
  51. },
  52. "lint-staged": {
  53. "*.ts": "npm run lint"
  54. }
  55. }