| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- {
- "name": "@opencode-ai/sdk",
- "version": "0.1.0-alpha.20",
- "description": "The official TypeScript library for the Opencode API",
- "author": "Opencode <[email protected]>",
- "types": "dist/index.d.ts",
- "main": "dist/index.js",
- "type": "commonjs",
- "repository": "github:sst/opencode-sdk-js",
- "license": "MIT",
- "packageManager": "[email protected]",
- "files": [
- "**/*"
- ],
- "private": false,
- "scripts": {
- "test": "./scripts/test",
- "build": "./scripts/build",
- "prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1",
- "format": "./scripts/format",
- "prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build && ./scripts/utils/git-swap.sh; fi",
- "tsn": "ts-node -r tsconfig-paths/register",
- "lint": "./scripts/lint",
- "fix": "./scripts/format"
- },
- "dependencies": {},
- "devDependencies": {
- "@arethetypeswrong/cli": "^0.17.0",
- "@swc/core": "^1.3.102",
- "@swc/jest": "^0.2.29",
- "@types/jest": "^29.4.0",
- "@types/node": "^20.17.6",
- "@typescript-eslint/eslint-plugin": "8.31.1",
- "@typescript-eslint/parser": "8.31.1",
- "eslint": "^9.20.1",
- "eslint-plugin-prettier": "^5.4.1",
- "eslint-plugin-unused-imports": "^4.1.4",
- "iconv-lite": "^0.6.3",
- "jest": "^29.4.0",
- "prettier": "^3.0.0",
- "publint": "^0.2.12",
- "ts-jest": "^29.1.0",
- "ts-node": "^10.5.0",
- "tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.8/tsc-multi.tgz",
- "tsconfig-paths": "^4.0.0",
- "typescript": "5.8.3",
- "typescript-eslint": "8.31.1"
- },
- "imports": {
- "@opencode-ai/sdk": ".",
- "@opencode-ai/sdk/*": "./src/*"
- },
- "exports": {
- ".": {
- "import": "./dist/index.mjs",
- "require": "./dist/index.js"
- },
- "./*.mjs": {
- "default": "./dist/*.mjs"
- },
- "./*.js": {
- "default": "./dist/*.js"
- },
- "./*": {
- "import": "./dist/*.mjs",
- "require": "./dist/*.js"
- }
- }
- }
|