package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. {
  2. "name": "portal",
  3. "version": "0.1.0",
  4. "private": true,
  5. "homepage": "portal",
  6. "dependencies": {
  7. "@babel/core": "7.9.0",
  8. "@svgr/webpack": "4.3.3",
  9. "@testing-library/jest-dom": "^4.2.4",
  10. "@testing-library/react": "^9.3.2",
  11. "@testing-library/user-event": "^7.1.2",
  12. "@typescript-eslint/eslint-plugin": "2.x",
  13. "@typescript-eslint/parser": "2.x",
  14. "animate.css": "^3.7.2",
  15. "antd": "^4.1.4",
  16. "axios": "^0.19.2",
  17. "babel-eslint": "10.x",
  18. "babel-jest": "^24.9.0",
  19. "babel-loader": "8.1.0",
  20. "babel-plugin-named-asset-import": "^0.3.6",
  21. "babel-preset-react-app": "^9.1.2",
  22. "camelcase": "^5.3.1",
  23. "case-sensitive-paths-webpack-plugin": "2.3.0",
  24. "css-loader": "3.4.2",
  25. "dotenv": "8.2.0",
  26. "dotenv-expand": "5.1.0",
  27. "eslint": "^6.8.0",
  28. "eslint-loader": "^4.0.0",
  29. "eslint-plugin-flowtype": "^4.7.0",
  30. "eslint-plugin-import": "^2.20.2",
  31. "eslint-plugin-jsx-a11y": "6.x",
  32. "eslint-plugin-react": "^7.19.0",
  33. "eslint-plugin-react-hooks": "2.x",
  34. "file-loader": "4.3.0",
  35. "fs-extra": "^8.1.0",
  36. "history": "^4.10.1",
  37. "html-webpack-plugin": "4.0.0-beta.11",
  38. "identity-obj-proxy": "3.0.0",
  39. "jest": "24.9.0",
  40. "jest-environment-jsdom-fourteen": "1.0.1",
  41. "jest-resolve": "24.9.0",
  42. "jest-watch-typeahead": "0.4.2",
  43. "jsoneditor": "^8.6.5",
  44. "mini-css-extract-plugin": "0.9.0",
  45. "optimize-css-assets-webpack-plugin": "5.0.3",
  46. "pnp-webpack-plugin": "1.6.4",
  47. "postcss-flexbugs-fixes": "4.1.0",
  48. "postcss-loader": "3.0.0",
  49. "postcss-normalize": "8.0.1",
  50. "postcss-preset-env": "6.7.0",
  51. "postcss-safe-parser": "4.0.1",
  52. "react": "^16.13.1",
  53. "react-app-polyfill": "^1.0.6",
  54. "react-dev-utils": "^10.2.1",
  55. "react-dom": "^16.13.1",
  56. "react-lines-ellipsis": "^0.14.1",
  57. "react-pdf": "^4.1.0",
  58. "react-redux": "^7.2.0",
  59. "react-router": "^5.1.2",
  60. "react-router-dom": "^5.1.2",
  61. "react-sticky": "^6.0.3",
  62. "redux": "^4.0.5",
  63. "resolve": "1.15.0",
  64. "resolve-url-loader": "3.1.1",
  65. "sass-loader": "8.0.2",
  66. "semver": "6.3.0",
  67. "style-loader": "0.23.1",
  68. "styled-components": "^5.1.0",
  69. "terser-webpack-plugin": "2.3.5",
  70. "ts-pnp": "1.1.6",
  71. "url-loader": "2.3.0",
  72. "video.js": "^7.7.5",
  73. "webpack": "4.42.0",
  74. "webpack-dev-server": "3.10.3",
  75. "webpack-manifest-plugin": "2.2.0",
  76. "workbox-webpack-plugin": "4.3.1"
  77. },
  78. "scripts": {
  79. "start": "node scripts/start.js",
  80. "build": "node scripts/build.js",
  81. "test": "node scripts/test.js"
  82. },
  83. "eslintConfig": {
  84. "extends": "react-app"
  85. },
  86. "browserslist": {
  87. "production": [
  88. ">0.2%",
  89. "not dead",
  90. "not op_mini all"
  91. ],
  92. "development": [
  93. "last 1 chrome version",
  94. "last 1 firefox version",
  95. "last 1 safari version"
  96. ]
  97. },
  98. "jest": {
  99. "roots": [
  100. "<rootDir>/src"
  101. ],
  102. "collectCoverageFrom": [
  103. "src/**/*.{js,jsx,ts,tsx}",
  104. "!src/**/*.d.ts"
  105. ],
  106. "setupFiles": [
  107. "react-app-polyfill/jsdom"
  108. ],
  109. "setupFilesAfterEnv": [
  110. "<rootDir>/src/setupTests.js"
  111. ],
  112. "testMatch": [
  113. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  114. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  115. ],
  116. "testEnvironment": "jest-environment-jsdom-fourteen",
  117. "transform": {
  118. "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
  119. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  120. "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  121. },
  122. "transformIgnorePatterns": [
  123. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
  124. "^.+\\.module\\.(css|sass|scss)$"
  125. ],
  126. "modulePaths": [],
  127. "moduleNameMapper": {
  128. "^react-native$": "react-native-web",
  129. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  130. },
  131. "moduleFileExtensions": [
  132. "web.js",
  133. "js",
  134. "web.ts",
  135. "ts",
  136. "web.tsx",
  137. "tsx",
  138. "json",
  139. "web.jsx",
  140. "jsx",
  141. "node"
  142. ],
  143. "watchPlugins": [
  144. "jest-watch-typeahead/filename",
  145. "jest-watch-typeahead/testname"
  146. ]
  147. },
  148. "babel": {
  149. "presets": [
  150. "react-app"
  151. ]
  152. },
  153. "devDependencies": {
  154. "eslint-config-prettier": "^6.10.1",
  155. "eslint-import-resolver-webpack": "^0.12.1",
  156. "eslint-plugin-babel": "^5.3.0",
  157. "eslint-plugin-html": "^6.0.2",
  158. "eslint-plugin-prettier": "^3.1.3",
  159. "eslint-plugin-redux-saga": "^1.1.3"
  160. }
  161. }