microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
packages/html-program-viewer/package.json
83lines · modecode
| 1 | { |
| 2 | "name": "@typespec/html-program-viewer", |
| 3 | "version": "0.80.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 | "types": "./dist/react/index.d.ts", |
| 27 | "default": "./dist/react/index.js" |
| 28 | }, |
| 29 | "./style.css": "./dist/style.css" |
| 30 | }, |
| 31 | "engines": { |
| 32 | "node": ">=14.0.0" |
| 33 | }, |
| 34 | "scripts": { |
| 35 | "clean": "rimraf ./dist ./temp", |
| 36 | "build": "pnpm build:react && pnpm build:emitter", |
| 37 | "build:react": "vite build", |
| 38 | "build:emitter": "vite build --config vite.emitter.config.ts", |
| 39 | "watch": "vite build --watch", |
| 40 | "test": "vitest run", |
| 41 | "test:ui": "vitest --ui", |
| 42 | "test:ci": "vitest run --coverage --reporter=junit --reporter=default", |
| 43 | "lint": "eslint . --max-warnings=0", |
| 44 | "lint:fix": "eslint . --fix" |
| 45 | }, |
| 46 | "files": [ |
| 47 | "dist/**", |
| 48 | "!dist/test/**" |
| 49 | ], |
| 50 | "peerDependencies": { |
| 51 | "@typespec/compiler": "workspace:^" |
| 52 | }, |
| 53 | "dependencies": { |
| 54 | "@fluentui/react-components": "~9.73.1", |
| 55 | "@fluentui/react-icons": "^2.0.292", |
| 56 | "@fluentui/react-list": "^9.1.2", |
| 57 | "react": "~19.2.3", |
| 58 | "react-dom": "~19.2.3", |
| 59 | "react-hotkeys-hook": "^5.1.0" |
| 60 | }, |
| 61 | "devDependencies": { |
| 62 | "@babel/core": "^7.26.10", |
| 63 | "@testing-library/dom": "^10.4.0", |
| 64 | "@testing-library/jest-dom": "^6.6.3", |
| 65 | "@testing-library/react": "^16.2.0", |
| 66 | "@types/node": "~25.3.0", |
| 67 | "@types/react": "~19.2.7", |
| 68 | "@types/react-dom": "~19.2.2", |
| 69 | "@typespec/compiler": "workspace:^", |
| 70 | "@typespec/react-components": "workspace:^", |
| 71 | "@vitejs/plugin-react": "~5.1.2", |
| 72 | "@vitest/coverage-v8": "^4.0.18", |
| 73 | "@vitest/ui": "^4.0.18", |
| 74 | "c8": "^11.0.0", |
| 75 | "rimraf": "~6.1.3", |
| 76 | "typescript": "~5.9.3", |
| 77 | "vite": "^7.2.7", |
| 78 | "vite-plugin-checker": "^0.12.0", |
| 79 | "vite-plugin-dts": "4.5.4", |
| 80 | "vite-plugin-node-polyfills": "^0.25.0", |
| 81 | "vitest": "^4.0.18" |
| 82 | } |
| 83 | } |