AUXteam's picture
Set Gemini API version to v1
8c741f6 verified
{
"name": "@google/generative-ai",
"version": "0.15.0",
"description": "Google AI JavaScript SDK",
"main": "dist/index.js",
"module": "dist/index.mjs",
"typings": "dist/generative-ai.d.ts",
"exports": {
".": {
"types": "./dist/generative-ai.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"default": "./dist/index.js"
},
"./server": {
"types": "./dist/server/server.d.ts",
"require": "./dist/server/index.js",
"import": "./dist/server/index.mjs",
"default": "./dist/server/index.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=18.0.0"
},
"server": [
"dist",
"server/package.json"
],
"scripts": {
"build": "rollup -c && yarn api-report",
"test": "yarn lint && yarn test:node:unit",
"test:web:integration": "yarn build && yarn web-test-runner",
"test:node:unit": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha \"src/**/*.test.ts\"",
"test:node:integration": "yarn build && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha \"test-integration/node/**/*.test.ts\"",
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"api-report": "api-extractor run --local --verbose && api-extractor run -c api-extractor.server.json --local --verbose",
"docs": "yarn build && yarn api-documenter markdown -i ./temp/main -o ../../docs/reference/main && yarn api-documenter markdown -i ./temp/server -o ../../docs/reference/server"
},
"repository": {
"type": "git",
"url": "git+https://github.com/google/generative-ai-js.git"
},
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/google/generative-ai-js/issues"
},
"homepage": "https://github.com/google/generative-ai-js#readme"
}