package.json 2.7 KB

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