cadl/packages/playground/package.json

120 строки
3.4 KiB
JSON

{
"name": "@typespec/playground",
"version": "0.4.0",
"author": "Microsoft Corporation",
"description": "TypeSpec playground UI components.",
"homepage": "https://typespec.io",
"readme": "https://github.com/microsoft/typespec/blob/main/README.md",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/typespec.git"
},
"bugs": {
"url": "https://github.com/microsoft/typespec/issues"
},
"keywords": [
"typespec"
],
"type": "module",
"main": "dist/src/index.js",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"default": "./dist/index.js"
},
"./vite": {
"types": "./dist/src/vite/index.d.ts",
"default": "./dist/vite/index.js"
},
"./tooling": {
"types": "./dist/src/tooling/index.d.ts",
"default": "./dist/tooling/index.js"
},
"./manifest": {
"types": "./dist/src/manifest.d.ts",
"default": "./dist/manifest.js"
},
"./react": {
"types": "./dist/src/react/index.d.ts",
"default": "./dist/react/index.js"
},
"./react/viewers": {
"types": "./dist/src/react/viewers/index.d.ts",
"default": "./dist/react/viewers/index.js"
},
"./style.css": "./dist/style.css",
"./styles.css": "./dist/style.css"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./dist-dev ./temp ./typespecContents.json",
"build": "vite build",
"watch": "vite build --watch",
"storybook": "sb dev",
"build: storybook": "sb build",
"preview": "npm run build && vite preview",
"start": "vite",
"test": "echo 'no tests'",
"test:ci": "echo 'no tests'",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix"
},
"files": [
"lib/*.tsp",
"dist/**",
"!dist/test/**"
],
"dependencies": {
"@fluentui/react-components": "~9.54.5",
"@fluentui/react-icons": "^2.0.249",
"@typespec/bundler": "workspace:~",
"@typespec/compiler": "workspace:~",
"@typespec/html-program-viewer": "workspace:~",
"@typespec/http": "workspace:~",
"@typespec/openapi": "workspace:~",
"@typespec/openapi3": "workspace:~",
"@typespec/protobuf": "workspace:~",
"@typespec/rest": "workspace:~",
"@typespec/versioning": "workspace:~",
"clsx": "^2.1.1",
"debounce": "~2.1.0",
"lzutf8": "0.6.3",
"monaco-editor": "~0.46.0",
"react": "~18.3.1",
"react-dom": "~18.3.1",
"react-error-boundary": "^4.0.13",
"swagger-ui-dist": "^5.17.14",
"vscode-languageserver": "~9.0.1",
"vscode-languageserver-textdocument": "~1.0.11"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@playwright/test": "^1.45.3",
"@storybook/addon-actions": "^8.2.5",
"@storybook/cli": "^8.2.5",
"@storybook/react": "^8.2.5",
"@storybook/react-vite": "^8.2.5",
"@storybook/test": "^8.2.5",
"@storybook/types": "^8.2.5",
"@types/debounce": "~1.2.4",
"@types/node": "~18.11.19",
"@types/react": "~18.3.3",
"@types/react-dom": "~18.3.0",
"@types/swagger-ui-dist": "~3.30.5",
"@typespec/bundler": "workspace:~",
"@typespec/react-components": "workspace:~",
"@vitejs/plugin-react": "~4.3.1",
"c8": "^10.1.2",
"cross-env": "~7.0.3",
"es-module-shims": "~1.10.0",
"rimraf": "~6.0.1",
"typescript": "~5.5.4",
"vite": "^5.3.4",
"vite-plugin-checker": "^0.7.2",
"vite-plugin-dts": "4.0.0-beta.1"
}
}