You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

138 lines
3.7 KiB

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