UNPKG

@context-action/llms-generator

Version:

Enterprise-grade LLM content generation framework with mismatch detection and integrity management

105 lines (104 loc) 3.83 kB
{ "name": "@context-action/llms-generator", "version": "0.4.0", "description": "Enterprise-grade LLM content generation framework with mismatch detection and integrity management", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "./cli": { "import": "./dist/cli/index.js", "types": "./dist/cli/index.d.ts" } }, "bin": { "llms": "./dist/cli/index.js" }, "scripts": { "build": "tsdown", "build:prod": "NODE_ENV=production tsdown --config tsdown.prod.config.ts", "dev": "tsdown --watch", "test": "jest", "test:watch": "jest --watch", "test:cli": "jest test/cli/ --coverage", "test:cli:watch": "jest test/cli/ --watch", "test:cli:init": "jest test/cli/InitCommand.test.ts", "test:cli:work-next": "jest test/cli/WorkNextCommand.test.ts", "test:cli:priority": "jest test/cli/PriorityManagerCommand.test.ts test/cli/PriorityTasksCommand.test.ts", "test:cli:generate": "jest test/cli/GenerateTemplatesCommand.test.ts test/cli/LLMSGenerateCommand.test.ts", "test:cli:sync": "jest test/cli/SyncDocsCommand.test.ts test/cli/MismatchDetectionCommand.test.ts", "test:adaptive": "jest test/integration/AdaptiveComposer.test.ts", "test:legacy": "jest test/cli/generate-all.test.ts test/cli/new-cli.test.ts", "lint": "eslint src", "type-check": "tsc --noEmit", "clean": "rm -rf dist", "docs:generate": "typedoc src/index.ts --out docs/api --readme none --exclude '**/*.test.ts' --exclude '**/test/**/*'", "docs:build": "pnpm run docs:generate", "security:audit": "pnpm audit --audit-level high", "security:outdated": "pnpm outdated", "security:check": "pnpm security:audit && pnpm security:outdated", "size": "pnpm build:prod && node -e \"const fs=require('fs');const path=require('path');const distPath='./dist';const files=fs.readdirSync(distPath).filter(f=>f.endsWith('.js'));console.log('Bundle sizes:');files.forEach(f=>{const size=fs.statSync(path.join(distPath,f)).size;console.log(f+': '+(size/1024).toFixed(1)+'KB');});\"", "prepublishOnly": "pnpm run build", "legacy:generate-files": "npm run cli -- generate-files", "legacy:sync-all": "npm run cli -- sync-all", "legacy:fix-paths": "npm run cli -- fix-paths", "test:llms": "npx tsx test/scripts/test-llms.ts", "test:category": "npx tsx test/scripts/test-category.ts", "test:save-results": "npx tsx test/scripts/save-results.ts", "demo": "npx tsx examples/demo.ts", "demo:verbose": "npx tsx examples/demo.ts --verbose", "cli": "npx tsx src/cli/index.ts" }, "keywords": [ "llmstxt", "documentation", "summarization", "context-action", "priority-based", "generator" ], "author": "mineclover", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/mineclover/context-action.git", "directory": "packages/llms-generator" }, "dependencies": { "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "commander": "^12.1.0", "glob": "11.0.3", "gray-matter": "^4.0.3", "typescript": "^5.3.0", "yaml": "^2.8.1" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.57.0", "jest": "^29.7.0", "ts-jest": "^29.4.1", "tsdown": "^0.14.1" }, "engines": { "node": ">=18.0.0" }, "files": [ "dist", "scripts", "data/priority-schema-enhanced.json", "data/config-schema.json", "README.md", "CHANGELOG.md", "USAGE_EXAMPLES.md", "CONFIG_EXAMPLES.md" ], "gitHead": "2c9d3a2d383f75b3bc2a5dee033e8bd275ba1084" }