microsoft/typespec
Publicmirrored fromhttps://github.com/microsoft/typespecAvailable
packages/html-program-viewer/package.json
75lines · modecode
| 1 | { |
| 2 | "name": "@typespec/html-program-viewer", |
| 3 | "version": "0.54.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/src/index.js", |
| 21 | "exports": { |
| 22 | ".": { |
| 23 | "types": "./dist/src/index.d.ts", |
| 24 | "default": "./dist/src/index.js" |
| 25 | }, |
| 26 | "./testing": { |
| 27 | "types": "./dist/src/testing/index.d.ts", |
| 28 | "default": "./dist/src/testing/index.js" |
| 29 | } |
| 30 | }, |
| 31 | "tspMain": "dist/src/index.js", |
| 32 | "engines": { |
| 33 | "node": ">=14.0.0" |
| 34 | }, |
| 35 | "scripts": { |
| 36 | "clean": "rimraf ./dist ./temp", |
| 37 | "build": "tsc -p .", |
| 38 | "watch": "tsc -p . --watch", |
| 39 | "test": "vitest run", |
| 40 | "test:ui": "vitest --ui", |
| 41 | "test-official": "vitest run --coverage --reporter=junit --reporter=default --no-file-parallelism", |
| 42 | "lint": "eslint . --ext .ts --max-warnings=0", |
| 43 | "lint:fix": "eslint . --fix --ext .ts" |
| 44 | }, |
| 45 | "files": [ |
| 46 | "lib/*.tsp", |
| 47 | "dist/**", |
| 48 | "!dist/test/**" |
| 49 | ], |
| 50 | "peerDependencies": { |
| 51 | "@typespec/compiler": "workspace:~" |
| 52 | }, |
| 53 | "dependencies": { |
| 54 | "@emotion/react": "^11.11.4", |
| 55 | "prettier": "~3.2.5", |
| 56 | "react": "~18.2.0", |
| 57 | "react-dom": "~18.2.0", |
| 58 | "react-is": "~18.2.0" |
| 59 | }, |
| 60 | "devDependencies": { |
| 61 | "@babel/core": "^7.24.0", |
| 62 | "@types/node": "~18.11.19", |
| 63 | "@types/react": "~18.2.67", |
| 64 | "@types/react-dom": "~18.2.22", |
| 65 | "@typespec/compiler": "workspace:~", |
| 66 | "@typespec/eslint-config-typespec": "workspace:~", |
| 67 | "@vitest/coverage-v8": "^1.4.0", |
| 68 | "@vitest/ui": "^1.4.0", |
| 69 | "c8": "^9.1.0", |
| 70 | "eslint": "^8.57.0", |
| 71 | "rimraf": "~5.0.5", |
| 72 | "typescript": "~5.4.2", |
| 73 | "vitest": "^1.4.0" |
| 74 | } |
| 75 | } |
| 76 | |