@firefliesai/schema-forge
Version:
Transform TypeScript classes into JSON Schema definitions with automatic support for OpenAI, Anthropic, and Google Gemini function calling (tool) formats
99 lines (98 loc) • 2.46 kB
JSON
{
"name": "@firefliesai/schema-forge",
"version": "1.0.4",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"exports": {
".": {
"import": "./dist/lib/index.js",
"require": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"test": "npm run jest",
"jest": "env-cmd jest",
"jest:u": "env-cmd jest -u",
"build": "tsc",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"check": "npm run lint && npm run format:check",
"fix": "npm run lint:fix && npm run format"
},
"author": {
"name": "Fireflies.ai",
"url": "https://fireflies.ai"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/firefliesai/schema-forge.git"
},
"bugs": {
"url": "https://github.com/firefliesai/schema-forge/issues"
},
"homepage": "https://github.com/firefliesai/schema-forge#readme",
"keywords": [
"Fireflies.ai",
"Firefliesai",
"Fireflies",
"TypeScript",
"decorator",
"json schema",
"json-schema",
"llm schema",
"schema",
"AI",
"model",
"LLM",
"tool",
"tool use",
"function",
"function calling",
"function-calling",
"OpenAI",
"Anthropic",
"Claude",
"Gemini",
"Google",
"converter",
"convert",
"conversion",
"transform",
"agent",
"class"
],
"description": "Transform TypeScript classes into JSON Schema definitions with automatic support for OpenAI, Anthropic, and Google Gemini function calling (tool) formats",
"devDependencies": {
"@anthropic-ai/sdk": "^0.39.0",
"@google/genai": "^0.6.0",
"@google/generative-ai": "^0.24.0",
"@types/jest": "^29.5.14",
"@types/reflect-metadata": "^0.0.5",
"env-cmd": "^10.1.0",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-prettier": "^5.2.3",
"jest": "^29.7.0",
"lodash": "^4.17.21",
"openai": "^4.89.0",
"prettier": "^3.5.3",
"reflect-metadata": "^0.2.2",
"ts-jest": "^29.2.6",
"ts-node": "^10.9.2",
"typescript": "^5.8.2",
"typescript-eslint": "^8.27.0"
},
"peerDependencies": {
"reflect-metadata": "^0.1.14 || ^0.2.0"
}
}