视频播放器仓库

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "name": "videoplayer",
  3. "version": "0.1.0",
  4. "scripts": {
  5. "start": "react-scripts start",
  6. "build": "rreact-scripts build",
  7. "test": "react-scripts test"
  8. },
  9. "dependencies": {
  10. "@babel/core": "7.7.4",
  11. "@svgr/webpack": "4.3.3",
  12. "@typescript-eslint/eslint-plugin": "^2.8.0",
  13. "@typescript-eslint/parser": "^2.8.0",
  14. "babel-eslint": "10.0.3",
  15. "babel-jest": "^24.9.0",
  16. "babel-loader": "8.0.6",
  17. "babel-plugin-named-asset-import": "^0.3.5",
  18. "babel-preset-react-app": "^9.1.0",
  19. "camelcase": "^5.3.1",
  20. "case-sensitive-paths-webpack-plugin": "2.2.0",
  21. "css-loader": "3.2.0",
  22. "dotenv": "8.2.0",
  23. "dotenv-expand": "5.1.0",
  24. "eslint": "^6.6.0",
  25. "eslint-config-react-app": "^5.1.0",
  26. "eslint-loader": "3.0.2",
  27. "eslint-plugin-flowtype": "3.13.0",
  28. "eslint-plugin-import": "2.18.2",
  29. "eslint-plugin-jsx-a11y": "6.2.3",
  30. "eslint-plugin-react": "7.16.0",
  31. "eslint-plugin-react-hooks": "^1.6.1",
  32. "file-loader": "4.3.0",
  33. "fs-extra": "^8.1.0",
  34. "html-webpack-plugin": "4.0.0-beta.5",
  35. "identity-obj-proxy": "3.0.0",
  36. "jest": "24.9.0",
  37. "jest-environment-jsdom-fourteen": "0.1.0",
  38. "jest-resolve": "24.9.0",
  39. "jest-watch-typeahead": "0.4.2",
  40. "mini-css-extract-plugin": "0.8.0",
  41. "optimize-css-assets-webpack-plugin": "5.0.3",
  42. "pnp-webpack-plugin": "1.5.0",
  43. "postcss-flexbugs-fixes": "4.1.0",
  44. "postcss-loader": "3.0.0",
  45. "postcss-normalize": "8.0.1",
  46. "postcss-preset-env": "6.7.0",
  47. "postcss-safe-parser": "4.0.1",
  48. "react": "^16.12.0",
  49. "react-app-polyfill": "^1.0.5",
  50. "react-dev-utils": "^10.0.0",
  51. "react-dom": "^16.12.0",
  52. "resolve": "1.12.2",
  53. "resolve-url-loader": "3.1.1",
  54. "sass-loader": "8.0.0",
  55. "semver": "6.3.0",
  56. "style-loader": "1.0.0",
  57. "terser-webpack-plugin": "2.2.1",
  58. "ts-pnp": "1.1.5",
  59. "url-loader": "2.3.0",
  60. "webpack": "4.41.2",
  61. "webpack-dev-server": "3.9.0",
  62. "webpack-manifest-plugin": "2.2.0",
  63. "workbox-webpack-plugin": "4.3.1"
  64. },
  65. "devDependencies": {
  66. "@testing-library/jest-dom": "^4.2.4",
  67. "@testing-library/react": "^9.3.2",
  68. "@testing-library/user-event": "^7.1.2",
  69. "react-scripts": "^3.3.0"
  70. },
  71. "eslintConfig": {
  72. "extends": "react-app"
  73. },
  74. "browserslist": {
  75. "production": [
  76. ">0.2%",
  77. "not dead",
  78. "not op_mini all"
  79. ],
  80. "development": [
  81. "last 1 chrome version",
  82. "last 1 firefox version",
  83. "last 1 safari version"
  84. ]
  85. },
  86. "jest": {
  87. "roots": [
  88. "<rootDir>/src"
  89. ],
  90. "collectCoverageFrom": [
  91. "src/**/*.{js,jsx,ts,tsx}",
  92. "!src/**/*.d.ts"
  93. ],
  94. "setupFiles": [
  95. "react-app-polyfill/jsdom"
  96. ],
  97. "setupFilesAfterEnv": [
  98. "<rootDir>/src/setupTests.js"
  99. ],
  100. "testMatch": [
  101. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  102. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  103. ],
  104. "testEnvironment": "jest-environment-jsdom-fourteen",
  105. "transform": {
  106. "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
  107. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  108. "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  109. },
  110. "transformIgnorePatterns": [
  111. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
  112. "^.+\\.module\\.(css|sass|scss)$"
  113. ],
  114. "modulePaths": [],
  115. "moduleNameMapper": {
  116. "^react-native$": "react-native-web",
  117. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  118. },
  119. "moduleFileExtensions": [
  120. "web.js",
  121. "js",
  122. "web.ts",
  123. "ts",
  124. "web.tsx",
  125. "tsx",
  126. "json",
  127. "web.jsx",
  128. "jsx",
  129. "node"
  130. ],
  131. "watchPlugins": [
  132. "jest-watch-typeahead/filename",
  133. "jest-watch-typeahead/testname"
  134. ]
  135. },
  136. "babel": {
  137. "presets": [
  138. "react-app"
  139. ]
  140. }
  141. }