-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
62 lines (62 loc) · 1.74 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
{
"name": "@wllama/wllama",
"version": "2.1.2",
"description": "WebAssembly binding for llama.cpp - Enabling on-browser LLM inference",
"main": "index.js",
"type": "module",
"directories": {
"example": "examples"
},
"scripts": {
"serve": "node ./scripts/http_server.js",
"serve:mt": "MULTITHREAD=1 node ./scripts/http_server.js",
"clean": "rm -rf ./esm && rm -rf ./docs && rm -rf ./wasm",
"build:worker": "./scripts/build_worker.sh",
"build:wasm": "./scripts/build_wasm.sh",
"build": "npm run clean && npm run build:worker && tsc -p tsconfig.build.json",
"postbuild": "./scripts/post_build.sh && npm run docs",
"docs": "typedoc --tsconfig tsconfig.build.json src/index.ts",
"upload": "npm run format && npm run build && npm publish --access public",
"format": "prettier --write .",
"test": "vitest",
"test:firefox": "BROWSER=firefox vitest",
"test:safari": "BROWSER=safari vitest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ngxson/wllama.git"
},
"keywords": [
"wasm",
"webassembly",
"llama",
"llm",
"ai",
"rag",
"embeddings",
"generation"
],
"author": "Xuan Son NGUYEN <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ngxson/wllama/issues"
},
"homepage": "https://github.com/ngxson/wllama#readme",
"devDependencies": {
"@vitest/browser": "^2.1.6",
"express": "^4.18.3",
"mime-types": "^2.1.35",
"playwright": "^1.49.0",
"prettier": "^3.3.3",
"typedoc": "^0.27.2",
"typescript": "^5.4.2",
"webdriverio": "^9.4.1"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"bracketSameLine": false
}
}