forked from yethee/tiktoken-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
41 lines (41 loc) · 923 Bytes
/
composer.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
{
"name": "guanhui07/tiktoken",
"type": "library",
"license": "MIT",
"description": "PHP version of tiktoken",
"keywords": ["openai", "tiktoken", "tokenizer", "bpe", "encode", "decode"],
"require": {
"php": "^7.2",
"symfony/service-contracts": "^2.0 || ^3.0"
},
"require-dev": {
},
"autoload": {
"psr-4": {
"Yethee\\Tiktoken\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Yethee\\Tiktoken\\Tests\\": "tests"
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"check": [
"@cs-check",
"@analyse",
"@test"
],
"analyse": "psalm --stats",
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always --no-coverage",
"bench": "phpbench run -l dots --report=encode --retry-threshold=5 --profile=jit"
}
}