|
|
@@ -17,15 +17,43 @@
|
|
|
"babel-preset-es2015": "^6.24.1",
|
|
|
"babel-preset-react": "^6.24.1",
|
|
|
"babel-preset-stage-2": "^6.24.1",
|
|
|
+ "enzyme": "^2.8.2",
|
|
|
+ "enzyme-to-json": "^1.5.1",
|
|
|
+ "eslint": "^3.19.0",
|
|
|
+ "eslint-config-airbnb": "^15.0.1",
|
|
|
+ "eslint-plugin-import": "^2.3.0",
|
|
|
+ "eslint-plugin-jsx-a11y": "^5.0.3",
|
|
|
+ "eslint-plugin-react": "^7.1.0",
|
|
|
+ "husky": "^0.14.1",
|
|
|
+ "lint-staged": "^4.0.0",
|
|
|
+ "react-test-renderer": "^15.6.1",
|
|
|
"webpack": "^3.0.0",
|
|
|
"webpack-dev-server": "^2.5.0"
|
|
|
},
|
|
|
"scripts": {
|
|
|
- "start": "webpack-dev-server --progress --colors --hot --config ./webpack.config.js"
|
|
|
+ "start": "webpack-dev-server --colors --hot --config ./webpack.config.js",
|
|
|
+ "build": "webpack --progress -p && cp ./public/* ./build",
|
|
|
+ "precommit": "lint-staged"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
+ "prop-types": "^15.5.10",
|
|
|
"react": "^15.6.1",
|
|
|
"react-dom": "^15.6.1",
|
|
|
- "react-hot-loader": "next"
|
|
|
+ "react-hot-loader": "next",
|
|
|
+ "react-motion": "^0.5.0",
|
|
|
+ "react-redux": "^5.0.5",
|
|
|
+ "react-router-dom": "4.1.1",
|
|
|
+ "redux": "^3.7.0",
|
|
|
+ "styled-components": "^2.1.0"
|
|
|
+ },
|
|
|
+ "lint-staged": {
|
|
|
+ "*.js": [
|
|
|
+ "prettier --single-quote --es5 --write",
|
|
|
+ "git add"
|
|
|
+ ],
|
|
|
+ "*.jsx": [
|
|
|
+ "prettier --single-quote --es5 --write",
|
|
|
+ "git add"
|
|
|
+ ]
|
|
|
}
|
|
|
}
|