|
|
@@ -0,0 +1,65 @@
|
|
|
+{
|
|
|
+ "name": "react-boilerplate",
|
|
|
+ "version": "1.0.0",
|
|
|
+ "main": "index.js",
|
|
|
+ "license": "MIT",
|
|
|
+ "babel": {
|
|
|
+ "presets": [
|
|
|
+ "es2015",
|
|
|
+ "react",
|
|
|
+ "stage-2"
|
|
|
+ ],
|
|
|
+ "plugins": [
|
|
|
+ "react-hot-loader/babel"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "devDependencies": {
|
|
|
+ "babel-core": "^6.25.0",
|
|
|
+ "babel-jest": "^20.0.3",
|
|
|
+ "babel-loader": "^7.1.0",
|
|
|
+ "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",
|
|
|
+ "jest": "^20.0.4",
|
|
|
+ "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 --colors --hot --config ./webpack.config.js",
|
|
|
+ "build": "webpack --progress -p && cp ./public/* ./build",
|
|
|
+ "precommit": "lint-staged",
|
|
|
+ "test": "jest --watch"
|
|
|
+ },
|
|
|
+ "dependencies": {
|
|
|
+ "prop-types": "^15.5.10",
|
|
|
+ "react": "^15.6.1",
|
|
|
+ "react-dom": "^15.6.1",
|
|
|
+ "react-hot-loader": "next",
|
|
|
+ "react-motion": "^0.5.0",
|
|
|
+ "react-redux": "^5.0.5",
|
|
|
+ "react-router-dom": "4.1.1",
|
|
|
+ "redux": "^3.7.0",
|
|
|
+ "redux-actions": "^2.0.3",
|
|
|
+ "styled-components": "^2.1.0"
|
|
|
+ },
|
|
|
+ "lint-staged": {
|
|
|
+ "*.js": [
|
|
|
+ "prettier --single-quote --es5 --write",
|
|
|
+ "git add"
|
|
|
+ ],
|
|
|
+ "*.jsx": [
|
|
|
+ "prettier --single-quote --es5 --write",
|
|
|
+ "git add"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+}
|