diff --git a/README.md b/README.md index 54c63276b..7fe29129d 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -This is a forked project from https://github.com/apigee-127/swagger-tools with an attemp to add Open API 3 support. :) +Project is forked from https://github.com/bug-hunters/oas3-tools \ No newline at end of file diff --git a/package.json b/package.json index abd81eb62..789e260fc 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { - "name": "oas3-tools", - "version": "2.2.0", + "name": "@paxet/oas3-tools", + "version": "2.3.0", "description": "Swagger-UI and API Rest Routing for Open API v3.", "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { "build": "rm -rf dist/ && tsc && cp -R src/middleware/swagger-ui dist/middleware/swagger-ui" }, @@ -11,14 +12,21 @@ "email": "hugo.mario.mercado@gmail.com", "url": "https://github.com/HugoMario" }, + "contributors": [ + { + "name": "Paxet s.r.o.", + "email": "info@paxet.io", + "url": "https://www.paxet.io" + } + ], "bugs": { - "url": "https://github.com/bug-hunters/oas3-tools/issues" + "url": "https://github.com/paxet-io/oas3-tools/issues" }, - "homepage": "https://github.com/bug-hunters/oas3-tools", + "homepage": "https://github.com/paxet-io/oas3-tools", "license": "MIT", "repository": { "type": "git", - "url": "git@github.com:bug-hunters/oas3-tools.git" + "url": "git@github.com:paxet-io/oas3-tools.git" }, "keywords": [ "api", @@ -31,7 +39,7 @@ "dist" ], "dependencies": { - "async": "^2.6.3", + "async": "^3.2.4", "body-parser": "1.19.0", "cookie-parser": "^1.4.4", "cors": "^2.8.5", @@ -41,24 +49,22 @@ "js-yaml": "^3.13.1", "lodash": "^4.17.15", "morgan": "^1.9.1", - "multer": "^1.4.2", + "multer": "^1.4.5-lts.1", "parseurl": "^1.3.3", "path-to-regexp": "^3.2.0", - "qs": "^6.9.1", + "qs": "^6.11.0", "serve-static": "^1.14.1" }, "devDependencies": { + "@types/debug": "^4.1.5", "@types/express": "^4.17.0", + "@types/js-yaml": "^3.12.1", "@types/lodash": "^4.14.149", - "@types/debug": "^4.1.5", "@types/parseurl": "^1.3.1", "@types/qs": "^6.9.0", - "@types/js-yaml": "^3.12.1", "@types/serve-static": "^1.13.3", "awesome-typescript-loader": "^5.2.1", - "source-map-loader": "^0.2.4", - "ts-node": "^8.3.0", - "tsc": "^1.20150623.0", - "typescript": "^3.7.2" + "source-map-loader": "^3.0.1", + "typescript": "^4.7.4" } } diff --git a/tsconfig.json b/tsconfig.json index 1b6fb77ef..af5de8d36 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,17 +1,3 @@ -/** -{ - "compilerOptions": { - "outDir": "./dist", - "allowJs": true, - "target": "es5" - - }, - "include": [ - "./src/**//*" - ] -} -*/ - { "compilerOptions": { "declaration": true, @@ -22,11 +8,10 @@ "sourceMap": true, "resolveJsonModule": true }, - + "exclude": ["node_modules"], "include": [ "typings.d.ts", "src/**/*.ts", ] -} - +} \ No newline at end of file