2020-04-09 02:36:23 +03:00
|
|
|
{
|
2020-04-12 04:22:30 +03:00
|
|
|
"name": "react-redux-course",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"private": true,
|
2020-04-09 02:36:23 +03:00
|
|
|
"description": "React and Redux Pluralsight course by Cory House",
|
2020-04-11 01:08:28 +03:00
|
|
|
"scripts": {
|
2020-04-11 20:01:31 +03:00
|
|
|
"start": "run-p start:dev start:api",
|
|
|
|
"start:dev": "webpack-dev-server --config webpack.config.dev.js --port 3000",
|
|
|
|
"prestart:api": "node tools/createMockDb.js",
|
2020-04-12 02:46:44 +03:00
|
|
|
"start:api": "node tools/apiServer.js",
|
2020-04-12 03:44:41 +03:00
|
|
|
"test": "jest --watch",
|
|
|
|
"test:ci": "jest",
|
|
|
|
"clean:build": "rimraf ./build && mkdir build",
|
|
|
|
"prebuild": "run-p clean:build test:ci",
|
|
|
|
"build": "webpack --config webpack.config.prod.js",
|
|
|
|
"postbuild": "run-p start:api serve:build",
|
|
|
|
"serve:build": "http-server ./build"
|
2020-04-12 02:46:44 +03:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"setupFiles": [
|
|
|
|
"./tools/testSetup.js"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tools/fileMock.js",
|
|
|
|
"\\.(css|less)$": "<rootDir>/tools/styleMock.js"
|
|
|
|
}
|
2020-04-11 01:08:28 +03:00
|
|
|
},
|
2020-04-09 02:36:23 +03:00
|
|
|
"dependencies": {
|
|
|
|
"bootstrap": "4.3.1",
|
|
|
|
"immer": "2.1.3",
|
|
|
|
"prop-types": "15.7.2",
|
|
|
|
"react": "16.8.4",
|
|
|
|
"react-dom": "16.8.4",
|
|
|
|
"react-redux": "6.0.1",
|
|
|
|
"react-router-dom": "5.0.0",
|
|
|
|
"react-toastify": "4.5.2",
|
|
|
|
"redux": "4.0.1",
|
|
|
|
"redux-thunk": "2.3.0",
|
|
|
|
"reselect": "4.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "7.3.4",
|
|
|
|
"babel-eslint": "10.0.1",
|
|
|
|
"babel-loader": "8.0.5",
|
|
|
|
"babel-preset-react-app": "7.0.2",
|
|
|
|
"css-loader": "2.1.1",
|
|
|
|
"cssnano": "4.1.10",
|
|
|
|
"enzyme": "3.9.0",
|
|
|
|
"enzyme-adapter-react-16": "1.11.2",
|
|
|
|
"eslint": "5.15.2",
|
|
|
|
"eslint-loader": "2.1.2",
|
|
|
|
"eslint-plugin-import": "2.16.0",
|
|
|
|
"eslint-plugin-react": "7.12.4",
|
|
|
|
"fetch-mock": "7.3.1",
|
|
|
|
"html-webpack-plugin": "3.2.0",
|
|
|
|
"http-server": "0.9.0",
|
|
|
|
"jest": "24.5.0",
|
|
|
|
"json-server": "0.14.2",
|
|
|
|
"mini-css-extract-plugin": "0.5.0",
|
|
|
|
"node-fetch": "^2.3.0",
|
|
|
|
"npm-run-all": "4.1.5",
|
|
|
|
"postcss-loader": "3.0.0",
|
|
|
|
"react-test-renderer": "16.8.4",
|
|
|
|
"react-testing-library": "6.0.0",
|
|
|
|
"redux-immutable-state-invariant": "2.1.0",
|
|
|
|
"redux-mock-store": "1.5.3",
|
|
|
|
"rimraf": "2.6.3",
|
|
|
|
"style-loader": "0.23.1",
|
|
|
|
"webpack": "4.29.6",
|
|
|
|
"webpack-bundle-analyzer": "3.1.0",
|
|
|
|
"webpack-cli": "3.3.0",
|
|
|
|
"webpack-dev-server": "3.2.1"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=8"
|
2020-04-11 01:08:28 +03:00
|
|
|
},
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
|
|
|
"babel-preset-react-app"
|
|
|
|
]
|
2020-04-11 01:18:45 +03:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings"
|
|
|
|
],
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2018,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
|
|
|
"es6": true,
|
|
|
|
"jest": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-debugger": "off",
|
|
|
|
"no-console": "off",
|
|
|
|
"no-unused-vars": "warn",
|
|
|
|
"react/prop-types": "warn"
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"root": true
|
2020-04-09 02:36:23 +03:00
|
|
|
}
|
|
|
|
}
|