152 lines
5.4 KiB
JSON
152 lines
5.4 KiB
JSON
{
|
|
"name": "@azure/identity",
|
|
"sdk-type": "client",
|
|
"version": "4.9.1",
|
|
"description": "Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID",
|
|
"main": "./dist/commonjs/index.js",
|
|
"module": "./dist/esm/index.js",
|
|
"types": "./dist/commonjs/index.d.ts",
|
|
"browser": "./dist/browser/index.js",
|
|
"//sampleConfiguration": {
|
|
"productName": "Azure Identity",
|
|
"productSlugs": [
|
|
"entra",
|
|
"entra-id"
|
|
],
|
|
"requiredResources": {
|
|
"Register an app with the Microsoft identity platform": "https://learn.microsoft.com/entra/identity-platform/quickstart-register-app",
|
|
"Set and retrieve a secret from Azure Key Vault": "https://learn.microsoft.com/azure/key-vault/secrets/quick-create-portal"
|
|
}
|
|
},
|
|
"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\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
"clean": "dev-tool run vendored rimraf --glob dist dist-* types *.tgz *.log",
|
|
"execute:samples": "dev-tool samples run samples-dev",
|
|
"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\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
"integration-test:browser": "echo skipped",
|
|
"integration-test:managed-identity": "dev-tool run test:vitest -- --test-timeout 180000 --config ./vitest.managed-identity.config.ts",
|
|
"integration-test:node": "dev-tool run test:vitest --esm",
|
|
"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 && npm run build:test && npm run unit-test && npm run integration-test",
|
|
"test:browser": "npm run unit-test:browser && npm run integration-test:browser",
|
|
"test:node": "npm run clean && 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 --browser",
|
|
"unit-test:node": "dev-tool run test:vitest",
|
|
"unit-test:node:no-timeouts": "dev-tool run test:vitest -- --test-timeout=0",
|
|
"update-snippets": "dev-tool run update-snippets"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"//metadata": {
|
|
"constantPaths": [
|
|
{
|
|
"path": "src/constants.ts",
|
|
"prefix": "SDK_VERSION"
|
|
}
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"repository": "github:Azure/azure-sdk-for-js",
|
|
"keywords": [
|
|
"azure",
|
|
"cloud",
|
|
"entra id",
|
|
"authentication",
|
|
"credential",
|
|
"certificate",
|
|
"managed identity",
|
|
"client secret",
|
|
"access token"
|
|
],
|
|
"author": "Microsoft Corporation",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
},
|
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity/README.md",
|
|
"sideEffects": false,
|
|
"dependencies": {
|
|
"@azure/abort-controller": "^2.0.0",
|
|
"@azure/core-auth": "^1.9.0",
|
|
"@azure/core-client": "^1.9.2",
|
|
"@azure/core-rest-pipeline": "^1.17.0",
|
|
"@azure/core-tracing": "^1.0.0",
|
|
"@azure/core-util": "^1.11.0",
|
|
"@azure/logger": "^1.0.0",
|
|
"@azure/msal-node": "^3.5.0",
|
|
"@azure/msal-browser": "^4.2.0",
|
|
"open": "^10.1.0",
|
|
"tslib": "^2.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@azure-tools/test-recorder": "^4.1.0",
|
|
"@azure-tools/test-utils-vitest": "^1.0.0",
|
|
"@azure/dev-tool": "^1.0.0",
|
|
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
|
"@azure/keyvault-keys": "^4.2.0",
|
|
"@types/jsonwebtoken": "^9.0.0",
|
|
"@types/ms": "^2.1.0",
|
|
"@types/node": "^18.0.0",
|
|
"@vitest/browser": "^3.0.9",
|
|
"@vitest/coverage-istanbul": "^3.0.9",
|
|
"assertion-error": "^2.0.1",
|
|
"dotenv": "^16.0.0",
|
|
"eslint": "^9.9.0",
|
|
"jsonwebtoken": "^9.0.0",
|
|
"ms": "^2.1.3",
|
|
"playwright": "^1.48.2",
|
|
"typescript": "~5.8.2",
|
|
"vitest": "^3.0.9"
|
|
},
|
|
"type": "module",
|
|
"tshy": {
|
|
"project": "./tsconfig.src.json",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": "./src/index.ts"
|
|
},
|
|
"dialects": [
|
|
"esm",
|
|
"commonjs"
|
|
],
|
|
"esmDialects": [
|
|
"workerd",
|
|
"browser"
|
|
],
|
|
"selfLink": false
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"workerd": {
|
|
"types": "./dist/workerd/index.d.ts",
|
|
"default": "./dist/workerd/index.js"
|
|
},
|
|
"browser": {
|
|
"types": "./dist/browser/index.d.ts",
|
|
"default": "./dist/browser/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"
|
|
}
|
|
}
|
|
}
|
|
}
|