mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 15:47:48 +01:00
put backend sources into src setup circleci don't use react-loadable because it seems unnecessary
76 lines
2.3 KiB
JSON
76 lines
2.3 KiB
JSON
{
|
|
"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/"
|
|
]
|
|
}
|
|
}
|