microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
packages/json-schema/package.json
78lines · modecode
| 1 | { |
| 2 | "name": "@typespec/json-schema", |
| 3 | "version": "0.54.0", |
| 4 | "author": "Microsoft Corporation", |
| 5 | "description": "TypeSpec library for emitting TypeSpec to JSON Schema and converting JSON Schema to TypeSpec", |
| 6 | "homepage": "https://github.com/microsoft/typespec", |
| 7 | "readme": "https://github.com/microsoft/typespec/blob/main/README.md", |
| 8 | "license": "MIT", |
| 9 | "repository": { |
| 10 | "type": "git", |
| 11 | "url": "git+https://github.com/microsoft/typespec.git" |
| 12 | }, |
| 13 | "bugs": { |
| 14 | "url": "https://github.com/microsoft/typespec/issues" |
| 15 | }, |
| 16 | "keywords": [ |
| 17 | "TypeSpec", |
| 18 | "json schema" |
| 19 | ], |
| 20 | "type": "module", |
| 21 | "main": "dist/src/index.js", |
| 22 | "exports": { |
| 23 | ".": { |
| 24 | "types": "./dist/src/index.d.ts", |
| 25 | "default": "./dist/src/index.js" |
| 26 | }, |
| 27 | "./testing": { |
| 28 | "types": "./dist/src/testing/index.d.ts", |
| 29 | "default": "./dist/src/testing/index.js" |
| 30 | } |
| 31 | }, |
| 32 | "tspMain": "lib/main.tsp", |
| 33 | "engines": { |
| 34 | "node": ">=18.0.0" |
| 35 | }, |
| 36 | "scripts": { |
| 37 | "clean": "rimraf ./dist ./temp", |
| 38 | "build": "npm run gen-extern-signature && tsc -p . && npm run lint-typespec-library", |
| 39 | "watch": "tsc -p . --watch", |
| 40 | "gen-extern-signature": "tspd --enable-experimental gen-extern-signature .", |
| 41 | "lint-typespec-library": "tsp compile . --warn-as-error --import @typespec/library-linter --no-emit", |
| 42 | "test": "vitest run", |
| 43 | "test:ui": "vitest --ui", |
| 44 | "test-official": "vitest run --coverage --reporter=junit --reporter=default --no-file-parallelism", |
| 45 | "lint": "eslint . --ext .ts --max-warnings=0", |
| 46 | "lint:fix": "eslint . --fix --ext .ts", |
| 47 | "regen-docs": "tspd doc . --enable-experimental --output-dir ../../docs/libraries/json-schema/reference" |
| 48 | }, |
| 49 | "files": [ |
| 50 | "lib/*.tsp", |
| 51 | "dist/**", |
| 52 | "!dist/test/**" |
| 53 | ], |
| 54 | "peerDependencies": { |
| 55 | "@typespec/compiler": "workspace:~" |
| 56 | }, |
| 57 | "devDependencies": { |
| 58 | "@types/node": "~18.11.19", |
| 59 | "@typespec/compiler": "workspace:~", |
| 60 | "@typespec/eslint-config-typespec": "workspace:~", |
| 61 | "@typespec/eslint-plugin": "workspace:~", |
| 62 | "@typespec/internal-build-utils": "workspace:~", |
| 63 | "@typespec/library-linter": "workspace:~", |
| 64 | "@typespec/tspd": "workspace:~", |
| 65 | "@vitest/coverage-v8": "^1.4.0", |
| 66 | "@vitest/ui": "^1.4.0", |
| 67 | "ajv": "~8.12.0", |
| 68 | "ajv-formats": "~2.1.1", |
| 69 | "c8": "^9.1.0", |
| 70 | "eslint": "^8.57.0", |
| 71 | "rimraf": "~5.0.5", |
| 72 | "typescript": "~5.4.2", |
| 73 | "vitest": "^1.4.0" |
| 74 | }, |
| 75 | "dependencies": { |
| 76 | "yaml": "~2.4.1" |
| 77 | } |
| 78 | } |
| 79 | |