@nestjsvn/swagger-sse
Version:
OpenAPI documentation and interactive Swagger UI for NestJS Server-Sent Events endpoints
109 lines (108 loc) • 3.39 kB
JSON
{
"name": "@nestjsvn/swagger-sse",
"version": "0.0.5",
"description": "OpenAPI documentation and interactive Swagger UI for NestJS Server-Sent Events endpoints",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./plugin": {
"import": "./dist/plugin/index.js",
"require": "./dist/plugin/index.js",
"types": "./dist/plugin/index.d.ts"
}
},
"files": [
"dist/**/*",
"README.md",
"LICENSE",
"CHANGELOG.md",
"docs/**/*"
],
"scripts": {
"build": "npm run build:ts && npm run copy-assets",
"build:ts": "tsc",
"build:watch": "tsc --watch",
"copy-assets": "cp -r src/ui/assets dist/ui/",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint . --ext .ts,.js --ignore-path .eslintignore",
"lint:fix": "eslint . --ext .ts,.js --ignore-path .eslintignore --fix",
"lint:src": "eslint src/**/*.ts",
"lint:src:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write . --ignore-path .prettierignore",
"format:check": "prettier --check . --ignore-path .prettierignore",
"format:src": "prettier --write src/**/*.ts",
"format:src:check": "prettier --check src/**/*.ts",
"playwright:install": "playwright install",
"type-check": "tsc --noEmit",
"quality": "npm run lint && npm run format:check && npm run type-check",
"quality:fix": "npm run lint:fix && npm run format && npm run type-check",
"prepublishOnly": "npm run quality && npm run build && npm run test",
"release": "npm run prepublishOnly && npm publish --access public"
},
"keywords": [
"nestjs",
"swagger",
"openapi",
"sse",
"server-sent-events",
"documentation",
"real-time",
"streaming",
"typescript",
"api-documentation",
"swagger-ui",
"event-stream",
"websocket-alternative",
"reactive",
"rxjs"
],
"author": "NestJS Community <community@nestjs.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dragonxsx/nestjsx-swagger-sse.git"
},
"bugs": {
"url": "https://github.com/dragonxsx/nestjsx-swagger-sse/issues"
},
"homepage": "https://github.com/dragonxsx/nestjsx-swagger-sse#readme",
"peerDependencies": {
"@nestjs/common": "^9.0.0 || ^10.0.0 || ^11.0.0",
"@nestjs/swagger": "^7.0.0 || ^8.0.0 || ^11.0.0",
"express": "^4.17.1",
"reflect-metadata": "^0.1.12",
"rxjs": "^6.5.5 || ^7.0.0"
},
"devDependencies": {
"@nestjs/common": "^11.0.0",
"@nestjs/core": "^11.0.0",
"@nestjs/platform-express": "^11.1.3",
"@nestjs/swagger": "^7.0.0",
"@nestjs/testing": "^11.0.0",
"@playwright/test": "^1.40.0",
"@types/jest": "^29.0.0",
"@types/node": "^20.0.0",
"@types/supertest": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-jsx-a11y": "^6.10.2",
"express": "^5.1.0",
"jest": "^29.0.0",
"playwright": "^1.40.0",
"prettier": "^3.0.0",
"reflect-metadata": "^0.1.14",
"rxjs": "^7.0.0",
"supertest": "^6.3.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
}
}