UNPKG

ai-ctrf

Version:

Generate AI summaries of test results using a wide range of AI models like OpenAI, Anthropic, Gemini, Mistral, Grok, DeepSeek, Azure, Perplexity, OpenRouter, and custom OpenAI-compatible APIs

88 lines (87 loc) • 2.27 kB
{ "name": "ai-ctrf", "version": "0.2.0", "description": "Generate AI summaries of test results using a wide range of AI models like OpenAI, Anthropic, Gemini, Mistral, Grok, DeepSeek, Azure, Perplexity, OpenRouter, and custom OpenAI-compatible APIs", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "build": "tsup", "build:check": "tsc -p . --noEmit", "build:watch": "tsup --watch", "clean": "rm -rf dist && rm -rf coverage && rm -rf ctrf", "test": "npm run build && vitest run", "test:watch": "vitest", "test:coverage": "npm run build && vitest run --coverage", "lint": "biome lint --write . --unsafe", "lint:check": "biome lint .", "format": "biome format --write .", "format:check": "biome format .", "check": "biome check .", "all": "npm run build:check && npm run test:types && npm run lint:check && npm run format:check && npm run test:coverage && npm run build", "test:types": "tsc -p tsconfig.tests.json" }, "bin": { "ai-ctrf": "./dist/index.js" }, "engines": { "node": ">=22.12.0" }, "files": [ "dist/", "README.md" ], "keywords": [ "ai", "ctrf", "test-reporter", "openai", "anthropic", "google", "mistral", "grok", "deepseek", "azure", "perplexity", "openrouter" ], "author": "Matthew Poulton-White", "repository": { "type": "git", "url": "git+https://github.com/ctrf-io/ai-test-reporter.git" }, "publishConfig": { "access": "public", "provenance": true }, "homepage": "https://ctrf.io", "license": "MIT", "devDependencies": { "@biomejs/biome": "2.6.8", "@d2t/vitest-ctrf-json-reporter": "1.3.0", "@smithy/node-http-handler": "4.14.2", "@types/node": "26.6.6", "@types/yargs": "17.0.35", "@vitest/coverage-v8": "5.1.1", "nock": "15.0.6", "tsup": "9.0.0", "typescript": "npm:@typescript/typescript6@6.0.2", "vitest": "5.1.1", "@typescript/native": "npm:typescript@7.0.2" }, "dependencies": { "@anthropic-ai/sdk": "0.133.0", "@aws-sdk/client-bedrock-runtime": "3.1149.0", "@google/generative-ai": "0.24.1", "ctrf": "0.6.0", "openai": "7.45.1", "yargs": "18.2.0" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } } }