microsoft/typespec

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
abd213cd488a512fc2da78fc209f25cbf235ae41

Branches

Tags

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

Clone

HTTPS

Download ZIP

packages/json-schema/package.json

70lines · modecode

1{
2 "name": "@typespec/json-schema",
3 "version": "0.52.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 ".": "./dist/src/index.js"
24 },
25 "tspMain": "lib/main.tsp",
26 "engines": {
27 "node": ">=18.0.0"
28 },
29 "scripts": {
30 "clean": "rimraf ./dist ./temp",
31 "build": "tsc -p . && npm run lint-typespec-library",
32 "watch": "tsc -p . --watch",
33 "lint-typespec-library": "tsp compile . --warn-as-error --import @typespec/library-linter --no-emit",
34 "test": "vitest run",
35 "test:ui": "vitest --ui",
36 "test-official": "vitest run --coverage --reporter=junit --reporter=default --no-file-parallelism",
37 "lint": "eslint . --ext .ts --max-warnings=0",
38 "lint:fix": "eslint . --fix --ext .ts",
39 "regen-docs": "tspd doc . --enable-experimental --output-dir ../../docs/libraries/json-schema/reference"
40 },
41 "files": [
42 "lib/*.tsp",
43 "dist/**",
44 "!dist/test/**"
45 ],
46 "peerDependencies": {
47 "@typespec/compiler": "workspace:~0.52.0"
48 },
49 "devDependencies": {
50 "@types/node": "~18.11.9",
51 "@typespec/compiler": "workspace:~0.52.0",
52 "@typespec/library-linter": "workspace:~0.52.0",
53 "@typespec/eslint-plugin": "workspace:~0.52.0",
54 "@typespec/eslint-config-typespec": "workspace:~0.52.0",
55 "@typespec/tspd": "workspace:~0.46.0",
56 "eslint": "^8.55.0",
57 "vitest": "^1.2.0",
58 "@vitest/coverage-v8": "^1.1.0",
59 "@vitest/ui": "~1.1.3",
60 "c8": "~8.0.1",
61 "rimraf": "~5.0.1",
62 "typescript": "~5.3.3",
63 "ajv": "~8.12.0",
64 "@typespec/internal-build-utils": "workspace:~0.52.0",
65 "ajv-formats": "~2.1.1"
66 },
67 "dependencies": {
68 "yaml": "~2.3.4"
69 }
70}
71