Spaces:
Sleeping
Sleeping
| { | |
| "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" | |
| } | |
| } | |
| } | |