microsoft/typespec

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-diff-highlight-issue

Branches

Tags

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

Clone

HTTPS

Download ZIP

packages/events/package.json

69lines · modecode

1{
2 "name": "@typespec/events",
3 "version": "0.81.0",
4 "author": "Microsoft Corporation",
5 "description": "TypeSpec library providing events bindings",
6 "homepage": "https://typespec.io",
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 ],
19 "type": "module",
20 "main": "dist/src/index.js",
21 "tspMain": "lib/main.tsp",
22 "exports": {
23 ".": {
24 "typespec": "./lib/main.tsp",
25 "default": "./dist/src/index.js"
26 },
27 "./testing": "./dist/src/testing/index.js",
28 "./experimental": {
29 "types": "./dist/src/experimental/index.d.ts",
30 "default": "./dist/src/experimental/index.js"
31 }
32 },
33 "engines": {
34 "node": ">=22.0.0"
35 },
36 "scripts": {
37 "clean": "rimraf ./dist ./temp",
38 "build": "pnpm gen-extern-signature && tsc -p tsconfig.build.json && pnpm lint-typespec-library",
39 "watch": "tsc -p tsconfig.build.json --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 --llmstxt --output-dir ../../website/src/content/docs/docs/libraries/events/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": "catalog:",
60 "@typespec/compiler": "workspace:^",
61 "@typespec/library-linter": "workspace:^",
62 "@typespec/tspd": "workspace:^",
63 "@vitest/coverage-v8": "catalog:",
64 "@vitest/ui": "catalog:",
65 "rimraf": "catalog:",
66 "typescript": "catalog:",
67 "vitest": "catalog:"
68 }
69}
70