-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3.22 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 3.22 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "freeplay",
"version": "0.7.5",
"description": "Node.js/Typescript SDK for Freeplay AI",
"type": "module",
"typesVersions": {
"*": {
"*": [
"./dist/index.d.ts"
]
}
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"/dist"
],
"author": "Freeplay",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/freeplayai/freeplay-node.git"
},
"bugs": {
"url": "https://github.com/freeplayai/freeplay-node/issues"
},
"homepage": "https://github.com/freeplayai/freeplay-node#readme",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@google-cloud/vertexai": "^1.10.3",
"@google/generative-ai": "^0.24.1",
"@lavamoat/allow-scripts": "^3.4.3",
"@types/jest": "^29.5.2",
"@types/mustache": "^4.2.6",
"@types/node": "^20.3.2",
"axios-mock-adapter": "^1.21.5",
"eslint": "^10.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import-x": "^4.16.2",
"globals": "^17.4.0",
"jest": "^29.5.0",
"nock": "^13.3.2",
"prettier": "^3.8.1",
"ts-jest": "^29.4.6",
"tsx": "^4.21.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.57.2"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.92.0",
"@aws-sdk/client-bedrock-runtime": "^3.901.0",
"axios": "^1.8.2",
"dotenv": "16.6.1",
"encoding": "^0.1.13",
"mustache": "^4.1.0",
"openai": "^4.83.0"
},
"overrides": {
"fast-xml-parser": "^5.7.1",
"gaxios": "^7.1.4",
"js-yaml": "^4.3.0",
"minimatch@3.1.5": {
"brace-expansion": "^1.1.17"
},
"minimatch@10.2.4": {
"brace-expansion": "^5.0.9"
},
"protobufjs": "^7.6.5",
"tar": "^7.5.22"
},
"scripts": {
"safe-install": "npm ci && npm run allow-scripts:run",
"allow-scripts:run": "allow-scripts run",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"lint": "eslint .",
"lint:fix": "npm run format && eslint . --fix",
"build": "npm run clean && tsc && tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json && echo '{\"type\": \"module\"}' > dist/esm/package.json",
"clean": "rm -rf dist",
"continuous": "tsc --watch --listFiles",
"test": "node --no-warnings node_modules/jest/bin/jest.js --silent=true",
"test-verbose": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:integration": "RUN_INTEGRATION_TESTS=true node --no-warnings node_modules/jest/bin/jest.js --runInBand",
"test:bedrock": "RUN_INTEGRATION_TESTS=true node --no-warnings node_modules/jest/bin/jest.js --runInBand bedrockConverse",
"repl": "npx tsx scripts/repl-setup.ts",
"prepublishOnly": "source .env.publish && npm run test && npm run build"
},
"lavamoat": {
"allowScripts": {
"$root$": false,
"eslint-import-resolver-typescript>unrs-resolver": false,
"tsx>esbuild": false,
"@google-cloud/vertexai>@google/genai>protobufjs": false,
"eslint-plugin-import-x>unrs-resolver": false
}
}
}