File size: 3,512 Bytes
8219a27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
  "name": "@nestjs/swagger",
  "version": "11.4.5",
  "description": "Nest - modern, fast, powerful node.js web framework (@swagger)",
  "author": "Kamil Mysliwiec",
  "license": "MIT",
  "repository": "https://github.com/nestjs/swagger",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./plugin": {
      "types": "./dist/plugin/index.d.ts",
      "import": "./dist/plugin/index.js",
      "require": "./dist/plugin/index.js",
      "default": "./dist/plugin/index.js"
    },
    "./package.json": "./package.json"
  },
  "scripts": {
    "build": "tsc -p tsconfig.build.json",
    "format": "prettier \"lib/**/*.ts\" --write",
    "lint": "oxlint lib/",
    "prepublish:next": "npm run build",
    "publish:next": "npm publish --access public --tag next",
    "prepublish:npm": "npm run build",
    "publish:npm": "npm publish --access public",
    "prepare": "npm run build",
    "test": "vitest run",
    "test:dev": "vitest",
    "test:e2e": "vitest run --config vitest.e2e.config.mts",
    "prerelease": "npm run build",
    "release": "release-it",
    "---manual-tests---": "",
    "start": "nest start",
    "start:dev": "nest start --watch",
    "start:debug": "nest start --watch --debug"
  },
  "dependencies": {
    "@microsoft/tsdoc": "0.16.0",
    "@nestjs/mapped-types": "2.1.1",
    "js-yaml": "4.3.0",
    "lodash": "4.18.1",
    "path-to-regexp": "8.4.2",
    "swagger-ui-dist": "5.32.8"
  },
  "devDependencies": {
    "@commitlint/cli": "21.1.0",
    "@commitlint/config-angular": "21.1.0",
    "@fastify/compress": "^9.0.0",
    "@fastify/static": "9.1.3",
    "@nestjs/common": "11.1.27",
    "@nestjs/core": "11.1.27",
    "@nestjs/platform-express": "11.1.27",
    "@nestjs/platform-fastify": "11.1.27",
    "@types/js-yaml": "4.0.9",
    "@types/lodash": "4.17.24",
    "@types/node": "24.13.2",
    "class-transformer": "0.5.1",
    "class-validator": "0.15.1",
    "express": "5.2.1",
    "fastify": "5.9.0",
    "husky": "9.1.7",
    "lerna-changelog": "2.2.0",
    "lint-staged": "17.0.8",
    "openapi-types": "12.1.3",
    "oxlint": "^1.59.0",
    "prettier": "3.9.4",
    "prettier-v2": "npm:prettier@2.8.8",
    "reflect-metadata": "0.2.2",
    "release-it": "20.2.1",
    "rxjs": "7.8.2",
    "supertest": "7.2.2",
    "swagger-parser": "10.0.3",
    "typescript": "6.0.3",
    "vite": "^8.0.8",
    "vitest": "4.1.9"
  },
  "peerDependencies": {
    "@fastify/static": "^8.0.0 || ^9.0.0",
    "@nestjs/common": "^11.0.1",
    "@nestjs/core": "^11.0.1",
    "class-transformer": "*",
    "class-validator": "*",
    "reflect-metadata": "^0.1.12 || ^0.2.0"
  },
  "peerDependenciesMeta": {
    "@fastify/static": {
      "optional": true
    },
    "class-transformer": {
      "optional": true
    },
    "class-validator": {
      "optional": true
    }
  },
  "lint-staged": {
    "*.ts": [
      "prettier --write",
      "git add -f"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged",
      "commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS"
    }
  },
  "changelog": {
    "labels": {
      "feature": "Features",
      "bug": "Bug fixes",
      "enhancement": "Enhancements",
      "docs": "Docs",
      "dependencies": "Dependencies",
      "type: code style": "Code style tweaks",
      "breaking change": "Breaking changes"
    }
  }
}