XYOracleNetwork/sdk-xyo-client-js

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@xyo-network/sdk-js",
  "version": "3.3.3",
  "description": "Primary SDK for using XYO Protocol 2.0",
  "homepage": "https://xyo.network",
  "bugs": {
    "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues",
    "email": "support@xyo.network"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.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/neutral/index.d.ts",
      "default": "./dist/neutral/index.mjs"
    },
    "./package.json": "./package.json",
    "./README.md": "./README.md"
  },
  "module": "./dist/neutral/index.mjs",
  "types": "./dist/neutral/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 :55393)",
    "lint-pkg": "npmPkgJsonLint .",
    "perf": "yarn jest -c jest.config.perf.cjs",
    "test": "vitest --watch false",
    "test-esm": "FORCE_COLOR=1 && node $(yarn jest --no-cache --forceExit)",
    "test:ci": "jest --runInBand --coverage --forceExit --passWithNoTests",
    "test:hash-perf": "jest packages/protocol/packages/core/packages/hash/src/spec/PayloadHasher.bigobj.perf.spec.ts -c ./jest.config.no-mongo.ts",
    "test:hash-perf-parallel": "jest packages/protocol/packages/core/packages/hash/src/spec/PayloadHasher.bigobj-parallel.perf.spec.ts -c ./jest.config.no-mongo.ts",
    "test:module": "jest . --passWithNoTests --forceExit -- --group=module",
    "test:no-mongo": "jest ${0} --passWithNoTests --forceExit -c ./jest.config.no-mongo.ts -- --group=-mongo",
    "test:no-slow": "jest . --passWithNoTests --forceExit -- --group=-slow",
    "test:sentinel": "jest . --passWithNoTests --forceExit -- --group=sentinel",
    "test:thumbnail": "jest . --passWithNoTests --forceExit -- --group=thumbnail",
    "testx": "jest ${0} --passWithNoTests --forceExit -c ./jest.config.no-mongo.ts -- --group=-mongo"
  },
  "resolutions": {
    "axios": "^1",
    "ethers": "^6",
    "eslint": "9.14.0",
    "fake-indexeddb": "^4",
    "quick-lru": "^5"
  },
  "dependencies": {
    "@xyo-network/core-payload-plugins": "workspace:^",
    "@xyo-network/manifest": "workspace:^",
    "@xyo-network/modules": "workspace:^",
    "@xyo-network/protocol": "workspace:^",
    "@xyo-network/sdk-utils": "workspace:^",
    "@xyo-network/shared": "workspace:^"
  },
  "devDependencies": {
    "@babel/core": "^7.26.0",
    "@firebase/app": "^0.10.16",
    "@firebase/app-compat": "^0.2.46",
    "@stylistic/eslint-plugin": "^2.10.1",
    "@types/supertest": "^6.0.2",
    "@typescript-eslint/eslint-plugin": "^8.14.0",
    "@typescript-eslint/parser": "^8.14.0",
    "@xylabs/eslint-config-flat": "^4.2.4",
    "@xylabs/forget": "^4.3.13",
    "@xylabs/ts-scripts-yarn3": "^4.2.4",
    "@xylabs/tsconfig": "^4.2.4",
    "@xylabs/tsconfig-dom-jest": "^4.1.0",
    "@xylabs/vitest-extended": "^4.3.13",
    "dotenv": "^16.4.5",
    "eslint": "^9.15.0",
    "eslint-import-resolver-typescript": "^3.6.3",
    "jsdom": "^25.0.1",
    "reflect-metadata": "^0.2.2",
    "supertest": "^7.0.0",
    "ts-jest": "^29.2.5",
    "ts-node": "^10.9.2",
    "tslib": "^2.8.1",
    "typedoc": "^0.26.11",
    "typedoc-material-theme": "^1.1.0",
    "typescript": "^5.6.3",
    "vitest": "^2.1.5"
  },
  "packageManager": "yarn@4.5.1",
  "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"
}