2024-06-27 21:23:51 +03:00
|
|
|
{
|
|
|
|
"name": "@azure-rest/ai-inference",
|
2024-07-17 02:31:07 +03:00
|
|
|
"version": "1.0.0-beta.2",
|
2024-06-27 21:23:51 +03:00
|
|
|
"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",
|
2024-07-02 01:08:35 +03:00
|
|
|
"LICENSE"
|
2024-06-27 21:23:51 +03:00
|
|
|
],
|
|
|
|
"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": [
|
|
|
|
{
|
2024-06-29 07:25:35 +03:00
|
|
|
"path": "src/modelClient.ts",
|
2024-06-27 21:23:51 +03:00
|
|
|
"prefix": "package-version"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-06-29 07:25:35 +03:00
|
|
|
"@azure-rest/core-client": "^2.1.0",
|
2024-06-27 21:23:51 +03:00
|
|
|
"@azure/abort-controller": "^1.0.0",
|
2024-06-29 07:25:35 +03:00
|
|
|
"@azure/core-auth": "^1.7.2",
|
2024-06-27 21:23:51 +03:00
|
|
|
"@azure/core-lro": "^2.6.0",
|
|
|
|
"@azure/core-rest-pipeline": "^1.14.0",
|
|
|
|
"@azure/logger": "^1.0.0",
|
|
|
|
"tslib": "^2.6.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-07-18 17:29:30 +03:00
|
|
|
"@azure-tools/test-credential": "^2.0.0",
|
2024-06-27 21:23:51 +03:00
|
|
|
"@azure-tools/test-recorder": "^4.0.0",
|
|
|
|
"@azure/core-sse": "^2.1.3",
|
2024-06-29 07:25:35 +03:00
|
|
|
"@azure/core-util": "^1.9.0",
|
2024-06-27 21:23:51 +03:00
|
|
|
"@azure/dev-tool": "^1.0.0",
|
2024-06-29 07:25:35 +03:00
|
|
|
"@azure/identity": "^4.3.0",
|
2024-06-27 21:23:51 +03:00
|
|
|
"@microsoft/api-extractor": "^7.47.0",
|
|
|
|
"@types/node": "^18.0.0",
|
2024-08-13 23:48:01 +03:00
|
|
|
"@vitest/browser": "^2.0.5",
|
|
|
|
"@vitest/coverage-istanbul": "^2.0.5",
|
2024-06-27 21:23:51 +03:00
|
|
|
"autorest": "latest",
|
|
|
|
"cross-env": "7.0.3",
|
2024-06-29 07:25:35 +03:00
|
|
|
"dotenv": "^16.4.5",
|
2024-06-27 21:23:51 +03:00
|
|
|
"mkdirp": "^3.0.1",
|
|
|
|
"playwright": "^1.41.2",
|
|
|
|
"rimraf": "^5.0.5",
|
|
|
|
"source-map-support": "^0.5.9",
|
2024-08-14 02:01:59 +03:00
|
|
|
"tshy": "^2.0.0",
|
2024-06-28 01:35:47 +03:00
|
|
|
"typescript": "~5.5.3",
|
2024-08-13 23:48:01 +03:00
|
|
|
"vitest": "^2.0.5"
|
2024-06-27 21:23:51 +03:00
|
|
|
},
|
|
|
|
"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",
|
2024-06-29 07:25:35 +03:00
|
|
|
"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",
|
2024-06-27 21:23:51 +03:00
|
|
|
"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"
|
2024-06-29 07:25:35 +03:00
|
|
|
},
|
|
|
|
"//sampleConfiguration": {
|
|
|
|
"productName": "Azure AI Inference",
|
|
|
|
"productSlugs": [
|
|
|
|
"azure"
|
2024-07-23 18:48:02 +03:00
|
|
|
],
|
|
|
|
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure-rest/ai-inference"
|
2024-07-03 21:13:53 +03:00
|
|
|
},
|
|
|
|
"module": "./dist/esm/index.js"
|
2024-06-27 21:23:51 +03:00
|
|
|
}
|