forked from AgentOps-AI/tokencost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
46 lines (46 loc) · 1.05 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
{
"name": "tokencost-js",
"version": "1.0.1",
"description": "JavaScript port of tokencost",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"build": "tsc && cp src/model_prices.json dist/",
"prepublishOnly": "npm run build",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/backmesh/tokencost.git"
},
"author": "Luis Fernando De Pombo <[email protected]> (https://backmesh.com)",
"bugs": {
"url": "https://github.com/backmesh/tokencost/issues"
},
"license": "MIT",
"dependencies": {
"@anthropic-ai/sdk": "^0.34.0-alpha.0",
"js-tiktoken": "^1.0.19"
},
"devDependencies": {
"@types/node": "^22.13.5",
"typescript": "^5.7.3",
"vitest": "^1.4.0"
},
"keywords": [
"tokens",
"cost",
"openai",
"gpt",
"llm"
]
}