170 lines
5.5 KiB
JSON
170 lines
5.5 KiB
JSON
{
|
|
"name": "@azure/storage-blob",
|
|
"sdk-type": "client",
|
|
"version": "12.29.1",
|
|
"description": "Microsoft Azure Storage SDK for JavaScript - Blob",
|
|
"main": "./dist/commonjs/index.js",
|
|
"module": "./dist/esm/index.js",
|
|
"browser": "./dist/browser/index.js",
|
|
"react-native": "./dist/react-native/index.js",
|
|
"types": "./dist/commonjs/index.d.ts",
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"repository": "github:Azure/azure-sdk-for-js",
|
|
"keywords": [
|
|
"azure",
|
|
"storage",
|
|
"blob",
|
|
"cloud",
|
|
"node.js",
|
|
"typescript",
|
|
"javascript",
|
|
"browser"
|
|
],
|
|
"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/blob/main/sdk/storage/storage-blob/",
|
|
"sideEffects": false,
|
|
"//metadata": {
|
|
"constantPaths": [
|
|
{
|
|
"path": "src/generated/src/storageClient.ts",
|
|
"prefix": "packageVersion"
|
|
},
|
|
{
|
|
"path": "src/utils/constants.ts",
|
|
"prefix": "SDK_VERSION"
|
|
},
|
|
{
|
|
"path": "swagger/README.md",
|
|
"prefix": "package-version"
|
|
}
|
|
]
|
|
},
|
|
"//sampleConfiguration": {
|
|
"skip": [
|
|
"advancedRequestOptions.js",
|
|
"anonymousAuth.js",
|
|
"azureAdAuth.js",
|
|
"customPipeline.js",
|
|
"customizedClientHeaders.js",
|
|
"listBlobsByHierarchy.js",
|
|
"listBlobs.js",
|
|
"listContainers.js",
|
|
"snapshots.js",
|
|
"sharedKeyAuth.js"
|
|
],
|
|
"productName": "Azure Storage Blob",
|
|
"productSlugs": [
|
|
"azure",
|
|
"azure-storage"
|
|
],
|
|
"requiredResources": {
|
|
"Azure Storage Account": "https://learn.microsoft.com/azure/storage/common/storage-account-overview"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@azure/abort-controller": "^2.1.2",
|
|
"@azure/core-auth": "^1.9.0",
|
|
"@azure/core-client": "^1.9.3",
|
|
"@azure/core-http-compat": "^2.2.0",
|
|
"@azure/core-lro": "^2.2.0",
|
|
"@azure/core-paging": "^1.6.2",
|
|
"@azure/core-rest-pipeline": "^1.19.1",
|
|
"@azure/core-tracing": "^1.2.0",
|
|
"@azure/core-util": "^1.11.0",
|
|
"@azure/core-xml": "^1.4.5",
|
|
"@azure/logger": "^1.1.4",
|
|
"@azure/storage-common": "^12.1.1",
|
|
"events": "^3.0.0",
|
|
"tslib": "^2.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@azure-tools/test-perf": "^1.0.0",
|
|
"@azure/identity": "4.11.1",
|
|
"@azure/storage-file-share": "^12.27.0",
|
|
"@types/node": "^20.19.0",
|
|
"@vitest/browser": "^3.2.3",
|
|
"@vitest/coverage-istanbul": "^3.2.3",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^16.0.0",
|
|
"eslint": "^9.33.0",
|
|
"playwright": "^1.50.1",
|
|
"prettier": "^3.6.2",
|
|
"rimraf": "^6.0.1",
|
|
"tshy": "^3.0.0",
|
|
"typescript": "~5.9.3",
|
|
"vitest": "^3.2.3",
|
|
"@azure-tools/test-credential": "^2.1.2",
|
|
"@azure-tools/test-recorder": "^4.1.1",
|
|
"@azure/dev-tool": "^1.0.0",
|
|
"@azure-tools/test-utils-vitest": "^2.0.1",
|
|
"@azure/eslint-plugin-azure-sdk": "^3.0.0"
|
|
},
|
|
"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\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
"clean": "rimraf --glob dist dist-* types temp statistics.html coverage coverage-browser .nyc_output *.tgz *.log test*.xml TEST*.xml",
|
|
"clean:samples": "rimraf samples/v12/javascript/node_modules samples/v12/typescript/node_modules samples/v12/typescript/dist samples/v12/typescript/package-lock.json samples/v12/javascript/package-lock.json",
|
|
"emulator-tests": "cross-env STORAGE_CONNECTION_STRING=UseDevelopmentStorage=true && npm run test:node",
|
|
"execute:samples": "dev-tool samples run samples-dev",
|
|
"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\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
"generate:client": "autorest --typescript ./swagger/README.md",
|
|
"lint": "eslint package.json src test",
|
|
"lint:fix": "eslint package.json src test --fix",
|
|
"pack": "pnpm pack 2>&1",
|
|
"test": "npm run test:node && npm run test:browser",
|
|
"test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
|
|
"test:node": "dev-tool run build-test --no-browser-test && dev-tool run test:vitest",
|
|
"update-snippets": "dev-tool run update-snippets"
|
|
}
|
|
} |