-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
71 lines (71 loc) · 1.75 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "mistral-tokenizer-ts",
"version": "2.2.0",
"description": "TS tokenizer for Mistral-based LLMs",
"keywords": [
"mistral",
"llm",
"tokenizer"
],
"homepage": "https://github.com/aknorw/mistral-tokenizer",
"bugs": {
"url": "https://github.com/aknorw/mistral-tokenizer/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aknorw/mistral-tokenizer.git"
},
"license": "MIT",
"author": "aknorw (https://github.com/aknorw)",
"type": "module",
"exports": {
"require": "./dist/index.cjs",
"default": "./dist/index.modern.js"
},
"main": "dist/index.cjs",
"unpkg": "dist/index.umd.js",
"module": "dist/index.module.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"files": [
"data",
"dist"
],
"scripts": {
"build": "rimraf dist && microbundle",
"dev": "microbundle watch",
"lint": "eslint --ext .js,.ts .",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"pretty": "prettier --config .prettierrc.json --check '**/*.{js,ts,json}'",
"test": "jest"
},
"lint-staged": {
"*.{js,ts,json}": [
"prettier --config .prettierrc.json --write",
"eslint"
]
},
"dependencies": {
"js-tiktoken": "^1.0.12"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^8.0.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"microbundle": "^0.15.1",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"engines": {
"node": "^20",
"yarn": "please-use-npm-instead"
}
}