UNPKG

autocoder-cli-sdk

Version:

Node.js SDK for AutoCoder CLI - 便于在Node.js代码中调用auto-coder.run功能

91 lines (90 loc) 2.47 kB
{ "name": "autocoder-cli-sdk", "version": "0.0.1", "description": "Node.js SDK for AutoCoder CLI - 便于在Node.js代码中调用auto-coder.run功能", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "build:watch": "tsc --watch", "dev": "tsx --watch examples/basic-usage.ts", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts examples/**/*.ts", "lint:fix": "eslint src/**/*.ts examples/**/*.ts --fix", "format": "prettier --write \"src/**/*.ts\" \"examples/**/*.ts\"", "format:check": "prettier --check \"src/**/*.ts\"", "typecheck": "tsc --noEmit", "clean": "rimraf dist", "prepublishOnly": "pnpm run clean && pnpm run build", "example:basic": "tsx examples/basic-usage.ts", "example:async": "tsx examples/async-usage.ts", "example:generator": "tsx examples/generator-usage.ts", "example:diagnostics": "tsx -e \"import('./src/diagnostics').then(d => d.runDiagnostics(true))\"" }, "keywords": [ "autocoder", "cli", "sdk", "code-generation", "ai", "nodejs", "typescript", "api" ], "author": "AutoCoder Team <support@autocoder.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/your-org/auto-coder.git", "directory": "cli-sdks/nodejs" }, "bugs": { "url": "https://github.com/your-org/auto-coder/issues" }, "homepage": "https://github.com/your-org/auto-coder/tree/master/cli-sdks/nodejs", "files": [ "dist/**/*", "README.md", "LICENSE" ], "engines": { "node": ">=14.0.0" }, "dependencies": { "zod": "^3.22.0" }, "devDependencies": { "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.45.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.5.0", "prettier": "^3.0.0", "rimraf": "^5.0.0", "ts-jest": "^29.1.0", "tsx": "^4.0.0", "typescript": "^5.0.0" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "testMatch": [ "**/tests/**/*.test.ts" ], "collectCoverageFrom": [ "src/**/*.ts", "!src/**/*.d.ts" ] }, "packageManager": "pnpm@10.12.1", "pnpm": { "overrides": { "@types/node": "^20.0.0" } } }