generated from jortsupetterson/package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.16 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.16 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "@localinference/utils",
"version": "1.0.1",
"description": "Local Inference internal utils package to avoid boilerplate across codebases.",
"keywords": [
"localinference",
"onnx",
"tokenizer",
"sentencepiece",
"inference",
"browser",
"esm",
"commonjs",
"typescript"
],
"license": "Apache-2.0",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"files": [
"dist",
"LICENSE",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/localinference/utils.git"
},
"bugs": {
"url": "https://github.com/localinference/utils/issues"
},
"homepage": "https://github.com/localinference/utils#readme",
"scripts": {
"format": "prettier . --write",
"format:check": "prettier . --check",
"build": "tsup",
"test:coverage": "npm run build && node test/run-coverage.mjs",
"test:e2e": "npm run build && node test/e2e/run.mjs",
"test": "npm run test:coverage && node test/e2e/run.mjs",
"bench": "npm run build && node benchmark/bench.js",
"prepare": "husky",
"prepublishOnly": "npm run test && npm run bench"
},
"c8": {
"all": true,
"include": [
"dist/**/*.js"
],
"exclude": [
"dist/**/*.d.ts",
"test/**",
"benchmark/**",
"playwright.config.ts"
]
},
"engines": {
"node": ">=22"
},
"devDependencies": {
"@commitlint/cli": "^20.4.0",
"@commitlint/config-conventional": "^20.5.0",
"@playwright/test": "^1.58.2",
"@types/node": "^25.5.0",
"c8": "^11.0.0",
"edge-runtime": "^4.0.1",
"fast-glob": "^3.3.3",
"husky": "^9.1.7",
"playwright": "^1.58.2",
"prettier": "^3.8.1",
"tsup": "^8.5.1",
"typescript": "^5.6.3"
},
"dependencies": {
"@sctg/sentencepiece-js": "^1.3.3",
"@sovereignbase/bytecodec": "^1.3.3",
"onnxruntime-web": "^1.24.3"
}
}