package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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": [
  13. "react-hot-loader/babel"
  14. ]
  15. },
  16. "devDependencies": {
  17. "babel-core": "^6.25.0",
  18. "babel-jest": "^20.0.3",
  19. "babel-loader": "^7.1.0",
  20. "babel-preset-es2015": "^6.24.1",
  21. "babel-preset-react": "^6.24.1",
  22. "babel-preset-stage-2": "^6.24.1",
  23. "enzyme": "^2.8.2",
  24. "enzyme-to-json": "^1.5.1",
  25. "eslint": "^3.19.0",
  26. "eslint-config-airbnb": "^15.0.1",
  27. "eslint-plugin-import": "^2.3.0",
  28. "eslint-plugin-jsx-a11y": "^5.0.3",
  29. "eslint-plugin-react": "^7.1.0",
  30. "husky": "^0.14.1",
  31. "jest": "^20.0.4",
  32. "lint-staged": "^4.0.0",
  33. "react-test-renderer": "^15.6.1",
  34. "webpack": "^3.0.0",
  35. "webpack-dev-server": "^2.5.0"
  36. },
  37. "scripts": {
  38. "start": "webpack-dev-server --colors --hot --config ./webpack.config.js",
  39. "build": "webpack --progress -p && cp ./public/* ./build",
  40. "precommit": "lint-staged",
  41. "test": "jest --watch"
  42. },
  43. "dependencies": {
  44. "babel-polyfill": "^6.23.0",
  45. "prop-types": "^15.5.10",
  46. "react": "^15.6.1",
  47. "react-dom": "^15.6.1",
  48. "react-hot-loader": "next",
  49. "react-motion": "^0.5.0",
  50. "react-redux": "^5.0.5",
  51. "react-router-dom": "4.1.1",
  52. "redux": "^3.7.0",
  53. "styled-components": "^2.1.0"
  54. },
  55. "lint-staged": {
  56. "*.js": [
  57. "prettier --single-quote --es5 --write",
  58. "git add"
  59. ],
  60. "*.jsx": [
  61. "prettier --single-quote --es5 --write",
  62. "git add"
  63. ]
  64. }
  65. }