@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API
181 lines • 5.76 kB
JSON
{
"name": "@azure/cosmos",
"version": "4.9.0",
"description": "Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API",
"sdk-type": "client",
"keywords": [
"cosmosdb",
"cosmos db",
"documentdb",
"document database",
"azure",
"nosql",
"database",
"cloud",
"azure"
],
"author": "Microsoft Corporation",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"react-native": "./dist/react-native/index.js",
"browser": "./dist/browser/index.js",
"files": [
"dist/",
"README.md",
"LICENSE"
],
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/cosmos/README.md",
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/common/constants.ts",
"prefix": "SDKVersion"
}
]
},
"types": "./dist/commonjs/index.d.ts",
"engines": {
"node": ">=20.0.0"
},
"repository": "github:Azure/azure-sdk-for-js",
"license": "MIT",
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"tsdoc": {
"tsdocFlavor": "AEDoc"
},
"dependencies": {
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.9.0",
"@azure/core-rest-pipeline": "^1.19.1",
"@azure/core-tracing": "^1.2.0",
"@azure/core-util": "^1.11.0",
"@azure/keyvault-keys": "^4.9.0",
"@azure/logger": "^1.1.4",
"fast-json-stable-stringify": "^2.1.0",
"priorityqueuejs": "^2.0.0",
"semaphore": "^1.1.0",
"tslib": "^2.8.1"
},
"devDependencies": {
"@azure/identity": "4.13.0",
"@types/debug": "^4.1.4",
"@types/node": "^20.19.25",
"@types/priorityqueuejs": "^1.0.1",
"@types/semaphore": "^1.1.0",
"@vitest/browser-playwright": "^4.0.8",
"@vitest/coverage-istanbul": "^4.0.8",
"assertion-error": "^2.0.1",
"cross-env": "^7.0.3",
"dotenv": "^16.6.1",
"eslint": "^9.39.1",
"nock": "^13.5.6",
"playwright": "^1.56.1",
"prettier": "^3.6.2",
"rimraf": "^6.1.0",
"tshy": "^3.0.3",
"typescript": "~5.9.3",
"vitest": "^4.0.8",
"@azure-tools/test-utils-vitest": "^2.0.1",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/dev-tool": "^1.0.0"
},
"//sampleConfiguration": {
"skip": [
"EntraAuth.ts",
"AlterQueryThroughput.ts",
"Bulk.ts",
"ExcludedLocations.ts",
"ExecuteBulkOperations.ts",
"BulkUpdateWithSproc.ts",
"ChangeFeed.ts",
"ContainerManagement.ts",
"ItemManagement.ts",
"IndexManagement.ts",
"DatabaseManagement.ts",
"QueryThroughput.ts",
"SasTokenAuth.ts",
"ServerSideScripts.ts",
"handleError.ts",
"ChangeFeedHierarchicalPartitionKey.ts",
"ChangeFeedIteratorLatestVersion.ts",
"ChangeFeedIteratorAllVersionsAndDeletes.ts",
"Diagnostics.ts",
"HierarchicalPartitioning.ts",
"FullTextSearch.ts",
"ClientSideEncryption.ts"
],
"productName": "Azure Cosmos DB",
"productSlugs": [
"azure-cosmos-db"
],
"requiredResources": {
"Azure Cosmos DB account": "https://learn.microsoft.com/azure/cosmos-db/how-to-manage-database-account#create-an-account"
},
"extraFiles": {
"./samples-dev/Data/Families.json": [
"typescript/src/Data/Families.json",
"javascript/Data/Families.json"
]
}
},
"type": "module",
"tshy": {
"project": "./tsconfig.src.build.json",
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
},
"dialects": [
"esm",
"commonjs"
],
"esmDialects": [
"browser",
"react-native"
],
"selfLink": false
},
"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"
}
}
},
"scripts": {
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
"build:samples": "tsc -p tsconfig.samples.json",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"samples-dev/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf --glob dist dist-esm temp types *.tgz *.html *.log *.tsbuildinfo test/**/*.{js,js.map,d.ts}",
"execute:samples": "dev-tool samples run samples-dev",
"extract-api": "npm run build && dev-tool run extract-api",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"samples-dev/**/*.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": "npm run test:node && npm run test:browser",
"test:browser": "echo skipped",
"test:node": "npm run test:node:unit",
"test:node:integration": "cross-env NODE_OPTIONS='--dns-result-order=ipv4first' dev-tool run test:vitest --no-test-proxy -- -c vitest.int.config.ts",
"test:node:unit": "cross-env NODE_OPTIONS='--dns-result-order=ipv4first' dev-tool run test:vitest --no-test-proxy -- -c vitest.unit.config.ts",
"update-snippets": "dev-tool run update-snippets",
"generate-samples": "npm run build && npx dev-tool samples publish"
}
}