@azure/core-amqp
Version:
Common library for amqp based azure sdks like @azure/event-hubs.
124 lines • 4.14 kB
JSON
{
"name": "@azure/core-amqp",
"sdk-type": "client",
"version": "4.5.0",
"description": "Common library for amqp based azure sdks like @azure/event-hubs.",
"author": "Microsoft Corporation",
"license": "MIT",
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"types": "./dist/browser/index.d.ts",
"default": "./dist/browser/index.js"
},
"react-native": {
"types": "./dist/react-native/index.d.ts",
"default": "./dist/react-native/index.js"
},
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"main": "./dist/commonjs/index.js",
"browser": "./dist/browser/index.js",
"react-native": "./dist/react-native/index.js",
"types": "./dist/commonjs/index.d.ts",
"type": "module",
"keywords": [
"azure",
"amqp",
"cloud"
],
"files": [
"dist/",
"!dist/**/*.d.*ts.map",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=22.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-amqp/README.md",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/Azure/azure-sdk-for-js",
"directory": "sdk/core/core-amqp"
},
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"dependencies": {
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.10.0",
"@azure/core-util": "^1.13.0",
"@azure/logger": "^1.3.0",
"buffer": "^6.0.3",
"events": "^3.3.0",
"process": "^0.11.10",
"rhea": "^3.0.0",
"rhea-promise": "^3.0.0",
"tslib": "^2.6.2",
"util": "^0.12.5"
},
"devDependencies": {
"@rollup/plugin-inject": "^5.0.5",
"@types/debug": "^4.1.12",
"@types/node": "^22.0.0",
"@types/react": "^19.2.14",
"@types/ws": "^8.5.10",
"@vitest/browser-playwright": "^4.1.2",
"@vitest/coverage-istanbul": "^4.1.2",
"cross-env": "^10.1.0",
"debug": "^4.3.4",
"eslint": "^9.39.1",
"playwright": "^1.60.0",
"prettier": "^3.9.1",
"react-native": "^0.84.1",
"rimraf": "^6.1.0",
"typescript": "~6.0.2",
"vitest": "^4.1.2",
"ws": "^8.17.0",
"@azure/dev-tool": "^1.0.0",
"@azure/eslint-plugin-azure-sdk": "^3.0.0"
},
"//metadata": {
"migrationDate": "2023-03-08T18:36:03.000Z"
},
"module": "./dist/esm/index.js",
"imports": {
"#platform/checkNetworkConnection": {
"browser": "./src/util/checkNetworkConnection-web.mts",
"react-native": "./src/util/checkNetworkConnection-web.mts",
"default": "./src/util/checkNetworkConnection.ts"
},
"#platform/runtimeInfo": {
"browser": "./src/util/runtimeInfo-browser.mts",
"react-native": "./src/util/runtimeInfo-react-native.mts",
"default": "./src/util/runtimeInfo.ts"
}
},
"scripts": {
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
"build:samples": "echo Skipped.",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf --glob dist dist-* temp types coverage coverage-browser .nyc_output *.tgz *.log test*.xml",
"execute:samples": "echo skipped",
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"lint": "eslint package.json src test",
"lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]",
"pack": "pnpm pack 2>&1",
"test": "tsc -b --noEmit && npm run test:node && npm run test:browser",
"test:browser": "dev-tool run test:vitest --no-test-proxy --browser",
"test:node": "dev-tool run test:vitest --no-test-proxy",
"update-snippets": "dev-tool run update-snippets"
}
}