microsoft/typespec

Public

mirrored from https://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
bd60b0a68bb23817a01ab4aef22170c18abd81ed

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

packages/openapi3/package.json

82lines · modecode

1{
2 "name": "@cadl-lang/openapi3",
3 "version": "0.39.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 . && npm run lint-cadl-library",
42 "watch": "tsc -p . --watch",
43 "lint-cadl-library": "cadl compile . --warn-as-error --import @cadl-lang/library-linter --no-emit",
44 "test": "mocha",
45 "test-official": "c8 mocha --forbid-only --reporter mocha-multi-reporters",
46 "lint": "eslint . --ext .ts --max-warnings=0",
47 "lint:fix": "eslint . --fix --ext .ts"
48 },
49 "files": [
50 "lib/*.cadl",
51 "dist/**",
52 "!dist/test/**"
53 ],
54 "dependencies": {
55 "js-yaml": "~4.1.0"
56 },
57 "peerDependencies": {
58 "@cadl-lang/versioning": "~0.39.0",
59 "@cadl-lang/compiler": "~0.39.0",
60 "@cadl-lang/rest": "~0.39.0",
61 "@cadl-lang/openapi": "~0.39.0"
62 },
63 "devDependencies": {
64 "@types/mocha": "~10.0.0",
65 "@types/node": "~18.11.9",
66 "@types/js-yaml": "~4.0.1",
67 "@cadl-lang/compiler": "~0.39.0",
68 "@cadl-lang/rest": "~0.39.0",
69 "@cadl-lang/openapi": "~0.39.0",
70 "@cadl-lang/versioning": "~0.39.0",
71 "@cadl-lang/eslint-config-cadl": "~0.5.0",
72 "@cadl-lang/library-linter": "~0.39.0",
73 "@cadl-lang/eslint-plugin": "~0.39.0",
74 "eslint": "^8.12.0",
75 "mocha": "~10.1.0",
76 "mocha-junit-reporter": "~2.2.0",
77 "mocha-multi-reporters": "~1.5.1",
78 "c8": "~7.12.0",
79 "rimraf": "~3.0.2",
80 "typescript": "~4.9.3"
81 }
82}
83