{
  "name": "@azure/service-bus",
  "sdk-type": "client",
  "author": "Microsoft Corporation",
  "version": "7.9.5",
  "license": "MIT",
  "description": "Azure Service Bus SDK for JavaScript",
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/",
  "repository": "github:Azure/azure-sdk-for-js",
  "keywords": [
    "azure",
    "cloud",
    "service bus",
    "AMQP",
    "azure"
  ],
  "bugs": {
    "url": "https://github.com/Azure/azure-sdk-for-js/issues"
  },
  "main": "./dist/index.js",
  "module": "dist-esm/src/index.js",
  "browser": {
    "./dist-esm/src/util/crypto.js": "./dist-esm/src/util/crypto.browser.js",
    "./dist-esm/src/util/parseUrl.js": "./dist-esm/src/util/parseUrl.browser.js",
    "buffer": "buffer",
    "./dist-esm/src/util/runtimeInfo.js": "./dist-esm/src/util/runtimeInfo.browser.js"
  },
  "react-native": {
    "./dist/index.js": "dist-esm/src/index.js",
    "./dist-esm/src/util/runtimeInfo.js": "./dist-esm/src/util/runtimeInfo.native.js"
  },
  "types": "./types/latest/service-bus.d.ts",
  "engines": {
    "node": ">=18.0.0"
  },
  "files": [
    "dist/",
    "dist-esm/src/",
    "types/latest/service-bus.d.ts",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
    "bundle": "tsc -p . && dev-tool run bundle --polyfill-node false --inject-node-polyfills true --ignore-missing-node-builtins true",
    "build:browser": "npm run bundle",
    "build:node": "npm run bundle",
    "build:test:browser": "npm run bundle",
    "build:test:node": "npm run bundle",
    "build:test": "npm run bundle",
    "build": "npm run clean && npm run bundle && npm run extract-api",
    "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
    "clean": "rimraf --glob dist dist-* types *.tgz *.log coverage coverage-browser .nyc_output",
    "build:samples": "echo Obsolete.",
    "execute:samples": "dev-tool samples run samples-dev",
    "extract-api": "tsc -p . && dev-tool run extract-api",
    "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"samples/**/*.{ts,js}\" \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
    "integration-test:browser": "karma start --single-run",
    "integration-test:node": "dev-tool run test:node-js-input --no-test-proxy \"dist-esm/test/internal/**/*.spec.js\" \"dist-esm/test/public/**/*.spec.js\"",
    "integration-test": "npm run integration-test:node && npm run integration-test:browser",
    "lint:fix": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js --fix --fix-type [problem,suggestion]",
    "lint": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js",
    "pack": "npm pack 2>&1",
    "perf-test:node": "tsc -p . --module \"commonjs\" && node dist-esm/test/perf/track-2/index.spec.js",
    "test:browser": "npm run clean && npm run build:test:browser && npm run integration-test:browser",
    "test:node": "npm run clean && npm run build:test:node && npm run integration-test:node",
    "test": "npm run test:node && npm run test:browser",
    "unit-test:browser": "echo skipped",
    "unit-test:node": "dev-tool run test:node-ts-input --no-test-proxy -- --timeout 1200000 --full-trace \"test/internal/unit/{,!(browser)/**/}*.spec.ts\"",
    "unit-test": "npm run unit-test:node && npm run unit-test:browser"
  },
  "sideEffects": false,
  "//metadata": {
    "constantPaths": [
      {
        "path": "src/util/constants.ts",
        "prefix": "version"
      }
    ]
  },
  "//sampleConfiguration": {
    "productName": "Azure Service Bus",
    "productSlugs": [
      "azure",
      "azure-service-bus"
    ],
    "requiredResources": {
      "Azure Service Bus": "https://docs.microsoft.com/azure/service-bus-messaging"
    },
    "skip": [
      "receiveMessagesLoop.js",
      "receiveMessagesStreaming.js",
      "useProxy.js",
      "usingAadAuth.js",
      "administrationClient.js",
      "listingEntities.js",
      "sessionState.js",
      "session.js",
      "deferral.js",
      "sessionRoundRobin.js"
    ]
  },
  "dependencies": {
    "@azure/abort-controller": "^1.0.0",
    "@azure/core-amqp": "^4.1.1",
    "@azure/core-auth": "^1.3.0",
    "@azure/core-client": "^1.0.0",
    "@azure/core-rest-pipeline": "^1.1.0",
    "@azure/core-tracing": "^1.0.0",
    "@azure/core-paging": "^1.4.0",
    "@azure/core-util": "^1.1.1",
    "@azure/core-xml": "^1.0.0",
    "@azure/logger": "^1.0.0",
    "@types/is-buffer": "^2.0.0",
    "buffer": "^6.0.0",
    "is-buffer": "^2.0.3",
    "jssha": "^3.1.0",
    "long": "^5.2.0",
    "process": "^0.11.10",
    "tslib": "^2.2.0",
    "rhea-promise": "^3.0.0"
  },
  "devDependencies": {
    "@azure/dev-tool": "^1.0.0",
    "@azure/eslint-plugin-azure-sdk": "^3.0.0",
    "@azure/identity": "^4.0.1",
    "@azure-tools/test-utils": "^1.0.0",
    "@azure-tools/test-perf": "^1.0.0",
    "@azure-tools/test-recorder": "^3.0.0",
    "@microsoft/api-extractor": "^7.31.1",
    "@types/chai": "^4.1.6",
    "@types/chai-as-promised": "^7.1.0",
    "@types/debug": "^4.1.4",
    "@types/mocha": "^10.0.0",
    "@types/node": "^18.0.0",
    "@types/uuid": "^8.0.0",
    "@types/ws": "^7.2.4",
    "chai": "^4.2.0",
    "chai-as-promised": "^7.1.1",
    "chai-exclude": "^2.0.2",
    "cross-env": "^7.0.2",
    "debug": "^4.1.1",
    "dotenv": "^16.0.0",
    "eslint": "^8.0.0",
    "https-proxy-agent": "^7.0.0",
    "karma": "^6.2.0",
    "karma-chrome-launcher": "^3.0.0",
    "karma-coverage": "^2.0.0",
    "karma-env-preprocessor": "^0.1.1",
    "karma-firefox-launcher": "^1.1.0",
    "karma-junit-reporter": "^2.0.1",
    "karma-mocha": "^2.0.1",
    "karma-mocha-reporter": "^2.2.5",
    "karma-sourcemap-loader": "^0.3.8",
    "mocha": "^10.0.0",
    "moment": "^2.24.0",
    "nyc": "^15.1.0",
    "promise": "^8.0.3",
    "puppeteer": "^22.2.0",
    "rimraf": "^5.0.5",
    "ts-node": "^10.0.0",
    "typescript": "~5.4.5",
    "uuid": "^8.3.0",
    "ws": "^8.0.0",
    "sinon": "^17.0.0",
    "@types/sinon": "^17.0.0",
    "events": "^3.0.0"
  }
}
