162 строки
6.1 KiB
JSON
162 строки
6.1 KiB
JSON
{
|
|
"name": "@azure/cosmos",
|
|
"version": "4.2.1",
|
|
"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/index.js",
|
|
"module": "./dist-esm/src/index.js",
|
|
"react-native": "./dist-esm/src/index.js",
|
|
"browser": {
|
|
"./dist-esm/src/request/defaultAgent.js": "./dist-esm/src/request/defaultAgent.browser.js",
|
|
"./dist-esm/src/utils/atob.js": "./dist-esm/src/utils/atob.browser.js",
|
|
"./dist-esm/src/utils/digest.js": "./dist-esm/src/utils/digest.browser.js",
|
|
"./dist-esm/src/utils/hmac.js": "./dist-esm/src/utils/hmac.browser.js",
|
|
"./dist-esm/src/utils/envUtils.js": "./dist-esm/src/utils/envUtils.browser.js"
|
|
},
|
|
"files": [
|
|
"changelog.md",
|
|
"dist/",
|
|
"dist-esm/src/",
|
|
"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/types/latest/cosmos.d.ts",
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run clean && npm run extract-api && npm run bundle",
|
|
"build:samples": "echo Obsolete.",
|
|
"build:src": "echo Using TypeScript && tsc --version && tsc -b --pretty",
|
|
"build:test": "tsc",
|
|
"bundle": "dev-tool run bundle",
|
|
"bundle-types": "node bundle-types.js",
|
|
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"samples-dev/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
|
|
"check:src:strict": "tsc --pretty --project tsconfig.strict.json",
|
|
"clean": "dev-tool run vendored 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 check:src:strict && npm run build:src && dev-tool run extract-api",
|
|
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"samples-dev/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
|
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
"integration-test:browser": "echo skipped",
|
|
"integration-test:node": "dev-tool run vendored cross-env NODE_OPTIONS='--dns-result-order=ipv4first' mocha -r test/mocha.env.ts -r ts-node/register -r dotenv/config -r ./test/public/common/setup.ts --reporter ../../../common/tools/mocha-multi-reporter.js --reporter-option output=test-results.xml \"./test/internal/**/*.spec.ts\" \"./test/public/**/*.spec.ts\" --timeout 100000",
|
|
"lint": "eslint package.json api-extractor.json src test",
|
|
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
|
"pack": "npm pack 2>&1",
|
|
"test": "npm run unit-test && npm run integration-test",
|
|
"test-consumer": "dev-tool run vendored rimraf consumer-test/node_modules consumer-test/package-lock.json && node consumer-test.js 2>&1",
|
|
"test:browser": "npm run unit-test:browser && npm run integration-test:browser",
|
|
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
|
|
"test:signoff": "npm run integration-test:node -- --fgrep \"nosignoff\" --invert",
|
|
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
"unit-test:browser": "echo skipped",
|
|
"unit-test:node": "echo skipped",
|
|
"update-snippets": "echo skipped"
|
|
},
|
|
"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.0.0",
|
|
"@azure/core-auth": "^1.7.1",
|
|
"@azure/core-rest-pipeline": "^1.15.1",
|
|
"@azure/core-tracing": "^1.1.1",
|
|
"@azure/core-util": "^1.8.1",
|
|
"fast-json-stable-stringify": "^2.1.0",
|
|
"jsbi": "^4.3.0",
|
|
"priorityqueuejs": "^2.0.0",
|
|
"semaphore": "^1.1.0",
|
|
"tslib": "^2.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@azure/dev-tool": "^1.0.0",
|
|
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
|
"@azure/identity": "^4.0.1",
|
|
"@azure/logger": "^1.0.0",
|
|
"@sinonjs/fake-timers": "^11.0.0",
|
|
"@types/chai": "~4.3.6",
|
|
"@types/debug": "^4.1.4",
|
|
"@types/mocha": "^10.0.0",
|
|
"@types/node": "^18.0.0",
|
|
"@types/priorityqueuejs": "^1.0.1",
|
|
"@types/semaphore": "^1.1.0",
|
|
"@types/sinon": "^17.0.0",
|
|
"@types/sinonjs__fake-timers": "~8.1.2",
|
|
"@types/underscore": "^1.8.8",
|
|
"chai": "~4.3.8",
|
|
"dotenv": "^16.0.0",
|
|
"eslint": "^9.9.0",
|
|
"execa": "^5.0.0",
|
|
"mocha": "^10.0.0",
|
|
"nock": "^13.5.4",
|
|
"requirejs": "^2.3.5",
|
|
"sinon": "^17.0.0",
|
|
"source-map-support": "^0.5.9",
|
|
"ts-node": "^10.0.0",
|
|
"typescript": "~5.6.2"
|
|
},
|
|
"//sampleConfiguration": {
|
|
"skip": [
|
|
"EntraAuth.ts",
|
|
"AlterQueryThroughput.ts",
|
|
"Bulk.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"
|
|
],
|
|
"productName": "Azure Cosmos DB",
|
|
"productSlugs": [
|
|
"azure-cosmos-db"
|
|
],
|
|
"requiredResources": {
|
|
"Azure Cosmos DB account": "https://docs.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"
|
|
]
|
|
}
|
|
}
|
|
}
|