microsoft/typespec

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
a6b7827fcd2db3bf604d42e235216c8d5b244f13

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.48.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/master/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": ">=16.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": "mocha",
35 "test-official": "c8 mocha --forbid-only --reporter mocha-multi-reporters",
36 "lint": "eslint . --ext .ts --max-warnings=0",
37 "lint:fix": "eslint . --fix --ext .ts",
38 "regen-docs": "tspd doc . --enable-experimental --output-dir ../../docs/standard-library/json-schema/reference"
39 },
40 "files": [
41 "lib/*.tsp",
42 "dist/**",
43 "!dist/test/**"
44 ],
45 "peerDependencies": {
46 "@typespec/compiler": "workspace:~0.48.0"
47 },
48 "devDependencies": {
49 "@types/mocha": "~10.0.1",
50 "@types/node": "~18.11.9",
51 "@typespec/compiler": "workspace:~0.48.0",
52 "@typespec/library-linter": "workspace:~0.48.0",
53 "@typespec/eslint-plugin": "workspace:~0.48.0",
54 "@typespec/eslint-config-typespec": "workspace:~0.48.0",
55 "@typespec/tspd": "workspace:~0.46.0",
56 "eslint": "^8.42.0",
57 "mocha": "~10.2.0",
58 "mocha-junit-reporter": "~2.2.0",
59 "mocha-multi-reporters": "~1.5.1",
60 "c8": "~8.0.0",
61 "rimraf": "~5.0.1",
62 "typescript": "~5.1.3",
63 "ajv": "~8.12.0",
64 "@typespec/internal-build-utils": "workspace:~0.48.0",
65 "ajv-formats": "~2.1.1"
66 },
67 "dependencies": {
68 "yaml": "~2.3.1"
69 }
70}
71