package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "react-boilerplate",
  3. "version": "1.0.0",
  4. "main": "index.js",
  5. "license": "MIT",
  6. "babel": {
  7. "presets": [
  8. "es2015",
  9. "react",
  10. "stage-2"
  11. ],
  12. "plugins": ["react-hot-loader/babel"]
  13. },
  14. "devDependencies": {
  15. "babel-core": "^6.25.0",
  16. "babel-loader": "^7.1.0",
  17. "babel-preset-es2015": "^6.24.1",
  18. "babel-preset-react": "^6.24.1",
  19. "babel-preset-stage-2": "^6.24.1",
  20. "enzyme": "^2.8.2",
  21. "enzyme-to-json": "^1.5.1",
  22. "eslint": "^3.19.0",
  23. "eslint-config-airbnb": "^15.0.1",
  24. "eslint-plugin-import": "^2.3.0",
  25. "eslint-plugin-jsx-a11y": "^5.0.3",
  26. "eslint-plugin-react": "^7.1.0",
  27. "husky": "^0.14.1",
  28. "lint-staged": "^4.0.0",
  29. "react-test-renderer": "^15.6.1",
  30. "webpack": "^3.0.0",
  31. "webpack-dev-server": "^2.5.0"
  32. },
  33. "scripts": {
  34. "start": "webpack-dev-server --colors --hot --config ./webpack.config.js",
  35. "build": "webpack --progress -p && cp ./public/* ./build",
  36. "precommit": "lint-staged"
  37. },
  38. "dependencies": {
  39. "prop-types": "^15.5.10",
  40. "react": "^15.6.1",
  41. "react-dom": "^15.6.1",
  42. "react-hot-loader": "next",
  43. "react-motion": "^0.5.0",
  44. "react-redux": "^5.0.5",
  45. "react-router-dom": "4.1.1",
  46. "redux": "^3.7.0",
  47. "styled-components": "^2.1.0"
  48. },
  49. "lint-staged": {
  50. "*.js": [
  51. "prettier --single-quote --es5 --write",
  52. "git add"
  53. ],
  54. "*.jsx": [
  55. "prettier --single-quote --es5 --write",
  56. "git add"
  57. ]
  58. }
  59. }