package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "stt-demo",
  3. "version": "1.0.0",
  4. "license": "MIT",
  5. "type": "module",
  6. "workspaces": [
  7. "packages/*"
  8. ],
  9. "scripts": {
  10. "dev": "vite",
  11. "dev:test": "vite --mode test",
  12. "build": "vite build",
  13. "build:test": "vite build --mode test",
  14. "lint": "eslint --cache .",
  15. "lint:fix": "npm run lint --fix",
  16. "prettier": "prettier . --write --ignore-unknown",
  17. "preview": "vite preview",
  18. "proto": "pbjs -t json-module -w es6 --es6 -o src/protobuf/SttMessage.js src/protobuf/SttMessage.proto",
  19. "test:e2e": "playwright test",
  20. "test:e2e:chromium": "playwright test --project=chromium",
  21. "test:e2e:firefox": "playwright test --project=firefox",
  22. "test:e2e:webkit": "playwright test --project=webkit",
  23. "test:e2e:ui": "playwright test --ui",
  24. "test:e2e:debug": "playwright test --debug",
  25. "playwright:install": "playwright install",
  26. "typecheck": "tsc --noEmit"
  27. },
  28. "sideEffects": [
  29. "*.css"
  30. ],
  31. "dependencies": {
  32. "@ant-design/icons": "^4.8.2",
  33. "@reduxjs/toolkit": "^1.6.2",
  34. "agora-rtc-sdk-ng": "4.20.0",
  35. "agora-rtm": "2.1.9",
  36. "antd": "^5.15.3",
  37. "axios": "^1.6.7",
  38. "i18next": "23.8.2",
  39. "i18next-browser-languagedetector": "7.2.0",
  40. "i18next-http-backend": "2.4.3",
  41. "lodash-es": "^4.17.21",
  42. "protobufjs": "^7.2.5",
  43. "react": "^18.2.0",
  44. "react-dom": "^18.2.0",
  45. "react-i18next": "^14.1.0",
  46. "react-redux": "^7.2.6",
  47. "react-router-dom": "^6.21.3",
  48. "redux": "^4.1.2"
  49. },
  50. "devDependencies": {
  51. "@playwright/test": "^1.55.1",
  52. "@types/axios": "^0.14.0",
  53. "@types/lodash-es": "^4.17.6",
  54. "@types/react": "^18.2.43",
  55. "@types/react-dom": "^18.2.17",
  56. "@types/react-redux": "^7.1.22",
  57. "@typescript-eslint/eslint-plugin": "^6.14.0",
  58. "@typescript-eslint/parser": "^6.14.0",
  59. "@vitejs/plugin-react": "^4.2.1",
  60. "eslint": "^8.55.0",
  61. "eslint-config-prettier": "^8.5.0",
  62. "eslint-config-standard": "^17.1.0",
  63. "eslint-plugin-import": "^2.26.0",
  64. "eslint-plugin-n": "^16.6.2",
  65. "eslint-plugin-prettier": "^5.1.3",
  66. "eslint-plugin-promise": "^6.1.1",
  67. "eslint-plugin-react": "^7.30.1",
  68. "lint-staged": "^13.0.3",
  69. "postcss": "^8.4.21",
  70. "prettier": "^3.2.5",
  71. "protobufjs-cli": "^1.1.2",
  72. "sass": "^1.70.0",
  73. "typescript": "^5.2.2",
  74. "vite": "^5.0.8",
  75. "vite-plugin-svgr": "^4.2.0",
  76. "yorkie": "^2.0.0"
  77. },
  78. "gitHooks": {
  79. "pre-commit": "lint-staged"
  80. },
  81. "lint-staged": {
  82. "*.{js,jsx,ts,tsx}": [
  83. "eslint --cache --fix",
  84. "git add"
  85. ],
  86. "**/*": "prettier --write --ignore-unknown"
  87. },
  88. "browserslist": {
  89. "production": [
  90. ">0.2%",
  91. "not dead",
  92. "not op_mini all"
  93. ],
  94. "development": [
  95. "last 1 chrome version",
  96. "last 1 firefox version",
  97. "last 1 safari version"
  98. ]
  99. }
  100. }