UNPKG

notdiamond

Version:
130 lines (129 loc) 3.71 kB
{ "name": "notdiamond", "type": "module", "version": "1.1.2", "author": "not-diamond", "license": "MIT", "description": "TS/JS client for the NotDiamond API", "main": "./dist/index.cjs", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "types": "./dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/Not-Diamond/notdiamond-node.git" }, "bugs": { "url": "https://github.com/Not-Diamond/notdiamond-node/issues" }, "homepage": "https://github.com/Not-Diamond/notdiamond-node#readme", "files": [ "dist" ], "keywords": [ "ai", "not-diamond", "typescript", "openai", "chatgpt", "anthropic", "claude", "gemini", "model router" ], "scripts": { "prepare": "husky install", "start:cjs": "node ./dist/index.cjs", "start:esm": "node ./dist/index.mjs", "dev": "nodemon", "develop": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./src/index.ts", "test": "jest --passWithNoTests", "test:watch": "jest --watch --passWithNoTests", "test:coverage": "jest --coverage --passWithNoTests", "clean": "rimraf build && rimraf dist", "build": "swc ./src -d build", "build:watch": "swc ./src -d build -w", "lint": "eslint ./src --ext .ts", "lint:fix": "eslint ./src --ext .ts --fix", "prettier": "prettier '**/*.{ts,json,md}'", "prettier:write": "prettier --write '**/*.{ts,json,md}'", "type-check": "tsc --noEmit", "lint-staged": "lint-staged", "release": "semantic-release", "bundle": "unbuild" }, "dependencies": { "@langchain/anthropic": "^0.3.1", "@langchain/cohere": "^0.3.0", "@langchain/community": "^0.3.3", "@langchain/core": "^0.3.3", "@langchain/google-genai": "^0.1.0", "@langchain/mistralai": "^0.1.1", "@langchain/openai": "^0.3.0", "ansi-styles": "^6.2.1", "axios": "^1.8.3", "camelcase": "^8.0.0", "decamelize": "^6.0.0", "dotenv": "^16.4.5", "eventemitter3": "^5.0.1", "langchain": "^0.3.2", "langsmith": "^0.1.60", "p-finally": "^2.0.1", "p-queue": "^8.0.1", "p-retry": "^6.2.0", "p-timeout": "^6.1.2", "retry": "^0.13.1", "semver": "^7.6.3", "uuid": "^10.0.0", "zod": "^3.23.8", "zod-to-json-schema": "^3.23.3" }, "devDependencies": { "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.1", "@semantic-release/npm": "^12.0.1", "@semantic-release/release-notes-generator": "^14.0.3", "@swc/cli": "^0.6.0", "@swc/core": "^1.11.10", "@swc/jest": "^0.2.37", "@types/jest": "29.5.12", "@types/node": "20.12.12", "@typescript-eslint/eslint-plugin": "7.9.0", "@typescript-eslint/parser": "7.9.0", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-jest": "27.9.0", "eslint-plugin-prettier": "5.1.3", "husky": "^9.0.0", "jest": "^29.7.0", "lint-staged": "^15.0.0", "nodemon": "3.1.0", "prettier": "3.2.5", "regenerator-runtime": "^0.14.0", "rimraf": "5.0.7", "semantic-release": "^24.2.3", "ts-node": "^10.9.1", "typescript": "5.4.5", "unbuild": "^3.5.0" }, "resolutions": { "wrap-ansi": "7.0.0", "cross-spawn": "^7.0.5", "@octokit/request-error": "^6.1.7", "@octokit/endpoint": "^10.1.3", "@octokit/request": "^9.2.1", "@octokit/plugin-paginate-rest": "^11.4.1", "@babel/helpers": "^7.26.10", "esbuild": "^0.25.0" }, "engines": { "node": ">=20", "npm": ">=8" } }