-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
40 lines (40 loc) · 889 Bytes
/
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
{
"name": "openai-chat-tokens",
"version": "0.2.8",
"description": "Estimate the number of tokens an OpenAI chat completion request will use",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "jest",
"build": "tsc",
"prepublishOnly": "npm run build",
"lint": "prettier --check src tests"
},
"author": {
"email": "[email protected]",
"name": "Harry Marr",
"url": "https://hmarr.com"
},
"repository": {
"url": "https://github.com/hmarr/openai-chat-tokens",
"type": "git"
},
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.8",
"jest": "^29.7.0",
"openai": "^4.18.0",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"dependencies": {
"js-tiktoken": "^1.0.7"
},
"prettier": {
"trailingComma": "all"
}
}