mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 15:47:48 +01:00
update, lint, prettify everything
put backend sources into src setup circleci don't use react-loadable because it seems unnecessary
This commit is contained in:
50
package.json
50
package.json
@@ -5,12 +5,22 @@
|
||||
"description": "",
|
||||
"main": "app.js",
|
||||
"scripts": {
|
||||
"start": "node ./app.js",
|
||||
"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 ./app.js",
|
||||
"server": "npx cross-env NODE_ENV=development npx nodemon --inspect ./src/app.js",
|
||||
"test": "npx cross-env NODE_ENV=test jest --runInBand",
|
||||
"heroku-postbuild": "cd client && npm install && npm run build"
|
||||
"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",
|
||||
@@ -30,36 +40,36 @@
|
||||
"express-jwt": "^6.0.0",
|
||||
"hsts": "^2.2.0",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"mongoose": "^5.10.9",
|
||||
"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.0.1"
|
||||
"passport-local-mongoose": "^6.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^5.3.0",
|
||||
"cross-env": "^7.0.2",
|
||||
"eslint": "^6.0.0",
|
||||
"eslint-config-airbnb-base": "^14.2.0",
|
||||
"eslint-config-prettier": "^6.12.0",
|
||||
"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": "^23.20.0",
|
||||
"eslint-plugin-jest": "^24.2.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prettier": "^3.1.4",
|
||||
"eslint-plugin-react": "^7.21.4",
|
||||
"jest": "^24.0.0",
|
||||
"mongodb-memory-server": "^6.9.2",
|
||||
"nodemon": "^2.0.5",
|
||||
"prettier-eslint": "^11.0.0",
|
||||
"supertest": "^5.0.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>/tests/"
|
||||
"<rootDir>/src/tests/"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user