microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
packages/http/package.json
71lines · modecode
| 1 | { |
| 2 | "name": "@typespec/http", |
| 3 | "version": "0.52.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": "tsc -p . && npm run lint-typespec-library", |
| 39 | "watch": "tsc -p . --watch", |
| 40 | "lint-typespec-library": "tsp compile . --warn-as-error --import @typespec/library-linter --no-emit", |
| 41 | "test": "vitest run", |
| 42 | "test:ui": "vitest --ui", |
| 43 | "test-official": "vitest run --coverage --reporter=junit --reporter=default --no-file-parallelism", |
| 44 | "lint": "eslint . --ext .ts --max-warnings=0", |
| 45 | "lint:fix": "eslint . --fix --ext .ts", |
| 46 | "regen-docs": "tspd doc . --enable-experimental --output-dir ../../docs/libraries/http/reference" |
| 47 | }, |
| 48 | "files": [ |
| 49 | "lib/*.tsp", |
| 50 | "dist/**", |
| 51 | "!dist/test/**" |
| 52 | ], |
| 53 | "peerDependencies": { |
| 54 | "@typespec/compiler": "workspace:~0.52.0" |
| 55 | }, |
| 56 | "devDependencies": { |
| 57 | "@types/node": "~18.11.9", |
| 58 | "@typespec/compiler": "workspace:~0.52.0", |
| 59 | "@typespec/eslint-config-typespec": "workspace:~0.52.0", |
| 60 | "@typespec/library-linter": "workspace:~0.52.0", |
| 61 | "@typespec/eslint-plugin": "workspace:~0.52.0", |
| 62 | "@typespec/tspd": "workspace:~0.46.0", |
| 63 | "eslint": "^8.55.0", |
| 64 | "vitest": "^1.2.0", |
| 65 | "@vitest/coverage-v8": "^1.1.0", |
| 66 | "@vitest/ui": "~1.1.3", |
| 67 | "c8": "~8.0.1", |
| 68 | "rimraf": "~5.0.1", |
| 69 | "typescript": "~5.3.3" |
| 70 | } |
| 71 | } |
| 72 | |