react仪表盘

package.json 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "my-app",
  3. "version": "0.1.0",
  4. "private": true,
  5. "dependencies": {
  6. "autoprefixer": "7.1.6",
  7. "babel-jest": "^22.1.0",
  8. "babel-loader": "^7.1.2",
  9. "babel-preset-react-app": "^3.1.1",
  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. "extract-text-webpack-plugin": "3.0.2",
  16. "file-loader": "0.11.2",
  17. "fork-ts-checker-webpack-plugin": "^0.2.8",
  18. "fs-extra": "3.0.1",
  19. "html-webpack-plugin": "2.29.0",
  20. "jest": "22.4.2",
  21. "less": "^3.7.0",
  22. "less-loader": "^4.1.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.4.1",
  29. "react-dev-utils": "^5.0.1",
  30. "react-dom": "^16.4.1",
  31. "resolve": "1.6.0",
  32. "source-map-loader": "^0.2.1",
  33. "style-loader": "0.19.0",
  34. "sw-precache-webpack-plugin": "0.11.4",
  35. "ts-jest": "22.0.1",
  36. "ts-loader": "^2.3.7",
  37. "tsconfig-paths-webpack-plugin": "^2.0.0",
  38. "tslint": "^5.7.0",
  39. "tslint-config-prettier": "^1.10.0",
  40. "tslint-react": "^3.2.0",
  41. "uglifyjs-webpack-plugin": "^1.1.8",
  42. "url-loader": "0.6.2",
  43. "webpack": "3.8.1",
  44. "webpack-dev-server": "2.9.4",
  45. "webpack-manifest-plugin": "1.3.2",
  46. "whatwg-fetch": "2.0.3"
  47. },
  48. "scripts": {
  49. "start": "node scripts/start.js",
  50. "build": "node scripts/build.js",
  51. "test": "node scripts/test.js --env=jsdom"
  52. },
  53. "devDependencies": {
  54. "@types/jest": "^23.1.5",
  55. "@types/node": "^10.5.2",
  56. "@types/react": "^16.4.6",
  57. "@types/react-dom": "^16.0.6",
  58. "typescript": "^2.9.2"
  59. },
  60. "jest": {
  61. "collectCoverageFrom": [
  62. "src/**/*.{js,jsx,ts,tsx}"
  63. ],
  64. "setupFiles": [
  65. "<rootDir>/config/polyfills.js"
  66. ],
  67. "testMatch": [
  68. "<rootDir>/src/**/__tests__/**/*.(j|t)s?(x)",
  69. "<rootDir>/src/**/?(*.)(spec|test).(j|t)s?(x)"
  70. ],
  71. "testEnvironment": "node",
  72. "testURL": "http://localhost",
  73. "transform": {
  74. "^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
  75. "^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js",
  76. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  77. "^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  78. },
  79. "transformIgnorePatterns": [
  80. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
  81. ],
  82. "moduleNameMapper": {
  83. "^react-native$": "react-native-web"
  84. },
  85. "moduleFileExtensions": [
  86. "web.ts",
  87. "ts",
  88. "web.tsx",
  89. "tsx",
  90. "web.js",
  91. "js",
  92. "web.jsx",
  93. "jsx",
  94. "json",
  95. "node",
  96. "mjs"
  97. ],
  98. "globals": {
  99. "ts-jest": {
  100. "tsConfigFile": "C:\\Users\\Administrator\\Desktop\\TestProject\\react-dashboard-ts\\tsconfig.test.json"
  101. }
  102. }
  103. },
  104. "babel": {
  105. "presets": [
  106. "react-app"
  107. ]
  108. },
  109. "eslintConfig": {
  110. "extends": "react-app"
  111. }
  112. }