A React/Express online multiplayer Tombola client/server combo.
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.

178 lines
5.0 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. {
  2. "name": "tombola",
  3. "version": "0.1.0",
  4. "private": true,
  5. "dependencies": {
  6. "@babel/core": "7.12.3",
  7. "@craco/craco": "^6.0.0",
  8. "@pmmmwh/react-refresh-webpack-plugin": "0.4.2",
  9. "@svgr/webpack": "5.4.0",
  10. "@tailwindcss/postcss7-compat": "^2.0.2",
  11. "@testing-library/jest-dom": "^5.11.4",
  12. "@testing-library/react": "^11.1.0",
  13. "@testing-library/user-event": "^12.1.10",
  14. "@types/jest": "^26.0.15",
  15. "@types/node": "^12.0.0",
  16. "@types/react": "^16.9.53",
  17. "@types/react-dom": "^16.9.8",
  18. "@typescript-eslint/eslint-plugin": "^4.5.0",
  19. "@typescript-eslint/parser": "^4.5.0",
  20. "autoprefixer": "^9",
  21. "babel-eslint": "^10.1.0",
  22. "babel-jest": "^26.6.0",
  23. "babel-loader": "8.1.0",
  24. "babel-plugin-named-asset-import": "^0.3.7",
  25. "babel-preset-react-app": "^10.0.0",
  26. "bfj": "^7.0.2",
  27. "camelcase": "^6.1.0",
  28. "case-sensitive-paths-webpack-plugin": "2.3.0",
  29. "common-tags": "^1.8.0",
  30. "css-loader": "4.3.0",
  31. "dotenv": "^8.2.0",
  32. "dotenv-expand": "5.1.0",
  33. "eslint": "^7.11.0",
  34. "eslint-config-react-app": "^6.0.0",
  35. "eslint-plugin-flowtype": "^5.2.0",
  36. "eslint-plugin-import": "^2.22.1",
  37. "eslint-plugin-jest": "^24.1.0",
  38. "eslint-plugin-jsx-a11y": "^6.3.1",
  39. "eslint-plugin-react": "^7.21.5",
  40. "eslint-plugin-react-hooks": "^4.2.0",
  41. "eslint-plugin-testing-library": "^3.9.2",
  42. "eslint-webpack-plugin": "^2.1.0",
  43. "express": "^4.17.1",
  44. "file-loader": "6.1.1",
  45. "fs-extra": "^9.0.1",
  46. "html-webpack-plugin": "4.5.0",
  47. "identity-obj-proxy": "3.0.0",
  48. "ip": "^1.1.5",
  49. "jest": "26.6.0",
  50. "jest-circus": "26.6.0",
  51. "jest-resolve": "26.6.0",
  52. "jest-watch-typeahead": "0.6.1",
  53. "list-array": "^3.2.0",
  54. "mini-css-extract-plugin": "0.11.3",
  55. "optimize-css-assets-webpack-plugin": "5.0.4",
  56. "pnp-webpack-plugin": "1.6.4",
  57. "popper.js": "^1.16.1",
  58. "postcss": "^7",
  59. "postcss-flexbugs-fixes": "4.2.1",
  60. "postcss-loader": "3.0.0",
  61. "postcss-normalize": "8.0.1",
  62. "postcss-preset-env": "6.7.0",
  63. "postcss-safe-parser": "5.0.2",
  64. "prompts": "2.4.0",
  65. "randomstring": "^1.1.5",
  66. "react": "^17.0.1",
  67. "react-app-polyfill": "^2.0.0",
  68. "react-bootstrap": "^1.4.0",
  69. "react-dev-utils": "^11.0.1",
  70. "react-dom": "^17.0.1",
  71. "react-refresh": "^0.8.3",
  72. "react-router-dom": "^5.2.0",
  73. "react-scripts": "^4.0.1",
  74. "resolve": "1.18.1",
  75. "resolve-url-loader": "^3.1.2",
  76. "sass-loader": "8.0.2",
  77. "semver": "7.3.2",
  78. "socket.io": "^3.0.5",
  79. "socket.io-client": "^3.0.5",
  80. "style-loader": "1.3.0",
  81. "tailwindcss": "npm:@tailwindcss/postcss7-compat",
  82. "terser-webpack-plugin": "4.2.3",
  83. "ts-pnp": "1.2.0",
  84. "typescript": "^4.0.3",
  85. "url-loader": "4.1.1",
  86. "web-vitals": "^0.2.4",
  87. "webpack": "4.44.2",
  88. "webpack-dev-server": "3.11.0",
  89. "webpack-manifest-plugin": "2.2.0",
  90. "workbox-webpack-plugin": "5.1.4"
  91. },
  92. "scripts": {
  93. "start": "craco start",
  94. "build": "craco build",
  95. "test": "craco test",
  96. "server": "tsc --build server/tsconfig.json && node build_server/server"
  97. },
  98. "eslintConfig": {
  99. "extends": [
  100. "react-app",
  101. "react-app/jest"
  102. ]
  103. },
  104. "browserslist": {
  105. "production": [
  106. ">0.2%",
  107. "not dead",
  108. "not op_mini all"
  109. ],
  110. "development": [
  111. "last 1 chrome version",
  112. "last 1 firefox version",
  113. "last 1 safari version"
  114. ]
  115. },
  116. "devDependencies": {
  117. "@babel/plugin-syntax-jsx": "^7.12.1",
  118. "@types/common-tags": "^1.8.0",
  119. "@types/express": "^4.17.9",
  120. "@types/randomstring": "^1.1.6",
  121. "@types/react-router-dom": "^5.1.7"
  122. },
  123. "jest": {
  124. "roots": [
  125. "<rootDir>/src"
  126. ],
  127. "collectCoverageFrom": [
  128. "src/**/*.{js,jsx,ts,tsx}",
  129. "!src/**/*.d.ts"
  130. ],
  131. "setupFiles": [
  132. "react-app-polyfill/jsdom"
  133. ],
  134. "setupFilesAfterEnv": [],
  135. "testMatch": [
  136. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  137. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  138. ],
  139. "testEnvironment": "jsdom",
  140. "testRunner": "C:\\Users\\Samplasion\\Documents\\Dev\\tombola\\node_modules\\jest-circus\\runner.js",
  141. "transform": {
  142. "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
  143. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  144. "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  145. },
  146. "transformIgnorePatterns": [
  147. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
  148. "^.+\\.module\\.(css|sass|scss)$"
  149. ],
  150. "modulePaths": [],
  151. "moduleNameMapper": {
  152. "^react-native$": "react-native-web",
  153. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  154. },
  155. "moduleFileExtensions": [
  156. "web.js",
  157. "js",
  158. "web.ts",
  159. "ts",
  160. "web.tsx",
  161. "tsx",
  162. "json",
  163. "web.jsx",
  164. "jsx",
  165. "node"
  166. ],
  167. "watchPlugins": [
  168. "jest-watch-typeahead/filename",
  169. "jest-watch-typeahead/testname"
  170. ],
  171. "resetMocks": true
  172. },
  173. "babel": {
  174. "presets": [
  175. "react-app"
  176. ]
  177. }
  178. }