-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.76 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 2.76 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
{
"name": "vitest-evals",
"version": "0.8.0",
"sideEffects": false,
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./reporter": {
"types": "./dist/reporter.d.ts",
"require": "./dist/reporter.js",
"import": "./dist/reporter.mjs"
},
"./scorers": {
"types": "./dist/scorers/index.d.ts",
"require": "./dist/scorers/index.js",
"import": "./dist/scorers/index.mjs"
},
"./scorers/toolCallScorer": {
"types": "./dist/scorers/toolCallScorer.d.ts",
"require": "./dist/scorers/toolCallScorer.js",
"import": "./dist/scorers/toolCallScorer.mjs"
},
"./evaluate": {
"types": "./dist/evaluate/index.d.ts",
"require": "./dist/evaluate/index.js",
"import": "./dist/evaluate/index.mjs"
}
},
"scripts": {
"build": "tsup",
"format": "biome format --write",
"lint": "biome lint",
"lint:fix": "biome lint --fix",
"prepare": "npm run build && simple-git-hooks",
"test": "dotenv -e .env -e .env.local -- vitest run --reporter=./src/reporter.ts",
"test:watch": "dotenv -e .env -e .env.local -- vitest --reporter=./src/reporter.ts",
"test:ci": "dotenv -e .env -e .env.local -- vitest run --coverage --reporter=./src/reporter.ts --reporter=junit --outputFile=tests.junit.xml"
},
"repository": {
"type": "git",
"url": "git+https://github.com/getsentry/vitest-evals.git"
},
"author": "David Cramer",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/getsentry/vitest-evals/issues"
},
"homepage": "https://github.com/getsentry/vitest-evals#readme",
"description": "",
"peerDependencies": {
"ai": ">=4 <7",
"tinyrainbow": ">=2 <4",
"vitest": ">=4 <5",
"zod": ">=3 <5"
},
"peerDependenciesMeta": {
"ai": {
"optional": true
},
"zod": {
"optional": true
}
},
"devDependencies": {
"@ai-sdk/openai": "^3.0.48",
"@biomejs/biome": "^1.9.4",
"@types/node": "^25.5.0",
"@vitest/coverage-v8": "^4.1.2",
"ai": "^6.0.141",
"autoevals": "^0.0.132",
"dotenv-cli": "^8.0.0",
"lint-staged": "^15.5.2",
"openai": "^6.33.0",
"simple-git-hooks": "^2.13.0",
"tinyrainbow": "^3.1.0",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"vitest": "^4.1.2",
"zod": "^4.3.6"
},
"simple-git-hooks": {
"pre-commit": "npm exec lint-staged --concurrent false"
},
"lint-staged": {
"*": [
"biome format --write --no-errors-on-unmatched --files-ignore-unknown=true",
"biome lint --fix --no-errors-on-unmatched --files-ignore-unknown=true"
]
}
}