1 | {
|
2 | "name": "@typespec/html-program-viewer",
|
3 | "version": "0.60.0",
|
4 | "author": "Microsoft Corporation",
|
5 | "description": "TypeSpec library for emitting an html view of the program.",
|
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/emitter/index.js",
|
21 | "exports": {
|
22 | ".": {
|
23 | "default": "./dist/emitter/index.js"
|
24 | },
|
25 | "./react": {
|
26 | "development": "./src/react/index.ts",
|
27 | "types": "./dist/react/index.d.ts",
|
28 | "default": "./dist/react/index.js"
|
29 | },
|
30 | "./style.css": "./dist/style.css"
|
31 | },
|
32 | "engines": {
|
33 | "node": ">=14.0.0"
|
34 | },
|
35 | "files": [
|
36 | "dist/**",
|
37 | "!dist/test/**"
|
38 | ],
|
39 | "peerDependencies": {
|
40 | "@typespec/compiler": "~0.60.0"
|
41 | },
|
42 | "dependencies": {
|
43 | "@fluentui/react-components": "~9.54.5",
|
44 | "@fluentui/react-icons": "^2.0.249",
|
45 | "@fluentui/react-list-preview": "^0.3.1",
|
46 | "react": "~18.3.1",
|
47 | "react-dom": "~18.3.1",
|
48 | "react-hotkeys-hook": "^4.5.0"
|
49 | },
|
50 | "devDependencies": {
|
51 | "@babel/core": "^7.24.9",
|
52 | "@testing-library/dom": "^10.4.0",
|
53 | "@testing-library/jest-dom": "^6.4.7",
|
54 | "@testing-library/react": "^16.0.0",
|
55 | "@types/node": "~18.11.19",
|
56 | "@types/react": "~18.3.3",
|
57 | "@types/react-dom": "~18.3.0",
|
58 | "@vitejs/plugin-react": "~4.3.1",
|
59 | "@vitest/coverage-v8": "^2.0.4",
|
60 | "@vitest/ui": "^2.0.4",
|
61 | "c8": "^10.1.2",
|
62 | "rimraf": "~6.0.1",
|
63 | "typescript": "~5.5.4",
|
64 | "vite": "^5.3.4",
|
65 | "vite-plugin-checker": "^0.7.2",
|
66 | "vite-plugin-dts": "4.0.0-beta.1",
|
67 | "vitest": "^2.0.4",
|
68 | "@typespec/compiler": "~0.60.0",
|
69 | "@typespec/react-components": "~0.57.0"
|
70 | },
|
71 | "scripts": {
|
72 | "clean": "rimraf ./dist ./temp",
|
73 | "build": "pnpm build:react && pnpm build:emitter",
|
74 | "build:react": "vite build",
|
75 | "build:emitter": "vite build --config vite.emitter.config.ts",
|
76 | "watch": "vite build --watch",
|
77 | "test": "vitest run",
|
78 | "test:ui": "vitest --ui",
|
79 | "test:ci": "vitest run --coverage --reporter=junit --reporter=default",
|
80 | "lint": "eslint . --max-warnings=0",
|
81 | "lint:fix": "eslint . --fix"
|
82 | }
|
83 | } |
\ | No newline at end of file |