package.json•5.41 kB
{
"name": "genaiscript",
"version": "1.140.0",
"main": "built/genaiscript.cjs",
"type": "commonjs",
"bin": {
"genaiscript": "built/genaiscript.cjs"
},
"exports": {
".": "./built/genaiscript.cjs",
"./api": "./built/api.mjs",
"./runtime": {
"types": "./built/runtime.d.ts",
"import": "./built/runtime.mjs"
},
"./package.json": "./package.json"
},
"files": [
"built/api.mjs",
"built/runtime.mjs",
"built/runtime.d.ts",
"built/genaiscript.cjs",
"built/web.mjs",
"built/index.html",
"built/markdown.css",
"built/codicon.css",
"built/codicon.ttf",
"built/favicon.svg",
"genaisrc/*.genai.mts",
"genaisrc/genaiscript.d.ts",
"genaisrc/tsconfig.json"
],
"publisher": "Microsoft",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/genaiscript.git"
},
"homepage": "https://microsoft.github.io/genaiscript",
"keywords": [
"genai",
"ai",
"agentic",
"agent",
"cli",
"prompt",
"llm",
"generative ai",
"gpt4",
"chatgpt",
"ollama",
"llamacpp",
"chatgpt"
],
"description": "A CLI for GenAIScript, a generative AI scripting framework.",
"license": "MIT",
"overrides": {
"glob": "^11.0.2",
"@mapbox/node-pre-gyp": "^2.0.0",
"mermaid": "^11.6.0"
},
"dependencies": {
"@anthropic-ai/bedrock-sdk": "0.22.1",
"@anthropic-ai/sdk": "0.52.0",
"@azure/identity": "^4.10.0",
"@azure/search-documents": "^12.1.0",
"@fastify/cors": "^11.0.1",
"@fastify/swagger": "^9.5.1",
"@fastify/swagger-ui": "^5.2.2",
"@huggingface/jinja": "^0.5.0",
"@inquirer/prompts": "^7.5.1",
"@modelcontextprotocol/sdk": "^1.12.0",
"@octokit/core": "^7.0.2",
"@octokit/plugin-paginate-rest": "^13.0.0",
"@octokit/plugin-retry": "^8.0.1",
"@octokit/plugin-throttling": "^11.0.1",
"@octokit/rest": "^21.1.1",
"cross-fetch": "^4.1.0",
"debug": "^4.4.1",
"dockerode": "^4.0.6",
"dompurify": "^3.2.6",
"es-toolkit": "^1.38.0",
"fastify": "^5.3.3",
"file-type": "^20.5.0",
"fluent-ffmpeg": "^2.1.3",
"gpt-tokenizer": "^2.9.0",
"html-to-text": "^9.0.5",
"jimp": "^1.6.0",
"jsdom": "^26.1.0",
"magic-string": "^0.30.17",
"mammoth": "^1.9.0",
"mathjs": "^14.5.0",
"mermaid": "^11.6.0",
"node-fetch": "^3.3.2",
"openai": "^4.100.0",
"pyodide": "^0.27.6",
"supports-color": "^10.0.0",
"tabletojson": "^4.1.6",
"toml": "^3.0.0",
"tsx": "^4.19.4",
"turndown": "^7.2.0",
"turndown-plugin-gfm": "^1.0.2",
"typescript": "5.8.3",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
"zod": "^3.25.30",
"zod-to-json-schema": "^3.24.5"
},
"optionalDependencies": {
"@ast-grep/lang-c": "^0.0.1",
"@ast-grep/lang-cpp": "^0.0.1",
"@ast-grep/lang-csharp": "^0.0.1",
"@ast-grep/lang-python": "^0.0.1",
"@ast-grep/lang-yaml": "^0.0.1",
"@ast-grep/napi": "^0.37.0",
"@lvce-editor/ripgrep": "^1.6.0",
"@napi-rs/canvas": "^0.1.70",
"node-sarif-builder": "^3.2.0",
"pdfjs-dist": "5.2.133",
"playwright": "^1.52.0",
"tree-sitter-wasms": "^0.1.11",
"web-tree-sitter": "0.22.2",
"z3-solver": "^4.15.0"
},
"engines": {
"node": ">=20.0.0"
},
"devDependencies": {
"@types/diff": "^6.0.0",
"@types/dockerode": "^3.3.38",
"@types/fs-extra": "^11.0.4",
"@types/memorystream": "^0.3.4",
"@types/node": "^22.15.2",
"@types/papaparse": "^5.3.15",
"@types/prompts": "^2.4.9",
"@types/replace-ext": "^2.0.2",
"@types/ws": "^8.5.14",
"chokidar": "^4.0.3",
"ci-info": "^4.2.0",
"commander": "^12.1.0",
"diff": "^7.0.0",
"dotenv": "^16.5.0",
"es-toolkit": "^1.38.0",
"esbuild": "^0.25.5",
"execa": "^9.5.3",
"fs-extra": "^11.3.0",
"glob": "^11.0.2",
"memorystream": "^0.3.1",
"octokit": "^5.0.2",
"pretty-bytes": "^7.0.0",
"replace-ext": "^2.0.0",
"ws": "^8.18.2",
"zx": "^8.5.4"
},
"scripts": {
"compile:runtime:declarations": "tsc src/runtime.ts --skipLibCheck --outDir built --declaration --target es2020 --moduleResolution node --module esnext --emitDeclarationOnly",
"compile:runtime:code": "tsc src/runtime.ts --skipLibCheck --outDir built --target es2020 --moduleResolution node --module esnext --removeComments true",
"compile:runtime": "yarn compile:runtime:declarations && yarn compile:runtime:code && mv built/runtime.js built/runtime.mjs",
"compile:api": "esbuild src/api.ts --outfile=built/api.mjs",
"compile:cli": "node build.mjs",
"fix": "node built/genaiscript.cjs scripts fix",
"compile": "yarn compile:api && yarn compile:runtime && yarn compile:cli",
"postcompile": "node built/genaiscript.cjs info help > ../../docs/src/content/docs/reference/cli/commands.md",
"vis:treemap": "npx --yes esbuild-visualizer --metadata esbuild.meta.json --filename esbuild.treemap.html",
"vis:network": "npx --yes esbuild-visualizer --metadata esbuild.meta.json --filename esbuild.network.html --template network",
"go": "yarn compile && node built/genaiscript.cjs",
"test": "node --import tsx --test src/**.test.ts",
"typecheck": "tsc -p src",
"lint": "npx --yes publint@0.2.12",
"serve": "node --watch --watch-path=./built built/genaiscript.cjs serve"
}
}