microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
packages/openapi3/package.json
73lines · modecode
| 1 | { |
| 2 | "name": "@cadl-lang/openapi3", |
| 3 | "version": "0.10.0", |
| 4 | "author": "Microsoft Corporation", |
| 5 | "description": "Cadl library for emitting OpenAPI 3.0 from the Cadl REST protocol binding", |
| 6 | "homepage": "https://github.com/Microsoft/cadl", |
| 7 | "readme": "https://github.com/Microsoft/cadl/blob/master/README.md", |
| 8 | "license": "MIT", |
| 9 | "repository": { |
| 10 | "type": "git", |
| 11 | "url": "git+https://github.com/Microsoft/cadl.git" |
| 12 | }, |
| 13 | "bugs": { |
| 14 | "url": "https://github.com/Microsoft/cadl/issues" |
| 15 | }, |
| 16 | "keywords": [ |
| 17 | "cadl" |
| 18 | ], |
| 19 | "type": "module", |
| 20 | "main": "dist/src/index.js", |
| 21 | "exports": { |
| 22 | ".": "./dist/src/index.js", |
| 23 | "./testing": "./dist/src/testing/index.js" |
| 24 | }, |
| 25 | "typesVersions": { |
| 26 | "*": { |
| 27 | "*": [ |
| 28 | "./dist/src/index.d.ts" |
| 29 | ], |
| 30 | "testing": [ |
| 31 | "./dist/src/testing/index.d.ts" |
| 32 | ] |
| 33 | } |
| 34 | }, |
| 35 | "cadlMain": "dist/src/index.js", |
| 36 | "engines": { |
| 37 | "node": ">=16.0.0" |
| 38 | }, |
| 39 | "scripts": { |
| 40 | "clean": "rimraf ./dist ./temp", |
| 41 | "build": "tsc -p .", |
| 42 | "watch": "tsc -p . --watch", |
| 43 | "test": "mocha", |
| 44 | "test-official": "c8 mocha --forbid-only", |
| 45 | "lint": "eslint . --ext .ts --max-warnings=0", |
| 46 | "lint:fix": "eslint . --fix --ext .ts" |
| 47 | }, |
| 48 | "files": [ |
| 49 | "lib/*.cadl", |
| 50 | "dist/**", |
| 51 | "!dist/test/**" |
| 52 | ], |
| 53 | "peerDependencies": { |
| 54 | "@cadl-lang/versioning": "~0.4.0", |
| 55 | "@cadl-lang/compiler": "~0.30.0", |
| 56 | "@cadl-lang/rest": "~0.13.0", |
| 57 | "@cadl-lang/openapi": "~0.8.0" |
| 58 | }, |
| 59 | "devDependencies": { |
| 60 | "@types/mocha": "~9.1.0", |
| 61 | "@types/node": "~16.0.3", |
| 62 | "@cadl-lang/compiler": "~0.30.0", |
| 63 | "@cadl-lang/rest": "~0.13.0", |
| 64 | "@cadl-lang/openapi": "~0.8.0", |
| 65 | "@cadl-lang/versioning": "~0.4.0", |
| 66 | "@cadl-lang/eslint-config-cadl": "~0.3.0", |
| 67 | "eslint": "^8.12.0", |
| 68 | "mocha": "~9.2.0", |
| 69 | "c8": "~7.11.0", |
| 70 | "rimraf": "~3.0.2", |
| 71 | "typescript": "~4.6.3" |
| 72 | } |
| 73 | } |