package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "react-boilerplate",
  3. "version": "1.0.0",
  4. "main": "index.js",
  5. "license": "MIT",
  6. "babel": {
  7. "presets": [
  8. "es2016",
  9. "react",
  10. "stage-2",
  11. [
  12. "env",
  13. {
  14. "targets": {
  15. "browsers": [
  16. "last 2 versions"
  17. ]
  18. }
  19. }
  20. ]
  21. ],
  22. "plugins": [
  23. "react-hot-loader/babel"
  24. ]
  25. },
  26. "eslintConfig": {
  27. "rules": {
  28. "semi": [
  29. 2,
  30. "never"
  31. ]
  32. }
  33. },
  34. "devDependencies": {
  35. "babel-core": "^6.25.0",
  36. "babel-jest": "^20.0.3",
  37. "babel-loader": "^7.1.0",
  38. "babel-preset-env": "^1.5.2",
  39. "babel-preset-es2015": "^6.24.1",
  40. "babel-preset-es2016": "^6.24.1",
  41. "babel-preset-react": "^6.24.1",
  42. "babel-preset-stage-2": "^6.24.1",
  43. "enzyme": "^2.8.2",
  44. "enzyme-to-json": "^1.5.1",
  45. "eslint": "^3.19.0",
  46. "eslint-config-airbnb": "^15.0.1",
  47. "eslint-plugin-import": "^2.3.0",
  48. "eslint-plugin-jsx-a11y": "^5.0.3",
  49. "eslint-plugin-react": "^7.1.0",
  50. "husky": "^0.14.1",
  51. "jest": "^20.0.4",
  52. "lint-staged": "^4.0.0",
  53. "react-test-renderer": "^15.6.1",
  54. "webpack": "^3.0.0",
  55. "webpack-dev-server": "^2.5.0"
  56. },
  57. "scripts": {
  58. "start": "webpack-dev-server --colors --hot --config ./webpack.config.js",
  59. "build": "webpack --progress -p && cp ./public/* ./build",
  60. "precommit": "lint-staged",
  61. "test": "jest --watch"
  62. },
  63. "dependencies": {
  64. "babel-polyfill": "^6.23.0",
  65. "es6-promise": "^4.1.1",
  66. "isomorphic-fetch": "^2.2.1",
  67. "prop-types": "^15.5.10",
  68. "react": "^15.6.1",
  69. "react-dom": "^15.6.1",
  70. "react-hot-loader": "next",
  71. "react-motion": "^0.5.0",
  72. "react-redux": "^5.0.5",
  73. "react-router-dom": "4.1.1",
  74. "redux": "^3.7.0",
  75. "redux-actions": "^2.0.3",
  76. "redux-logger": "^3.0.6",
  77. "redux-saga": "^0.15.4",
  78. "styled-components": "^2.1.0"
  79. },
  80. "lint-staged": {
  81. "*.js": [
  82. "prettier --single-quote --es5 --write",
  83. "git add"
  84. ],
  85. "*.jsx": [
  86. "prettier --single-quote --es5 --write",
  87. "git add"
  88. ]
  89. }
  90. }