Newer
Older
ServerGenerator / package.json
@peter peter on 19 Sep 2020 1 KB Migrate from tslint to eslint.
{
  "name": "server-generator",
  "version": "1.0.0",
  "description": "",
  "main": "dist/server.js",
  "scripts": {
    "generate": "npm run build-generator && node --inspect ./dist/app.js",
    "build-generator": "tsc && node dist/CopyCodeFile.js && tsc",
    "debug": "tsc && node --inspect=9229 ./dist/server.js",
    "start": "npm run build && npm run watch",
    "build": "npm run build-ts && npm run eslint",
    "watch-node": "nodemon --inspect ./dist/server.js",
    "watch-ts": "tsc -w",
    "watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,green.bold\"  \"npm run watch-ts\" \"npm run watch-node\"",
    "build-ts": "tsc",
    "eslint": "eslint . --ext .ts"
  },
  "keywords": [
    "express"
  ],
  "author": "Peter Zilz",
  "license": "ISC",
  "dependencies": {
    "body-parser": "^1.19.0",
    "express": "^4.17.1",
    "swagger-ui-express": "^4.1.4"
  },
  "devDependencies": {
    "@types/body-parser": "^1.19.0",
    "@types/express": "^4.17.6",
    "@types/swagger-ui-express": "^4.1.2",
    "@typescript-eslint/eslint-plugin": "^4.1.1",
    "@typescript-eslint/parser": "^4.1.1",
    "eslint": "^7.9.0",
    "openapi-types": "^7.0.1"
  },
  "peerDependencies": {
    "typescript": "4.0.2",
    "concurrently": "5.3.0",
    "nodemon": "2.0.4"
  }
}