forked from promptfoo/promptfoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.01 KB
/
package.json
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
105
{
"name": "promptfoo",
"description": "LLM eval & testing toolkit",
"author": "Ian Webster",
"version": "0.35.0",
"license": "MIT",
"type": "commonjs",
"repository": "promptfoo/promptfoo",
"main": "dist/src/index.js",
"exports": {
".": {
"import": "./dist/src/index.js",
"require": "./dist/src/index.js"
}
},
"types": "dist/src/index.d.ts",
"typings": "dist/src/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=16"
},
"bin": {
"promptfoo": "dist/src/main.js"
},
"scripts": {
"tsc": "tsc",
"local": "ts-node --esm --files src/main.ts",
"local:web": "cd src/web/nextui && npm run dev",
"install:nextui": "cd src/web/nextui && npm install",
"build:clean": "rm -rf dist",
"build:nextui": "cd src/web/nextui && npm run build && { [ -z \"$NEXT_PUBLIC_PROMPTFOO_BUILD_STANDALONE_SERVER\" ] && cp -r out/ ../../../dist/src/web/nextui; } || true",
"build:watch": "tsc --watch",
"build": "tsc && cp src/*.html dist/src && npm run build:nextui && chmod +x dist/src/main.js",
"prepare": "npm run install:nextui && npm run build:clean && npm run build",
"test": "jest",
"test:watch": "jest --watch",
"format": "prettier -w ."
},
"peerDependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.458.0"
},
"devDependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.458.0",
"@types/async": "^3.2.20",
"@types/cache-manager": "^4.0.2",
"@types/cache-manager-fs-hash": "^0.0.1",
"@types/cli-progress": "^3.11.0",
"@types/compression": "^1.7.2",
"@types/cors": "^2.8.13",
"@types/debounce": "^1.2.1",
"@types/express": "^4.17.17",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.1",
"@types/js-yaml": "^4.0.5",
"@types/node-fetch": "^2.6.4",
"@types/nunjucks": "^3.2.2",
"@types/opener": "^1.4.0",
"@types/semver": "^7.5.0",
"@types/uuid": "^9.0.2",
"babel-jest": "^29.5.0",
"jest": "^29.5.0",
"jest-watch-typeahead": "^2.2.2",
"next": "^13.4.13",
"prettier": "^2.8.8",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.5.2",
"@apidevtools/json-schema-ref-parser": "^10.1.0",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"async": "^3.2.4",
"cache-manager": "^4.1.0",
"cache-manager-fs-hash": "^1.0.0",
"chalk": "^4.1.2",
"cli-progress": "^3.12.0",
"cli-table3": "^0.6.3",
"commander": "^10.0.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"csv-parse": "^5.3.8",
"csv-stringify": "^6.3.2",
"debounce": "^1.2.1",
"express": "^4.18.2",
"fastest-levenshtein": "^1.0.16",
"glob": "^10.2.6",
"js-yaml": "^4.1.0",
"node-fetch": "^2.6.7",
"nunjucks": "^3.2.4",
"openai": "^4.19.0",
"opener": "^1.5.2",
"proxy-agent": "^6.3.1",
"replicate": "^0.12.3",
"rouge": "^1.0.3",
"semver": "^7.5.3",
"socket.io": "^4.6.1",
"tiny-invariant": "^1.3.1",
"uuid": "^9.0.0",
"winston": "^3.8.2"
}
}