All Downloads are FREE. Search and download functionalities are using the official Maven repository.

typescript-nestjs.package.mustache Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show newest version
{
  "name": "{{{npmName}}}",
  "version": "{{{npmVersion}}}",
  "description": "REST client for {{{npmName}}}",
  "author": "OpenAPI Generator Contributors",
  "repository": {
    "type": "git",
    "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
  },
  "keywords": [
    "swagger-client"
  ],
  "license": "Unlicense",
  "scripts": {
    "build": "tsc -p tsconfig.build.json",
    "build:clean": "rm -rf dist/ 2> /dev/null && tsc -p tsconfig.build.json",
    "format": "prettier --write \"src/**/*.ts\"",
    "start": "ts-node -r tsconfig-paths/register src/main.ts",
    "start:dev": "concurrently --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
    "start:debug": "nodemon --config nodemon-debug.json",
    "prestart:prod": "rimraf dist && npm run build",
    "start:prod": "node dist/main.js",
    "lint": "tslint -p tsconfig.json -c tslint.json",
    "lint:fix": "tslint -p tsconfig.json -c tslint.json --fix --force",
    "test": "jest",
    "test:watch": "jest --watch",
    "test:cov": "jest --coverage",
    "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
    "test:e2e": "jest --config ./test/jest-e2e.json"
  },
  "dependencies": {
    "@nestjs/common": "^{{nestVersion}}",
    "@nestjs/core": "^{{nestVersion}}",
    "@nestjs/platform-express": "^{{nestVersion}}",
    {{#useAxiosHttpModule}}
    "@nestjs/axios": "^2.0.0",
    {{/useAxiosHttpModule}}
    "reflect-metadata": "^0.1.13",
    "rimraf": "^2.6.3",
    "rxjs": "^7.1.0"
  },
  "devDependencies": {
    "@nestjs/testing": "~{{nestVersion}}",
    "@types/express": "^4.16.0",
    "@types/jest": "^24.0.15",
    "@types/node": "^14.8.2",
    "@types/supertest": "^2.0.8",
    "concurrently": "^4.1.1",
    "nodemon": "^1.19.1",
    "prettier": "^1.18.2",
    "supertest": "^4.0.2",
    "ts-jest": "24.0.2",
    "ts-node": "8.3.0",
    "tsconfig-paths": "3.8.0",
    "tslint": "5.18.0",
    "typescript": "^4.0",
    "wait-on": "^3.2.0"
  },
  "jest": {
    "moduleFileExtensions": [
      "js",
      "json",
      "ts"
    ],
    "rootDir": "src",
    "testRegex": ".spec.ts$",
    "transform": {
      "^.+\\.(t|j)s$": "ts-jest"
    },
    "coverageDirectory": "../coverage",
    "testEnvironment": "node"
  }{{#npmRepository}},{{/npmRepository}}
{{#npmRepository}}
  "publishConfig": {
    "registry": "{{{npmRepository}}}"
  }
{{/npmRepository}}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy