File size: 1,456 Bytes
bf237c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  "name": "@google/generative-ai",
  "version": "0.2.1",
  "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"
    },
    "./package.json": "./package.json"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "files": [
    "dist"
  ],
  "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",
    "docs": "yarn build && yarn api-documenter markdown -i ./temp -o ../../docs/reference/"
  },
  "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"
}