Files
nest/package.json
2026-02-21 12:42:26 +00:00

243 lines
8.4 KiB
JSON

{
"name": "@nestjs/core",
"version": "11.1.10",
"description": "Modern, fast, powerful node.js web framework",
"homepage": "https://nestjs.com",
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest.git"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/nest"
},
"license": "MIT",
"author": "Kamil Mysliwiec",
"scripts": {
"build": "tsc -b -v packages",
"postbuild": "npm run move:node_modules",
"build:dev": "tsc -b -v packages --watch",
"prebuild:prod": "npm run clean",
"build:prod": "tsc -b -v packages",
"changelog": "lerna-changelog",
"clean": "tsc -b --clean packages",
"move:samples": "gulp move:samples",
"move:node_modules": "gulp move:node_modules",
"build:samples": "gulp install:samples && npm run build && npm run move:samples && gulp build:samples && gulp test:samples && gulp test:e2e:samples",
"codechecks:benchmarks": "codechecks ./tools/benchmarks/check-benchmarks.ts",
"coverage": "nyc report --reporter=text-lcov | coveralls -v",
"format": "prettier \"**/*.ts\" \"packages/**/*.json\" --ignore-path ./.prettierignore --write && git status",
"postinstall": "opencollective",
"test": "mocha packages/**/*.spec.ts",
"test:dev": "mocha -w --watch-files \"packages\" packages/**/*.spec.ts",
"pretest:cov": "npm run clean",
"test:cov": "nyc mocha packages/**/*.spec.ts --reporter spec",
"test:integration": "mocha --reporter-option maxDiffSize=0 \"integration/*/{,!(node_modules)/**/}/*.spec.ts\"",
"test:docker:up": "docker-compose -f integration/docker-compose.yml up -d",
"test:docker:down": "docker-compose -f integration/docker-compose.yml down",
"lint": "concurrently 'npm run lint:packages' 'npm run lint:integration' 'npm run lint:spec'",
"lint:fix": "concurrently 'npm run lint:packages -- --fix' 'npm run lint:integration -- --fix' 'npm run lint:spec -- --fix'",
"lint:integration": "node --max-old-space-size=4096 ./node_modules/.bin/eslint 'integration/**/*.ts'",
"lint:packages": "node --max-old-space-size=4096 ./node_modules/.bin/eslint 'packages/**/**.ts' --ignore-pattern 'packages/**/*.spec.ts'",
"lint:spec": "node --max-old-space-size=4096 ./node_modules/.bin/eslint 'packages/**/**.spec.ts'",
"lint:ci": "concurrently 'npm run lint:packages' 'npm run lint:spec'",
"prerelease": "gulp copy-misc",
"publish": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --force-publish --exact -m \"chore(release): publish %s release\"",
"prepublishOnly": "npm run changelog | pbcopy",
"publish:beta": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=beta -m \"chore(release): publish %s release\"",
"publish:next": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=next --skip-git -m \"chore(release): publish %s release\"",
"publish:rc": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=rc -m \"chore(release): publish %s release\"",
"publish:test": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --force-publish --npm-tag=test --skip-git -m \"chore(release): publish %s release\"",
"prepare": "husky"
},
"lint-staged": {
"**/*.ts": [
"prettier --ignore-path ./.prettierignore --write"
],
"packages/**/*.json": [
"prettier --ignore-path ./.prettierignore --write"
]
},
"dependencies": {
"@nuxt/opencollective": "0.4.1",
"ansis": "4.2.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.3",
"cors": "2.8.6",
"express": "5.2.1",
"fast-json-stringify": "6.3.0",
"fast-safe-stringify": "2.1.1",
"file-type": "21.3.0",
"iterare": "1.2.1",
"load-esm": "1.0.3",
"object-hash": "3.0.0",
"path-to-regexp": "8.3.0",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.2",
"socket.io": "4.8.3",
"tslib": "2.8.1",
"uid": "2.0.2",
"uuid": "13.0.0"
},
"devDependencies": {
"@apollo/server": "5.4.0",
"@as-integrations/express5": "1.1.2",
"@commitlint/cli": "20.4.2",
"@commitlint/config-angular": "20.4.2",
"@eslint/eslintrc": "3.3.3",
"@eslint/js": "9.39.3",
"@fastify/cors": "11.2.0",
"@fastify/formbody": "8.0.2",
"@fastify/middie": "9.1.0",
"@fastify/multipart": "9.4.0",
"@fastify/static": "9.0.0",
"@fastify/view": "11.1.1",
"@grpc/grpc-js": "1.14.3",
"@grpc/proto-loader": "0.8.0",
"@nestjs/apollo": "13.2.4",
"@nestjs/graphql": "13.2.4",
"@nestjs/mongoose": "11.0.4",
"@nestjs/typeorm": "11.0.0",
"@types/amqplib": "0.10.8",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "7.1.8",
"@types/cors": "2.8.19",
"@types/eslint__js": "8.42.3",
"@types/express": "5.0.6",
"@types/gulp": "4.0.18",
"@types/http-errors": "2.0.5",
"@types/mocha": "10.0.10",
"@types/node": "25.3.0",
"@types/sinon": "21.0.0",
"@types/supertest": "6.0.3",
"@types/ws": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.56.0",
"@typescript-eslint/parser": "8.56.0",
"amqp-connection-manager": "5.0.0",
"amqplib": "0.10.9",
"body-parser": "2.2.2",
"cache-manager": "7.2.8",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"concurrently": "9.2.1",
"conventional-changelog": "7.1.1",
"coveralls": "3.1.1",
"delete-empty": "3.0.0",
"eslint": "9.39.3",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.5",
"eventsource": "4.1.0",
"fancy-log": "2.0.0",
"fastify": "5.7.4",
"fastify-plugin": "5.1.0",
"find-my-way": "9.4.0",
"globals": "17.3.0",
"graphql": "16.12.0",
"graphql-subscriptions": "3.0.0",
"gulp": "5.0.1",
"gulp-clang-format": "1.0.27",
"gulp-clean": "0.4.0",
"gulp-sourcemaps": "3.0.0",
"gulp-typescript": "5.0.1",
"gulp-watch": "5.0.1",
"http-errors": "2.0.1",
"husky": "9.1.7",
"ioredis": "5.9.3",
"kafkajs": "2.2.4",
"lerna": "9.0.4",
"lerna-changelog": "2.2.0",
"light-my-request": "6.6.0",
"lint-staged": "16.2.7",
"markdown-table": "2.0.0",
"mocha": "11.7.5",
"mongoose": "9.2.1",
"mqtt": "5.15.0",
"multer": "2.0.2",
"mysql2": "3.17.4",
"nats": "2.29.3",
"nyc": "14.1.1",
"prettier": "^3.7.4",
"redis": "5.11.0",
"reusify": "1.1.0",
"rxjs-compat": "6.6.7",
"sinon": "21.0.1",
"sinon-chai": "3.7.0",
"socket.io-client": "4.8.3",
"supertest": "7.2.2",
"ts-morph": "27.0.2",
"ts-node": "10.9.2",
"typeorm": "0.3.28",
"typescript": "5.9.3",
"typescript-eslint": "8.56.0",
"ws": "8.19.0"
},
"engines": {
"node": ">= 20"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/nest",
"donation": {
"text": "Become a partner:"
}
},
"changelog": {
"labels": {
"type: feature :tada:": "Features",
"type: bug :sob:": "Bug fixes",
"type: enhancement :wolf:": "Enhancements",
"type: docs :page_facing_up:": "Docs",
"type: code style": "Code style tweaks",
"dependencies": "Dependencies"
}
},
"nyc": {
"include": [
"packages/**/*.ts"
],
"exclude": [
"**/*.js",
"**/*.d.ts",
"**/*.spec.ts",
"packages/**/adapters/*.ts",
"packages/**/nest-*.ts",
"packages/**/test/**/*.ts",
"packages/core/errors/**/*",
"packages/common/exceptions/*.ts",
"packages/common/utils/load-package.util.ts",
"packages/microservices/exceptions/",
"packages/microservices/microservices-module.ts",
"packages/core/middleware/middleware-module.ts",
"packages/core/discovery/discovery-service.ts",
"packages/core/injector/module-ref.ts",
"packages/core/injector/instance-links-host.ts",
"packages/core/helpers/context-id-factory.ts",
"packages/websockets/socket-module.ts",
"packages/common/cache/**/*",
"packages/common/serializer/**/*",
"packages/common/services/*.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html"
],
"sourceMap": true,
"instrument": true
},
"mocha": {
"require": [
"ts-node/register",
"tsconfig-paths/register",
"node_modules/reflect-metadata/Reflect.js",
"hooks/mocha-init-hook.ts"
],
"exit": true
}
}