UNPKG

@langbase/components

Version:

Ready to use components for building AI powered web apps

95 lines 2.82 kB
{ "name": "@langbase/components", "description": "Ready to use components for building AI powered web apps", "version": "0.1.8", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist/**" ], "author": { "name": "Langbase", "url": "https://langbase.com" }, "license": "ISC", "devDependencies": { "@tailwindcss/typography": "^0.5.15", "@types/node": "^22.6.1", "@types/react-syntax-highlighter": "^15.5.13", "autoprefixer": "^10.4.20", "postcss": "^8.4.47", "react": "^18.3.1", "tailwindcss": "^3.4.14", "tsup": "^8.3.0", "typescript": "^5.6.3", "@langbase/eslint-config": "0.1.0", "@langbase/tsconfig": "0.1.0" }, "dependencies": { "@baseai/core": "^0.9.24", "@radix-ui/react-dialog": "^1.1.2", "@radix-ui/react-separator": "^1.1.0", "@radix-ui/react-slot": "^1.1.0", "@testing-library/react": "^16.0.1", "@types/react": "^18.3.12", "@vitejs/plugin-react": "^4.3.3", "class-variance-authority": "^0.7.0", "mxcn": "^2.0.0", "react-markdown": "^9.0.1", "react-syntax-highlighter": "^15.6.1", "react-textarea-autosize": "^8.5.4", "remark-gfm": "^4.0.0", "remark-math": "^6.0.0", "styled-components": "^6.1.13", "tailwindcss-animate": "^1.0.7", "unist-util-visit": "^5.0.0", "zod": "^3.23.8" }, "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.mjs" }, "./styles": "./dist/index.css" }, "engines": { "node": ">=18" }, "peerDependencies": { "react": "^18 || ^19", "react-dom": "^18.0.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "zod": { "optional": true } }, "keywords": [ "langbase", "ui" ], "homepage": "https://langbase.com", "scripts": { "build": "tsup", "dev": "tsup src/index.ts --format esm,cjs --watch --dts --external react", "lint": "eslint \"src/**/*.ts*\"", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", "type-check": "tsc --noEmit", "prettier-check": "prettier --check \"./**/*.ts*\"", "test": "pnpm test:node && pnpm test:edge", "#test": "pnpm test:node && pnpm test:edge && pnpm test:ui && pnpm test:e2e", "test:edge": "vitest --config vitest.edge.config.js --run", "test:node": "vitest --config vitest.node.config.js --run", "test:ui": "pnpm test:ui:react", "test:ui:react": "vitest --config vitest.ui.react.config.js --run", "test:e2e": "playwright test", "test:edge:watch": "vitest --config vitest.edge.config.js", "test:node:watch": "vitest --config vitest.node.config.js", "test:ui:react:watch": "vitest --config vitest.ui.react.config.js" } }