UNPKG

@azure/core-rest-pipeline

Version:

Isomorphic client library for making HTTP requests in node.js and browser.

134 lines (133 loc) 4.88 kB
{ "name": "@azure/core-rest-pipeline", "version": "1.19.1", "description": "Isomorphic client library for making HTTP requests in node.js and browser.", "sdk-type": "client", "type": "module", "main": "./dist/commonjs/index.js", "browser": "./dist/browser/index.js", "react-native": "./dist/react-native/index.js", "types": "./dist/commonjs/index.d.ts", "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" } } }, "files": [ "dist/", "!dist/**/*.d.*ts.map", "LICENSE", "README.md" ], "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", "cloud" ], "author": "Microsoft Corporation", "license": "MIT", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { "node": ">=18.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "scripts": { "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "build:samples": "echo Obsolete", "build:test": "echo skipped. actual commands inlined in browser test scripts", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-* temp types *.tgz *.log", "execute:samples": "echo skipped", "extract-api": "dev-tool run build-package && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"samples-dev/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "echo skipped", "integration-test:node": "echo skipped", "lint": "eslint README.md package.json api-extractor.json src test", "lint:fix": "eslint README.md package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", "pack": "npm pack 2>&1", "test": "npm run clean && dev-tool run build-package && npm run unit-test:node && dev-tool run build-test && npm run unit-test:browser && npm run integration-test", "test:browser": "npm run clean && npm run unit-test:browser && npm run integration-test:browser", "test:node": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run integration-test:node", "unit-test": "npm run unit-test:node && npm run unit-test:browser", "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser", "unit-test:node": "dev-tool run test:vitest --no-test-proxy", "update-snippets": "dev-tool run update-snippets" }, "//metadata": { "constantPaths": [ { "path": "src/constants.ts", "prefix": "SDK_VERSION" } ], "sampleConfiguration": { "skipFolder": true, "disableDocsMs": true, "productName": "Azure SDK Core", "productSlugs": [ "azure" ] }, "migrationDate": "2023-03-08T18:36:03.000Z" }, "dependencies": { "@azure/abort-controller": "^2.0.0", "@azure/core-auth": "^1.8.0", "@azure/core-tracing": "^1.0.1", "@azure/core-util": "^1.11.0", "@azure/logger": "^1.0.0", "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.0", "tslib": "^2.6.2" }, "devDependencies": { "@azure-tools/vite-plugin-browser-test-map": "^1.0.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@types/node": "^18.0.0", "@vitest/browser": "^3.0.3", "@vitest/coverage-istanbul": "^3.0.3", "eslint": "^9.9.0", "playwright": "^1.41.2", "typescript": "~5.7.2", "vitest": "^3.0.3" }, "tshy": { "exports": { "./package.json": "./package.json", ".": "./src/index.ts" }, "dialects": [ "esm", "commonjs" ], "esmDialects": [ "browser", "react-native" ], "selfLink": false, "project": "./tsconfig.src.json" }, "module": "./dist/esm/index.js" }