swimlane/node-microservice-demo

View on GitHub
petstore/package.json

Summary

Maintainability
Test Coverage
{
  "name": "node-microservice-demo",
  "version": "1.0.0",
  "description": "Nodejs + TypeScript + Swagger + Docker + Express seed project",
  "main": "index.js",
  "scripts": {
    "check": "npm-check --skip-unused",
    "preinstall": "npm i -g nodemon node-inspector rimraf npm-run-all npm-check",
    "start": "npm-run-all -s clean build start:simple",
    "start:simple": "node .",
    "start:dev": "npm-run-all -s clean build -p watch:*",
    "start:debug": "npm-run-all -s clean build -p watch:* debug",
    "clean": "npm-run-all -p clean:*",
    "clean:dist": "rimraf dist",
    "clean:cov": "rimraf coverage",
    "debug": "node-debug",
    "build": "npm-run-all -s build:ts build:swagger",
    "build:ts": "./node_modules/typescript/bin/tsc",
    "build:swagger": "node ./dist/tasks/swagger.js",
    "watch:ts": "./node_modules/typescript/bin/tsc --watch",
    "watch:node": "nodemon --debug --delay 2.5",
    "lint": "./node_modules/tslint/bin/tslint ./src/{,**/}*.ts",
    "pretest": "npm-run-all -s clean build",
    "test": "npm-run-all -s test:cov test:cov:remap",
    "test:api": "mocha dist/tests/api/*.spec.js -R spec --bail",
    "test:unit": "mocha dist/tests/unit/*.spec.js -R spec --bail",
    "test:cov": "istanbul cover node_modules/mocha/bin/_mocha -- dist/**/*.spec.js -R spec --bail",
    "test:cov:remap": "npm-run-all test:cov:remap:*",
    "test:cov:remap:html": "./node_modules/.bin/remap-istanbul -i coverage/coverage.json -o coverage/lcov-report -t html",
    "test:cov:remap:loc": "./node_modules/.bin/remap-istanbul -i coverage/coverage.json -o coverage/lcov.info -t lcovonly"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/swimlane/node-microservice-demo.git"
  },
  "keywords": [
    "typescript",
    "swagger",
    "docker",
    "express"
  ],
  "engines": {
    "node": "~6.3"
  },
  "engineStrict": true,
  "author": "Swimlane",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/swimlane/node-microservice-demo/issues"
  },
  "homepage": "https://github.com/swimlane/node-microservice-demod#readme",
  "dependencies": {
    "body-parser": "^1.15.2",
    "config": "^1.21.0",
    "cors": "^2.7.1",
    "event-dispatch": "^0.4.1",
    "express": "^4.14.0",
    "express-ping": "^1.1.0",
    "express-winston": "^1.4.2",
    "js-yaml": "^3.6.1",
    "mongodb": "^2.2.1",
    "passport": "^0.3.2",
    "reflect-metadata": "^0.1.3",
    "routing-controllers": "^0.6.0-beta.1",
    "socket.io": "^1.4.8",
    "swagger-client": "^2.1.15",
    "swagger-tools": "^0.10.1",
    "typedi": "^0.4.1",
    "winston": "^2.2.0",
    "passport-jwt": "^2.1.0",
    "glob": "^7.0.5"
  },
  "devDependencies": {
    "@types/body-parser": "0.0.29",
    "@types/chai": "^3.4.26-alpha",
    "@types/config": "0.0.29",
    "@types/cors": "0.0.29",
    "@types/express": "^4.0.29",
    "@types/glob": "^5.0.29",
    "@types/js-yaml": "^3.5.25-alpha",
    "@types/mocha": "^2.2.25-alpha",
    "@types/mongodb": "^2.1.27-alpha",
    "@types/node": "^4.0.26-alpha",
    "@types/passport": "^0.2.27",
    "@types/passport-jwt": "^2.0.18",
    "@types/serve-static": "^1.7.27",
    "@types/socket.io": "^1.4.26",
    "@types/supertest": "^2.0.3",
    "@types/winston": "^2.2.25-alpha",
    "chai": "^3.5.0",
    "codeclimate-test-reporter": "^0.3.3",
    "istanbul": "^0.4.4",
    "mocha": "^2.5.3",
    "remap-istanbul": "^0.6.4",
    "source-map-support": "^0.4.1",
    "supertest": "^3.0.0",
    "swagger-jsdoc": "^1.3.1",
    "ts-helpers": "^1.1.1",
    "tslint": "^3.12.0-dev.2",
    "typescript": "^2.0.0",
    "npm-run-all": "^3.0.0",
    "rimraf": "^2.0.0"
  }
}