Skip to content
Snippets Groups Projects
  • Lucendio's avatar
    f596e81b
    Update server dependencies; fix invocation in 'make test' · f596e81b
    Lucendio authored
    * update mongoose, jest and nodemon to address security alerts triggered
      by dependabot
    * 'test' target had a bug introduced by using wrong syntax
    * renamed server scripts to clarify the distinction between invocations
      in local development, CI and actual operations
    f596e81b
    History
    Update server dependencies; fix invocation in 'make test'
    Lucendio authored
    * update mongoose, jest and nodemon to address security alerts triggered
      by dependabot
    * 'test' target had a bug introduced by using wrong syntax
    * renamed server scripts to clarify the distinction between invocations
      in local development, CI and actual operations
This project manages its dependencies using npm. Learn more
package.json 708 B
{
  "name": "todo-app-server",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "scripts": {
    "start": "node src/index.js",
    "start:dev": "env-cmd -f ./dev.env nodemon src/index.js",
    "test": "jest --ci --detectOpenHandles",
    "test:dev": "env-cmd -f ./dev.env jest"
  },
  "devDependencies": {
    "env-cmd": "^10.1.0",
    "jest": "^26.4.2",
    "nodemon": "^2.0.4"
  },
  "dependencies": {
    "bcryptjs": "^2.4.3",
    "cookie-parser": "^1.4.5",
    "cors": "^2.8.5",
    "express": "^4.17.1",
    "helmet": "^3.22.0",
    "jsonwebtoken": "^8.5.1",
    "mongoose": "^5.10.7",
    "validator": "^13.0.0"
  },
  "engines": {
    "node": ">=12.16.0",
    "npm": ">=6.14.0"
  }
}