microsoft/typespec

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
9b083d0180f82caab84f8d10d7e6e1fad0385c91

Branches

Tags

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

Clone

HTTPS

Download ZIP

packages/http/package.json

73lines · modecode

1{
2 "name": "@typespec/http",
3 "version": "0.54.0",
4 "author": "Microsoft Corporation",
5 "description": "TypeSpec HTTP protocol binding",
6 "homepage": "https://github.com/microsoft/typespec",
7 "docusaurusWebsite": "https://typespec.io/docs",
8 "readme": "https://github.com/microsoft/typespec/blob/main/README.md",
9 "license": "MIT",
10 "repository": {
11 "type": "git",
12 "url": "git+https://github.com/microsoft/typespec.git"
13 },
14 "bugs": {
15 "url": "https://github.com/microsoft/typespec/issues"
16 },
17 "keywords": [
18 "typespec"
19 ],
20 "type": "module",
21 "main": "dist/src/index.js",
22 "tspMain": "lib/http.tsp",
23 "exports": {
24 ".": {
25 "types": "./dist/src/index.d.ts",
26 "default": "./dist/src/index.js"
27 },
28 "./testing": {
29 "types": "./dist/src/testing/index.d.ts",
30 "default": "./dist/src/testing/index.js"
31 }
32 },
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:watch": "vitest -w",
44 "test:ui": "vitest --ui",
45 "test-official": "vitest run --coverage --reporter=junit --reporter=default --no-file-parallelism",
46 "lint": "eslint . --ext .ts --max-warnings=0",
47 "lint:fix": "eslint . --fix --ext .ts",
48 "regen-docs": "tspd doc . --enable-experimental --output-dir ../../docs/libraries/http/reference"
49 },
50 "files": [
51 "lib/*.tsp",
52 "dist/**",
53 "!dist/test/**"
54 ],
55 "peerDependencies": {
56 "@typespec/compiler": "workspace:~"
57 },
58 "devDependencies": {
59 "@types/node": "~18.11.19",
60 "@typespec/compiler": "workspace:~",
61 "@typespec/eslint-config-typespec": "workspace:~",
62 "@typespec/eslint-plugin": "workspace:~",
63 "@typespec/library-linter": "workspace:~",
64 "@typespec/tspd": "workspace:~",
65 "@vitest/coverage-v8": "^1.4.0",
66 "@vitest/ui": "^1.4.0",
67 "c8": "^9.1.0",
68 "eslint": "^8.57.0",
69 "rimraf": "~5.0.5",
70 "typescript": "~5.4.2",
71 "vitest": "^1.4.0"
72 }
73}
74