{
  "name": "hypha-rpc",
  "version": "0.21.38",
  "description": "Hypha RPC client for connecting to Hypha server for data management and AI model serving.",
  "main": "index.js",
  "module": "index.mjs",
  "browser": "dist/hypha-rpc-websocket.min.js",
  "types": "index.d.ts",
  "exports": {
    ".": {
      "import": "./index.mjs",
      "require": "./index.js",
      "default": "./index.js"
    },
    "./dist/*": "./dist/*"
  },
  "scripts": {
    "build": "rm -rf dist && npm run build-umd && BUILD_ESM=true  npm run build-umd",
    "build-umd": "webpack --config webpack.config.js --mode development && NODE_ENV=production webpack --config webpack.config.js --mode production",
    "watch": "NODE_ENV=production webpack --watch --progress --config webpack.config.js --mode production",
    "publish-npm": "npm install && npm run build && npm publish",
    "serve": "webpack serve",
    "stats": "webpack --profile --json > stats.json",
    "stats-prod": "webpack --profile --json --mode production > stats-prod.json",
    "clean": "rimraf dist/*",
    "format": "prettier --write \"{src,tests}/**/**\"",
    "check-format": "prettier --check \"{src,tests}/**/**\"",
    "start-hypha-server": "rm -rf /tmp/minio_data && python -m hypha.server --port 9394 --workspace-bucket test-workspaces --start-minio-server --minio-workdir /tmp/minio_data --minio-port 9007 --minio-root-user myuser --minio-root-password mypassword --s3-cleanup-period 3",
    "test": "concurrently --kill-others --success first \"npm run start-hypha-server\" \"node wait-for-server.js && karma start --single-run --browsers ChromeHeadless,FirefoxHeadless karma.conf.js\"",
    "test-watch": "concurrently --kill-others \"npm run start-hypha-server\" \"node wait-for-server.js && karma start --auto-watch --browsers ChromeDebugging karma.conf.js --debug\"",
    "test:coverage": "concurrently --kill-others --success first \"npm run start-hypha-server\" \"node wait-for-server.js && karma start --single-run --browsers ChromeHeadless karma.conf.js --coverage\""
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/oeway/hypha-rpc.git"
  },
  "keywords": [
    "hypha",
    "rpc"
  ],
  "author": "Wei Ouyang",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/oeway/hypha-rpc/issues"
  },
  "homepage": "https://github.com/oeway/hypha-rpc",
  "engines": {
    "node": ">=19.0.0"
  },
  "dependencies": {
    "@msgpack/msgpack": "^2.7.1"
  },
  "optionalDependencies": {
    "tweetnacl": "^1.0.3"
  },
  "devDependencies": {
    "@babel/core": "^7.24.9",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/preset-env": "^7.24.8",
    "babel-loader": "^9.1.3",
    "chai": "^5.1.1",
    "clean-webpack-plugin": "^4.0.0",
    "concurrently": "^8.2.2",
    "copy-webpack-plugin": "^12.0.2",
    "eslint": "^7.32.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-loader": "^4.0.2",
    "karma": "^6.4.3",
    "karma-chrome-launcher": "^3.2.0",
    "karma-coverage": "^2.2.1",
    "karma-firefox-launcher": "^2.1.3",
    "karma-mocha": "^2.0.1",
    "karma-sourcemap-loader": "^0.4.0",
    "karma-spec-reporter": "^0.0.36",
    "karma-webpack": "^5.0.1",
    "mocha": "^10.6.0",
    "prettier": "^3.3.3",
    "puppeteer": "^24.37.2",
    "webpack": "^5.93.0",
    "webpack-cli": "^5.1.4",
    "webpack-dev-server": "^5.0.4"
  }
}