mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 15:47:48 +01:00
76 lines
2.6 KiB
JSON
76 lines
2.6 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": "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/"
|
|
]
|
|
}
|
|
}
|