UNPKG

@ibm-cloud/watsonx-ai

Version:
101 lines (100 loc) 3.26 kB
{ "name": "@ibm-cloud/watsonx-ai", "version": "1.6.7", "description": "IBM watsonx.ai Node.js SDK", "repository": { "type": "git", "url": "https://github.com/IBM/watsonx-ai-node-sdk.git" }, "keywords": [ "ibm", "watsonx", "watsonx-ai" ], "author": "IBM Corp.", "scripts": { "clean": "rm -rf node_modules", "eslint:fix": "eslint . --fix", "eslint:check": "eslint . --cache", "lint": "npm run eslint:check", "lint-fix": "npm run eslint:fix", "build": "tsc && cp package.json dist/", "prepublishOnly": "npm run build", "postversion": "publisher --no-checks --dry-run", "local-publish": "npm install -g yalc && yalc publish", "jest": "jest --verbose", "test": "npm run build && npm run lint && jest test/", "test-unit": "npm run build && jest test/unit/", "test-integration": "npm run build && jest test/integration/", "test-examples": "npm run local-publish && cd ./examples && npm run test-all", "test-examples-sdk": "npm run local-publish && cd ./examples && npm run test-sdk", "test-examples-langchain": "npm run local-publish && cd ./examples && npm run test-langchain", "test-regression": "npm run local-publish && cd ./test/langchain && npm run test-regression", "test-ilab": "npm run build && jest test/integration/watsonx-ai-ml-ilab.vml_v1.test.js --testPathIgnorePatterns=''", "test-lora": "npm run build && jest test/integration/watsonx-ai-ml-lora_qlora.vml_v1.test.js --testPathIgnorePatterns=''", "check-packages": "installed-check -e -d -v", "all": "npm run test-unit && npm run lint", "typedoc": "typedoc", "typedoc-merge": "typedoc --entryPointStrategy merge" }, "license": "Apache-2.0", "publishConfig": { "access": "public" }, "engines": { "node": ">=18.0.0" }, "dependencies": { "@types/node": "^18.0.0", "extend": "3.0.2", "ibm-cloud-sdk-core": "^5.3.2" }, "devDependencies": { "@ibm-cloud/sdk-test-utilities": "^1.0.0", "@masterodin/publisher": "^0.10.0", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.24.0", "dotenv": "^8.2.0", "eslint": "^7.26.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-config-airbnb-typescript": "^12.3.1", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.23.2", "eslint-plugin-jest": "^24.3.6", "eslint-plugin-jsdoc": "^34.6.3", "eslint-plugin-node": "^9.0.0", "eslint-plugin-prettier": "^3.0.1", "installed-check": "^2.2.0", "jest": "^29.3.1", "jsonwebtoken": "^9.0.2", "nock": "^13.2.4", "prettier": "^2.3.0", "typedoc": "^0.25.13", "typescript": "^4.9.5" }, "jest": { "collectCoverage": true, "coverageDirectory": "./coverage/", "coveragePathIgnorePatterns": [ "<rootDir>/test/" ], "testPathIgnorePatterns": [ "<rootDir>/test/langchain/", "<rootDir>/examples", "ilab", "lora" ], "testEnvironment": "node" }, "homepage": "https://github.com/IBM/watsonx-ai-node-sdk#readme", "directories": { "example": "examples", "lib": "lib", "test": "test", "helpers": "helpers" }, "files": [ "dist/**" ], "main": "dist/index.js" }