BugoMax
6/3/2019 - 10:01 AM

Back-end conf (NODE)

{
  "name": "name",
  "version": "1.0.0",
  "description": "description",
  "main": "index.js",
  "scripts": {
    "dev": "nodemon index.js",
    "dev-ts": "nodemon ./src/index.ts",
    "start": "npm run serve",
    "serve": "nodemon --exec ts-node -- ./index.ts",
    "serve-debug": "nodemon --inspect dist/server.js",
    "build": "npm run build-ts && npm run tslint",
    "build-ts": "tsc",
    "watch-node": "nodemon dist/server.js",
    "watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
    "watch-test": "npm run test -- --watchAll",
    "watch-ts": "tsc -w",
    "watch-debug": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run serve-debug\"",
    "test": "jest --forceExit --coverage --verbose",
    "tslint": "tslint -c tslint.json -p tsconfig.json",
    "debug": "npm run build && npm run watch-debug"
  },
  "author": "Maxim Rozhaev",
  "license": "ISC",
  "dependencies": {
    "express": "^4.16.0",
    "express-flash": "0.0.2",
    "express-session": "^1.15.6",
    "express-validator": "^4.3.0",
    "body-parser": "^1.18.0",
    "mongodb": "^3.1.3",
    "connect-mongo": "^2.0.0",
    "async": "^2.6.0",
    "bcrypt-nodejs": "^0.0.3",
    "compression": "^1.7.1",
    "dotenv": "^4.0.0",
    "errorhandler": "^1.5.0",
    "nodemailer": "^4.4.1",
    "request": "^2.83.0",
    "request-promise": "^4.2.2",
    "app-module-path": "2.2.0",
    "axios": "0.17.1",
    "cookie-parser": "1.4.3",
    "cors": "2.8.4",
    "date-fns": "1.29.0",
    "fs-extra": "5.0.0",
    "handlebars": "4.0.11",
    "joi": "13.1.0",
    "jsonwebtoken": "8.1.0",
    "lodash": "4.17.4",
    "mongoose": "5.0.1",
    "morgan": "1.9.0",
    "nodemailer-sendgrid-transport": "0.2.0",
    "strip-json-comments": "2.0.1",
    "winston": "^2.4.0"
  },
  "devDependencies": {
    "@types/async": "^2.0.45",
    "@types/chai": "4.1.1",
    "@types/fs-extra": "5.0.0",
    "@types/bcrypt-nodejs": "^0.0.30",
    "@types/body-parser": "^1.16.8",
    "@types/compression": "^0.0.35",
    "@types/connect-mongo": "^0.0.35",
    "@types/dotenv": "^4.0.2",
    "@types/errorhandler": "^0.0.32",
    "@types/express": "^4.11.1",
    "@types/express-session": "^1.15.8",
    "@types/jest": "^22.1.3",
    "@types/mongodb": "^3.0.5",
    "@types/mongoose": "^4.7.34",
    "@types/morgan": "^1.7.35",
    "@types/node": "^9.4.6",
    "@types/nodemailer": "^4.3.4",
    "@types/request": "^2.47.0",
    "@types/supertest": "^2.0.4",
    "@types/winston": "^2.3.7",
    "chai": "^4.1.2",
    "concurrently": "^3.5.1",
    "supertest": "^3.0.0",
    "ts-node": "^5.0.0",
    "tslint": "^5.9.1",
    "jest": "^23.5.0",
    "nodemon": "^1.18.3",
    "ts-jest": "^23.1.4",
    "typescript": "^3.0.1"
  }
}