forked from hmarr/openai-chat-tokens
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
49 lines (49 loc) · 1.2 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
{
"name": "@coderabbitai/openai-chat-tokens",
"version": "0.1.5",
"description": "Estimate the number of tokens an OpenAI chat completion request will use",
"homepage": "https://github.com/coderabbitai/openai-chat-tokens",
"bugs": {
"url": "https://github.com/coderabbitai/openai-chat-tokens/issues"
},
"license": "MIT",
"files": [
"dist",
"!dist/**/*.test.*"
],
"main": "dist/index.js",
"module": "dist/index.js",
"repository": "github:coderabbitai/openai-chat-tokens",
"scripts": {
"build": "tsc",
"docs": "typedoc",
"format": "prettier --write .",
"lint": "eslint . && prettier --check .",
"lint:fix": "eslint --fix .; prettier --list-different --write .",
"test": "vitest",
"test:watch": "vitest --watch"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"openai": "^4.56.0",
"prettier": "^3.3.3",
"typedoc": "^0.26.6",
"typescript": "^5.5.4",
"typescript-eslint": "^8.2.0",
"vite": "^5.4.2",
"vitest": "^2.0.5"
},
"dependencies": {
"js-tiktoken": "^1.0.14"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"types": "dist/index.d.ts",
"type": "module"
}