UNPKG

@azure/ai-language-text

Version:

An isomorphic client library for the text analysis features in the Azure Cognitive Language Service.

143 lines (142 loc) 5.41 kB
{ "name": "@azure/ai-language-text", "sdk-type": "client", "author": "Microsoft Corporation", "description": "An isomorphic client library for the text analysis features in the Azure Cognitive Language Service.", "version": "1.1.0", "keywords": [ "node", "azure", "cloud", "typescript", "browser", "isomorphic" ], "license": "MIT", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", "types": "./types/ai-language-text.d.ts", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitivelanguage/ai-language-text/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/", "dist-esm/src/", "types/ai-language-text.d.ts", "README.md", "LICENSE" ], "//metadata": { "constantPaths": [ { "path": "src/constants.ts", "prefix": "SDK_VERSION" }, { "path": "src/generated/generatedClient.ts", "prefix": "packageDetails" }, { "path": "swagger/README.md", "prefix": "package-version" } ] }, "engines": { "node": ">=14.0.0" }, "//sampleConfiguration": { "productName": "Azure Cognitive Language Service", "productSlugs": [ "azure", "azure-cognitive-services", "language-service" ], "requiredResources": { "Azure Cognitive Services instance": "https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account" } }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && dev-tool run bundle", "build:node": "tsc -p . && dev-tool run bundle", "build:samples": "echo Obsolete.", "build:test": "tsc -p . && dev-tool run bundle", "build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local", "build:debug": "tsc -p . && dev-tool run bundle && api-extractor run --local", "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "rimraf dist dist-* temp types *.tgz *.log", "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && api-extractor run --local", "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", "integration-test:browser": "dev-tool run test:browser", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 \"dist-esm/test/**/*.spec.js\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json src test --ext .ts", "pack": "npm pack 2>&1", "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "test": "npm run clean && npm run build:test && npm run unit-test", "unit-test:browser": "dev-tool run test:browser", "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 \"test/**/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.6.0", "@azure/core-rest-pipeline": "^1.8.1", "@azure/core-lro": "^2.3.0", "@azure/core-paging": "^1.3.0", "@azure/core-tracing": "^1.0.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { "@azure/storage-blob": "^12.20.0", "@azure/ai-language-textauthoring": "1.0.0-beta.1", "@types/decompress": "^4.0.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^2.0.1", "@azure/test-utils": "^1.0.0", "@azure-tools/test-recorder": "^3.0.0", "@azure-tools/test-credential": "^1.0.0", "@microsoft/api-extractor": "^7.31.1", "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", "@types/node": "^14.0.0", "@types/sinon": "^9.0.4", "decompress": "^4.0.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.2", "dotenv": "^16.0.0", "eslint": "^8.0.0", "karma": "^6.2.0", "karma-chrome-launcher": "^3.0.0", "karma-coverage": "^2.0.0", "karma-env-preprocessor": "^0.1.1", "karma-firefox-launcher": "^1.1.0", "karma-junit-reporter": "^2.0.1", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-sourcemap-loader": "^0.3.8", "karma-source-map-support": "~1.4.0", "mocha": "^7.1.1", "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", "rimraf": "^3.0.0", "sinon": "^9.0.2", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", "typescript": "~5.0.0" } }