mistaguy/ment

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "ment",
  "appName": "Ment",
  "cleintVersion": "1.0.0",
  "serverVersion": "1.0.0",
  "version": "1.0.0",
  "description": "A backend boilerplate for apps built using expressjs, node, mongodb using typescript",
  "engines": {
    "node": "11.5.x",
    "npm": "6.4.x"
  },
  "scripts": {
    "start": "npm run dev:server",
    "watch": "nodemon --watch webpack.config.js --watch Gruntfile.js --exec grunt",
    "dev:server": "nodemon ./dist/server.js",
    "prod:server:start": "pm2 start ./dist/server.js",
    "prod:server:stop": "pm2 stop ./dist/server.js",
    "emit": "tsc",
    "pretest": "npm run lint && npm run build:test && tsc",
    "test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --config .mocharc.json",
    "test:dev": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --config .mocharc.dev.json",
    "test:unit": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc -r lcov -e .ts -x \"*.spec.ts\" mocha --config .mocharc.json -r ts-node/register src/**/*.spec.ts && nyc report",
    "upload_coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
    "lint": "tslint -c tslint.json '**/*.ts' --exclude '**/node_modules/**'",
    "lint:fix": "npm run lint -- --fix",
    "build": "grunt developProd",
    "build:release": "grunt release",
    "build:test": "grunt test",
    "snyk-protect": "snyk protect",
    "prepare": "npm run snyk-protect"
  },
  "pre-commit": [
    "emit",
    "lint"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/mistaguy/ment"
  },
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/mistaguy/ment/issues"
  },
  "devDependencies": {
    "@types/chai": "^4.2.14",
    "@types/classnames": "^2.2.11",
    "@types/core-js": "^2.5.4",
    "@types/dotenv": "^8.2.0",
    "@types/express": "^4.17.11",
    "@types/express-serve-static-core": "^4.17.18",
    "@types/mocha": "^8.2.0",
    "@types/node": "^14.14.25",
    "ajv": "^7.0.4",
    "chai": "^4.3.0",
    "check-dependencies": "^1.1.0",
    "copy-webpack-plugin": "^7.0.0",
    "core-js": "^3.8.3",
    "coveralls": "^3.1.0",
    "extract-text-webpack-plugin": "^4.0.0-beta.0",
    "grunt": "^1.3.0",
    "grunt-check-dependencies": "^1.0.0",
    "grunt-contrib-clean": "^2.0.0",
    "grunt-contrib-compress": "^2.0.0",
    "grunt-contrib-copy": "^1.0.0",
    "grunt-contrib-watch": "^1.0.1",
    "grunt-file-append": "0.0.7",
    "grunt-newer": "^1.3.0",
    "grunt-webpack": "^4.0.2",
    "istanbul": "^0.4.5",
    "istanbul-instrumenter-loader": "^3.0.0",
    "mocha": "^8.2.1",
    "mocha-lcov-reporter": "^1.3.0",
    "nodemon": "^2.0.7",
    "npm-check": "^5.9.2",
    "nyc": "^15.1.0",
    "pre-commit": "^1.2.2",
    "remap-istanbul": "^0.13.0",
    "string-replace-loader": "^3.0.1",
    "supertest": "^6.1.3",
    "ts-loader": "^8.0.16",
    "ts-node": "^9.1.1",
    "tslint": "^6.1.3",
    "tslint-eslint-rules": "^5.4.0",
    "typescript": "^4.1.4",
    "webpack": "^5.21.2",
    "webpack-dev-server": "^3.11.2",
    "webpack-merge": "^5.7.3",
    "webpack-node-externals": "^2.5.2"
  },
  "dependencies": {
    "@types/app-root-path": "^1.2.4",
    "@types/bcryptjs": "^2.4.2",
    "@types/bluebird": "^3.5.33",
    "@types/body-parser": "^1.19.0",
    "@types/cors": "^2.8.9",
    "@types/jsonwebtoken": "^8.5.0",
    "@types/lodash": "^4.14.168",
    "@types/mongodb": "^3.6.6",
    "@types/mongoose": "^5.10.3",
    "@types/morgan": "^1.9.2",
    "@types/passport": "^1.0.6",
    "@types/passport-jwt": "^3.0.4",
    "@types/supertest": "^2.0.10",
    "@types/swagger-ui-express": "^4.1.2",
    "@types/winston": "^2.4.4",
    "app-root-path": "^3.0.0",
    "bcryptjs": "^2.4.3",
    "bluebird": "^3.7.2",
    "body-parser": "^1.19.0",
    "classnames": "^2.2.5",
    "cookie": "^0.4.1",
    "cookie-session": "^2.0.0-beta.3",
    "cors": "^2.8.5",
    "dotenv": "^8.2.0",
    "express": "^4.17.1",
    "express-validator": "^6.0.0",
    "jsonwebtoken": "^8.5.1",
    "jwt-simple": "^0.5.6",
    "moment": "^2.29.1",
    "mongodb": "^3.6.4",
    "mongoose": "^5.7.5",
    "mongoose-data-seed": "^2.0.0",
    "morgan": "^1.10.0",
    "npm": "^7.5.3",
    "passport": "^0.4.1",
    "passport-jwt": "^4.0.0",
    "request": "^2.88.2",
    "requirejs": "^2.3.6",
    "snyk": "^1.448.0",
    "swagger-ui-express": "^4.1.6",
    "winston": "^3.3.3"
  },
  "snyk": true
}