package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "react-box",
  3. "version": "0.1.0",
  4. "private": true,
  5. "devDependencies": {
  6. "autoprefixer": "6.5.1",
  7. "babel-core": "6.17.0",
  8. "babel-eslint": "7.1.1",
  9. "babel-jest": "17.0.2",
  10. "babel-loader": "6.2.7",
  11. "babel-preset-react-app": "^2.0.1",
  12. "case-sensitive-paths-webpack-plugin": "1.1.4",
  13. "chalk": "1.1.3",
  14. "connect-history-api-fallback": "1.3.0",
  15. "cross-spawn": "4.0.2",
  16. "css-loader": "0.26.0",
  17. "detect-port": "1.0.1",
  18. "dotenv": "2.0.0",
  19. "eslint": "3.8.1",
  20. "eslint-config-react-app": "^0.5.0",
  21. "eslint-loader": "1.6.0",
  22. "eslint-plugin-flowtype": "2.21.0",
  23. "eslint-plugin-import": "2.0.1",
  24. "eslint-plugin-jsx-a11y": "2.2.3",
  25. "eslint-plugin-react": "6.4.1",
  26. "extract-text-webpack-plugin": "1.0.1",
  27. "file-loader": "0.9.0",
  28. "filesize": "3.3.0",
  29. "fs-extra": "0.30.0",
  30. "gzip-size": "3.0.0",
  31. "html-webpack-plugin": "2.24.0",
  32. "http-proxy-middleware": "0.17.2",
  33. "jest": "18.1.0",
  34. "json-loader": "0.5.4",
  35. "object-assign": "4.1.0",
  36. "path-exists": "2.1.0",
  37. "postcss-loader": "1.0.0",
  38. "promise": "7.1.1",
  39. "react-dev-utils": "^0.4.2",
  40. "recursive-readdir": "2.1.0",
  41. "strip-ansi": "3.0.1",
  42. "style-loader": "0.13.1",
  43. "truffle-contract": "^1.1.8",
  44. "truffle-solidity-loader": "0.0.8",
  45. "url-loader": "0.5.7",
  46. "webpack": "1.14.0",
  47. "webpack-dev-server": "1.16.2",
  48. "webpack-manifest-plugin": "1.1.0",
  49. "whatwg-fetch": "1.0.0"
  50. },
  51. "dependencies": {
  52. "antd": "^3.3.3",
  53. "dotenv": "^2.0.0",
  54. "react": "^15.4.2",
  55. "react-dom": "^15.4.2",
  56. "truffle-hdwallet-provider": "0.0.3"
  57. },
  58. "scripts": {
  59. "start": "node scripts/start.js",
  60. "build": "node scripts/build.js",
  61. "test": "node scripts/test.js --env=jsdom"
  62. },
  63. "jest": {
  64. "collectCoverageFrom": [
  65. "src/**/*.{js,jsx}"
  66. ],
  67. "setupFiles": [
  68. "<rootDir>/config/polyfills.js"
  69. ],
  70. "testMatch": [
  71. "<rootDir>/src/**/__tests__/**/*.js?(x)",
  72. "<rootDir>/src/**/?(*.)(spec|test).js?(x)"
  73. ],
  74. "testEnvironment": "node",
  75. "testURL": "http://localhost",
  76. "transform": {
  77. "^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
  78. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  79. "^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  80. },
  81. "transformIgnorePatterns": [
  82. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
  83. ],
  84. "moduleNameMapper": {
  85. "^react-native$": "react-native-web"
  86. },
  87. "moduleFileExtensions": [
  88. "web.js",
  89. "js",
  90. "json",
  91. "web.jsx",
  92. "jsx"
  93. ]
  94. },
  95. "babel": {
  96. "presets": [
  97. "react-app"
  98. ]
  99. },
  100. "eslintConfig": {
  101. "extends": "react-app"
  102. }
  103. }