diff --git a/.env b/.env new file mode 100644 index 00000000..f6fb4db4 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +REACT_APP_GIPHY_API_KEY = NYBl3G1fuM3PcJWfeAv0wSS6fuHAJhIK \ No newline at end of file diff --git a/.eslintignore b/.eslintignore index 958cf535..47089736 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ /coverage/ /dist/ /node_modules/ +.env diff --git a/package.json b/package.json index 79558901..cbec7552 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,25 @@ "version": "0.1.0", "private": true, "dependencies": { + "axios": "^0.18.0", "react": "^16.2.0", "react-dom": "^16.2.0", - "react-scripts": "1.1.1" + "react-redux": "^5.0.7", + "react-router-dom": "^4.3.1", + "react-scripts": "1.1.1", + "redux": "^4.0.0", + "redux-actions": "^2.4.0", + "redux-mock-store": "^1.5.3", + "redux-persist": "^5.10.0", + "redux-saga": "^0.16.0", + "styled-components": "^3.3.3" }, "jest": { "collectCoverageFrom": [ "**/src/**/*.{js,jsx}", - "!**/src/registerServiceWorker.{js,jsx}" + "!**/src/registerServiceWorker.{js,jsx}", + "!/node_modelus", + "!**/src/index.{js.jsx}" ], "coverageThreshold": { "global": { @@ -27,10 +38,13 @@ "eject": "react-scripts eject", "lint": "eslint ./", "test": "yarn lint && yarn jest", - "jest": "react-scripts test --env=jsdom --coverage" + "jest": "react-scripts test --env=jsdom --coverage", + "precommit": "pretty-quick staged" }, "devDependencies": { "enzyme": "^3.3.0", - "enzyme-adapter-react-16": "^1.1.1" + "enzyme-adapter-react-16": "^1.1.1", + "prettier": "^1.13.7", + "pretty-quick": "^1.6.0" } } diff --git a/public/index.html b/public/index.html index ed0ebafa..0a04bea2 100644 --- a/public/index.html +++ b/public/index.html @@ -10,6 +10,7 @@ --> +