The Open Standard for Generative UI
{
"name": "@openuidev/lang-core",
"version": "1.0.2",
"description": "Framework-agnostic core for OpenUI Lang: parser, prompt generation, validation, and type definitions",
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.cts",
"typesVersions": {
"*": {
"cloud": [
"dist/cloud.d.cts"
]
}
},
"sideEffects": false,
"files": [
"dist",
"postinstall.cjs",
"README.md"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./cloud": {
"import": {
"types": "./dist/cloud.d.mts",
"default": "./dist/cloud.mjs"
},
"require": {
"types": "./dist/cloud.d.cts",
"default": "./dist/cloud.cjs"
}
}
},
"scripts": {
"test": "vitest run",
"build": "tsdown",
"watch": "tsdown --watch",
"typecheck": "tsc --noEmit",
"lint:check": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"format:fix": "prettier --write ./src",
"format:check": "prettier --check ./src",
"check:publint": "publint",
"check:attw": "attw --pack .",
"postinstall": "node ./postinstall.cjs",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run check:publint && pnpm run check:attw",
"ci": "pnpm run lint:check && pnpm run format:check && pnpm run test && tsc -p tsconfig.test.json --noEmit"
},
"peerDependencies": {
"@modelcontextprotocol/sdk": ">=1.0.0",
"zod": "catalog:"
},
"peerDependenciesMeta": {
"@modelcontextprotocol/sdk": {
"optional": true
}
},
"keywords": [
"openui",
"openui-lang",
"parser",
"prompt-generation",
"validation",
"zod",
"llm",
"generative-ui",
"framework-agnostic"
],
"homepage": "https://openui.com",
"repository": {
"type": "git",
"url": "https://github.com/thesysdev/openui.git",
"directory": "packages/lang-core"
},
"bugs": {
"url": "https://github.com/thesysdev/openui/issues"
},
"author": "[email protected]",
"devDependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"@types/node": "^20",
"vitest": "^4.0.18"
},
"dependencies": {
"ci-info": "^4.4.0"
}
}