update stuff

This commit is contained in:
2021-11-20 10:48:47 +00:00
parent e90646e07d
commit 0e085693fa
5 changed files with 22791 additions and 2267 deletions

22269
client/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,21 +3,21 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "^4.11.3",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@redux-offline/redux-offline": "^2.6.0",
"http-proxy-middleware": "^1.0.6",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-redux": "^7.2.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.6",
"react-router-dom": "^5.2.0",
"react-router-redux": "^4.0.8",
"react-scripts": "4.0.3",
"react-spring": "^8.0.27",
"redux": "^4.0.5",
"redux-form": "^8.3.7",
"redux-thunk": "^2.3.0"
"redux": "^4.1.2",
"redux-form": "^8.3.8",
"redux-thunk": "^2.4.0"
},
"scripts": {
"start": "react-scripts start",

2624
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,75 +1,75 @@
{
"name": "todolist",
"version": "0.1.0",
"private": true,
"description": "",
"main": "app.js",
"scripts": {
"start": "node ./src/app.js",
"dev": "npx concurrently npm:client npm:server -c 'blue,green'",
"client": "cd client && npm start",
"server": "npx cross-env NODE_ENV=development npx nodemon --inspect ./src/app.js",
"test": "npx cross-env NODE_ENV=test jest --runInBand",
"test-frontend": "cd client && npm test",
"test-all": "npm test && npm run test-frontend",
"heroku-postbuild": "cd client && npm install && npm run build",
"lint": "eslint ./src/** --ext .js,.jsx,.ts,.tsx",
"lint-fix": "eslint ./src/** --ext .js,.jsx,.ts,.tsx --fix",
"lint-frontend": "cd client && npm run lint",
"lint-frontend-fix": "cd client && npm run lint-fix",
"lint-all": "npm run lint && npm run lint-frontend",
"lint-all-fix": "npm run lint-fix && npm run lint-frontend-fix",
"prettier-check": "prettier ./src/ ./client/src/ --check",
"prettify": "prettier ./src/ ./client/src/ --write"
},
"cacheDirectories": [
"client/node_modules",
"node_modules"
],
"engines": {
"node": "10.x.x"
},
"author": "",
"dependencies": {
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-http-to-https": "^1.1.4",
"express-jwt": "^6.0.0",
"hsts": "^2.2.0",
"jsonwebtoken": "^8.5.1",
"mongoose": "^5.12.0",
"mongoose-findorcreate": "^3.0.0",
"mongoose-unique-validator": "^2.0.3",
"morgan": "^1.10.0",
"passport": "^0.4.1",
"passport-google-oauth": "^2.0.0",
"passport-local": "^1.0.0",
"passport-local-mongoose": "^6.1.0"
},
"devDependencies": {
"concurrently": "^6.0.0",
"cross-env": "^7.0.3",
"eslint": "^7.22.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.2.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"jest": "26.6.0",
"mongodb-memory-server": "^6.9.6",
"nodemon": "^2.0.7",
"prettier-eslint": "^12.0.0",
"supertest": "^6.1.3"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src/tests/"
]
}
"name": "todolist",
"version": "0.1.0",
"private": true,
"description": "",
"main": "app.js",
"scripts": {
"start": "node ./src/app.js",
"dev": "npx concurrently npm:client npm:server -c 'blue,green'",
"client": "cd client && npm start",
"server": "npx cross-env NODE_ENV=development npx nodemon --inspect ./src/app.js",
"test": "npx cross-env NODE_ENV=test jest --runInBand",
"test-frontend": "cd client && npm test",
"test-all": "npm test && npm run test-frontend",
"heroku-postbuild": "cd client && npm install && npm run build",
"lint": "eslint ./src/** --ext .js,.jsx,.ts,.tsx",
"lint-fix": "eslint ./src/** --ext .js,.jsx,.ts,.tsx --fix",
"lint-frontend": "cd client && npm run lint",
"lint-frontend-fix": "cd client && npm run lint-fix",
"lint-all": "npm run lint && npm run lint-frontend",
"lint-all-fix": "npm run lint-fix && npm run lint-frontend-fix",
"prettier-check": "prettier ./src/ ./client/src/ --check",
"prettify": "prettier ./src/ ./client/src/ --write"
},
"cacheDirectories": [
"client/node_modules",
"node_modules"
],
"engines": {
"node": "14.x.x"
},
"author": "",
"dependencies": {
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-http-to-https": "^1.1.4",
"express-jwt": "^6.1.0",
"hsts": "^2.2.0",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.0.13",
"mongoose-findorcreate": "^3.0.0",
"mongoose-unique-validator": "^3.0.0",
"morgan": "^1.10.0",
"passport": "^0.5.0",
"passport-google-oauth": "^2.0.0",
"passport-local": "^1.0.0",
"passport-local-mongoose": "^6.1.0"
},
"devDependencies": {
"concurrently": "^6.4.0",
"cross-env": "^7.0.3",
"eslint": "^7.22.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.1",
"jest": "^26.6.0",
"mongodb-memory-server": "^8",
"nodemon": "^2.0.15",
"prettier-eslint": "^13.0.0",
"supertest": "^6.1.6"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src/tests/"
]
}
}

View File

@@ -36,10 +36,7 @@ async function clean() {
const mongodbMemoryServerConfig = {
binary: {
version: "4.0.14",
},
instance: {
args: ["--enableMajorityReadConcern=false"],
version: "5.0.3",
},
};