azure-sdk-for-js/sdk/ai/ai-inference-rest/package.json

143 строки
4.5 KiB
JSON

{
"name": "@azure-rest/ai-inference",
"version": "1.0.0-beta.2",
"description": "Inference API for Azure-supported AI models",
"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"
}
}
},
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
},
"dialects": [
"esm",
"commonjs"
],
"esmDialects": [
"browser",
"react-native"
],
"selfLink": false
},
"type": "module",
"files": [
"dist/",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18.0.0"
},
"sideEffects": false,
"autoPublish": false,
"keywords": [
"node",
"azure",
"cloud",
"typescript",
"browser",
"isomorphic"
],
"author": "Microsoft Corporation",
"license": "MIT",
"sdk-type": "client",
"repository": "github:Azure/azure-sdk-for-js",
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/ai/ai-inference-rest/README.md",
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"//metadata": {
"constantPaths": [
{
"path": "src/modelClient.ts",
"prefix": "package-version"
}
]
},
"dependencies": {
"@azure-rest/core-client": "^2.1.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-auth": "^1.7.2",
"@azure/core-lro": "^2.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"@azure/logger": "^1.0.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@azure-tools/test-credential": "^2.0.0",
"@azure-tools/test-recorder": "^4.0.0",
"@azure/core-sse": "^2.1.3",
"@azure/core-util": "^1.9.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.3.0",
"@microsoft/api-extractor": "^7.47.0",
"@types/node": "^18.0.0",
"@vitest/browser": "^2.0.5",
"@vitest/coverage-istanbul": "^2.0.5",
"autorest": "latest",
"cross-env": "7.0.3",
"dotenv": "^16.4.5",
"mkdirp": "^3.0.1",
"playwright": "^1.41.2",
"rimraf": "^5.0.5",
"source-map-support": "^0.5.9",
"tshy": "^2.0.0",
"typescript": "~5.5.3",
"vitest": "^2.0.5"
},
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:samples": "echo Obsolete",
"generate": "tsp-client update",
"check-format": "echo skipped",
"clean": "rimraf --glob dist dist-* test-dist temp types *.tgz *.log",
"execute:samples": "dev-tool samples run samples-dev",
"extract-api": "rimraf review && mkdirp ./review && dev-tool run extract-api",
"format": "echo skipped",
"integration-test:browser": "npm run unit-test:browser",
"integration-test:node": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "echo skipped",
"lint": "echo skipped",
"pack": "npm pack 2>&1",
"test:browser": "npm run clean && npm run unit-test:browser && npm run integration-test:browser",
"unit-test:browser": "npm run clean && dev-tool run build-test && dev-tool run test:vitest --browser --hookTimeout=50000",
"unit-test:node": "dev-tool run test:vitest --hookTimeout=50000",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"build:test": "npm run clean && tshy && dev-tool run build-test",
"build": "npm run clean && tshy && mkdirp ./review && dev-tool run extract-api",
"test:node": "npm run clean && tshy && npm run unit-test:node && npm run integration-test:node",
"test": "npm run clean && tshy && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test"
},
"//sampleConfiguration": {
"productName": "Azure AI Inference",
"productSlugs": [
"azure"
],
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure-rest/ai-inference"
},
"module": "./dist/esm/index.js"
}