package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "app",
  3. "version": "0.1.0",
  4. "private": true,
  5. "dependencies": {
  6. "autoprefixer": "7.1.6",
  7. "babel-jest": "20.0.3",
  8. "babel-loader": "7.1.2",
  9. "babel-preset-react-app": "^3.1.2",
  10. "case-sensitive-paths-webpack-plugin": "2.1.1",
  11. "chalk": "1.1.3",
  12. "css-loader": "0.28.7",
  13. "dotenv": "4.0.0",
  14. "dotenv-expand": "4.2.0",
  15. "eject": "0.0.4",
  16. "extract-text-webpack-plugin": "3.0.2",
  17. "file-loader": "1.1.5",
  18. "fork-ts-checker-webpack-plugin": "^0.2.8",
  19. "fs-extra": "3.0.1",
  20. "html-webpack-plugin": "2.29.0",
  21. "jest": "20.0.4",
  22. "node-sass": "^4.11.0",
  23. "object-assign": "4.1.1",
  24. "postcss-flexbugs-fixes": "3.2.0",
  25. "postcss-loader": "2.0.8",
  26. "promise": "8.0.1",
  27. "raf": "3.4.0",
  28. "react": "^16.8.6",
  29. "react-dev-utils": "^5.0.2",
  30. "react-dom": "^16.8.6",
  31. "resolve": "1.6.0",
  32. "sass-loader": "^7.1.0",
  33. "source-map-loader": "^0.2.1",
  34. "style-loader": "0.19.0",
  35. "sw-precache-webpack-plugin": "0.11.4",
  36. "ts-jest": "22.0.1",
  37. "ts-loader": "^2.3.7",
  38. "tsconfig-paths-webpack-plugin": "^2.0.0",
  39. "tslint": "^5.7.0",
  40. "tslint-config-prettier": "^1.10.0",
  41. "tslint-react": "^3.2.0",
  42. "uglifyjs-webpack-plugin": "1.2.5",
  43. "url-loader": "0.6.2",
  44. "webpack": "3.8.1",
  45. "webpack-dev-server": "2.11.3",
  46. "webpack-manifest-plugin": "1.3.2",
  47. "whatwg-fetch": "2.0.3"
  48. },
  49. "scripts": {
  50. "start": "node scripts/start.js",
  51. "build": "node scripts/build.js",
  52. "test": "node scripts/test.js --env=jsdom"
  53. },
  54. "devDependencies": {
  55. "@types/jest": "^24.0.11",
  56. "@types/node": "^11.13.6",
  57. "@types/react": "^16.8.14",
  58. "@types/react-dom": "^16.8.4",
  59. "typescript": "^3.4.4"
  60. },
  61. "jest": {
  62. "collectCoverageFrom": [
  63. "src/**/*.{js,jsx,ts,tsx}",
  64. "!**/*.d.ts"
  65. ],
  66. "setupFiles": [
  67. "<rootDir>/config/polyfills.js"
  68. ],
  69. "testMatch": [
  70. "<rootDir>/src/**/__tests__/**/*.(j|t)s?(x)",
  71. "<rootDir>/src/**/?(*.)(spec|test).(j|t)s?(x)"
  72. ],
  73. "testEnvironment": "node",
  74. "testURL": "http://localhost",
  75. "transform": {
  76. "^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
  77. "^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js",
  78. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  79. "^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  80. },
  81. "transformIgnorePatterns": [
  82. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
  83. ],
  84. "moduleNameMapper": {
  85. "^react-native$": "react-native-web"
  86. },
  87. "moduleFileExtensions": [
  88. "web.ts",
  89. "ts",
  90. "web.tsx",
  91. "tsx",
  92. "web.js",
  93. "js",
  94. "web.jsx",
  95. "jsx",
  96. "json",
  97. "node",
  98. "mjs"
  99. ],
  100. "globals": {
  101. "ts-jest": {
  102. "tsConfigFile": "D:\\fed\\migrate-webgame\\app\\tsconfig.test.json"
  103. }
  104. }
  105. },
  106. "babel": {
  107. "presets": [
  108. "react-app"
  109. ]
  110. }
  111. }