package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. "transform-class-properties"
  25. ]
  26. },
  27. "eslintConfig": {
  28. "rules": {
  29. "semi": [
  30. 2,
  31. "never"
  32. ]
  33. }
  34. },
  35. "devDependencies": {
  36. "babel-core": "^6.25.0",
  37. "babel-jest": "^20.0.3",
  38. "babel-loader": "^7.1.0",
  39. "babel-plugin-transform-class-properties": "^6.24.1",
  40. "babel-preset-env": "^1.5.2",
  41. "babel-preset-es2015": "^6.24.1",
  42. "babel-preset-es2016": "^6.24.1",
  43. "babel-preset-react": "^6.24.1",
  44. "babel-preset-stage-2": "^6.24.1",
  45. "enzyme": "^2.8.2",
  46. "enzyme-to-json": "^1.5.1",
  47. "eslint": "^3.19.0",
  48. "eslint-config-airbnb": "^15.0.1",
  49. "eslint-plugin-import": "^2.3.0",
  50. "eslint-plugin-jsx-a11y": "^5.0.3",
  51. "eslint-plugin-react": "^7.1.0",
  52. "husky": "^0.14.1",
  53. "jest": "^20.0.4",
  54. "lint-staged": "^4.0.0",
  55. "react-test-renderer": "^15.6.1",
  56. "webpack": "^3.0.0",
  57. "webpack-dev-server": "^2.5.0"
  58. },
  59. "scripts": {
  60. "start": "webpack-dev-server --colors --hot --config ./webpack.config.js",
  61. "build": "webpack --progress -p && cp ./public/* ./build",
  62. "precommit": "lint-staged",
  63. "test": "jest --watch"
  64. },
  65. "dependencies": {
  66. "babel-polyfill": "^6.23.0",
  67. "es6-promise": "^4.1.1",
  68. "isomorphic-fetch": "^2.2.1",
  69. "prop-types": "^15.5.10",
  70. "react": "^15.6.1",
  71. "react-dom": "^15.6.1",
  72. "react-hot-loader": "next",
  73. "react-motion": "^0.5.0",
  74. "react-redux": "^5.0.5",
  75. "react-router-dom": "4.1.1",
  76. "redux": "^3.7.0",
  77. "redux-actions": "^2.0.3",
  78. "redux-logger": "^3.0.6",
  79. "redux-saga": "^0.15.4",
  80. "styled-components": "^2.1.0"
  81. },
  82. "lint-staged": {
  83. "*.js": [
  84. "prettier --single-quote --es5 --write",
  85. "git add"
  86. ],
  87. "*.jsx": [
  88. "prettier --single-quote --es5 --write",
  89. "git add"
  90. ]
  91. }
  92. }