XYOracleNetwork/clients

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@xyo-network/clients",
  "version": "3.1.1",
  "description": "Primary SDK for using XYO Protocol 2.0",
  "homepage": "https://xyo.network",
  "bugs": {
    "url": "git+https://github.com/XYOracleNetwork/clients/issues",
    "email": "support@xyo.network"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/XYOracleNetwork/clients.git"
  },
  "license": "LGPL-3.0-only",
  "author": {
    "name": "XYO Development Team",
    "email": "support@xyo.network",
    "url": "https://xyo.network"
  },
  "sideEffects": false,
  "type": "module",
  "exports": {
    ".": {
      "browser": {
        "types": "./dist/browser/index.d.ts",
        "default": "./dist/browser/index.mjs"
      },
      "node": {
        "types": "./dist/node/index.d.ts",
        "default": "./dist/node/index.mjs"
      },
      "types": "./dist/node/index.d.ts",
      "default": "./dist/node/index.mjs"
    },
    "./package.json": "./package.json",
    "./README.md": "./README.md"
  },
  "module": "./dist/node/index.mjs",
  "types": "./dist/node/index.d.ts",
  "workspaces": [
    "packages/**/*"
  ],
  "scripts": {
    "build": "xy build && xy statics",
    "build-typedoc-site": "typedoc",
    "compile": "./scripts/clear-scrollback-buffer.sh && yarn xy compile",
    "coverage": "yarn jest --coverage --forceExit",
    "deploy": "xy deploy",
    "free-3033": "kill -9 $(lsof -t -i :3033)",
    "free-8080": "kill -9 $(lsof -t -i :8080)",
    "free-mongo": "kill -9 $(lsof -t -i :55391) && kill -9 $(lsof -t -i :55392) && kill -9 $(lsof -t -i :55393)",
    "lint": "yarn eslint ./src ./packages/node/**/src ./packages/mongo/**/src ./packages/modules-mongo/packages/*/src ./packages/cli/**/src ./packages/automation-witness-server/**/src --ext ts --ext tsx",
    "lint-pkg": "npmPkgJsonLint .",
    "perf": "yarn jest -c jest.config.perf.cjs",
    "start": "nodemon",
    "start-cjs": "node ./packages/node/packages/core/packages/app/dist/node/app.js",
    "start-cli-cjs": "node ./packages/cli/dist/xyo.js",
    "start-cli-esm": "node ./packages/cli/dist/xyo.mjs",
    "start-esm": "node ./packages/node/packages/core/packages/app/dist/node/app.mjs",
    "test": "vitest run",
    "xyo": "node ./packages/cli/dist/cjs/index.js",
    "xyo-ts": "yarn workspace @xyo-network/node-cli xyo-ts"
  },
  "resolutions": {
    "bn.js": "^5",
    "ethers": "^6",
    "quick-lru": "^5"
  },
  "dependencies": {
    "@xyo-network/automation-witness-server": "workspace:^",
    "@xyo-network/cli": "workspace:^",
    "@xyo-network/express-node": "workspace:^"
  },
  "devDependencies": {
    "@babel/core": "^7.26.0",
    "@babel/preset-env": "^7.26.0",
    "@babel/preset-typescript": "^7.26.0",
    "@types/jest": "^29.5.14",
    "@types/supertest": "^6.0.2",
    "@typescript-eslint/eslint-plugin": "^8.12.2",
    "@typescript-eslint/parser": "^8.12.2",
    "@xylabs/eslint-config-flat": "^4.2.3",
    "@xylabs/ts-scripts-yarn3": "^4.2.3",
    "@xylabs/tsconfig": "^4.2.3",
    "@xylabs/tsconfig-dom-jest": "^4.1.0",
    "@xylabs/tsconfig-jest": "^4.1.0",
    "babel-jest": "^29.7.0",
    "dotenv": "^16.4.5",
    "eslint": "^9.13.0",
    "eslint-import-resolver-typescript": "^3.6.3",
    "jest": "^29.7.0",
    "jest-docblock": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "jest-extended": "^4.0.2",
    "jest-runner": "^29.7.0",
    "jest-runner-groups": "^2.2.0",
    "jest-sorted": "^1.0.15",
    "lodash-es": "^4.17.21",
    "mongodb-memory-server": "^10.1.2",
    "nodemon": "^3.1.7",
    "reflect-metadata": "^0.2.2",
    "supertest": "^7.0.0",
    "ts-jest": "^29.2.5",
    "typedoc": "^0.26.10",
    "typescript": "^5.6.3",
    "vitest": "^2.1.4"
  },
  "packageManager": "yarn@4.5.0",
  "volta": {
    "node": "22.3.0",
    "yarn": "1.22.22"
  },
  "publishConfig": {
    "access": "public"
  },
  "resolutions_comment": "We set the above resolutions to make sure we pull in the latest versions of these packages even if some sub packages request earlier versions"
}