File size: 1,755 Bytes
05214ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "name": "@mlc-ai/web-llm",
  "version": "0.2.78",
  "description": "Hardware accelerated language model chats on browsers",
  "main": "lib/index.js",
  "types": "lib/index.d.ts",
  "type": "module",
  "scripts": {
    "build": "rollup -c && ./cleanup-index-js.sh",
    "lint": "npx eslint ./src/ ./tests/ ./examples/ && npx prettier ./src/ ./tests/ ./examples/ --check",
    "test": "yarn jest",
    "format": "prettier --write \"./src/\" \"./examples/\" \"./tests/\"",
    "prepare": "husky"
  },
  "files": [
    "lib"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mlc-ai/web-llm"
  },
  "keywords": [
    "llm",
    "large language model",
    "machine learning"
  ],
  "license": "Apache-2.0",
  "homepage": "https://github.com/mlc-ai/web-llm",
  "devDependencies": {
    "@mlc-ai/web-tokenizers": "^0.1.5",
    "@next/eslint-plugin-next": "^14.2.3",
    "@rollup/plugin-commonjs": "^20.0.0",
    "@rollup/plugin-node-resolve": "^13.0.4",
    "@types/chrome": "^0.0.266",
    "@types/jest": "^29.5.11",
    "@types/serviceworker": "^0.0.86",
    "@typescript-eslint/eslint-plugin": "^5.59.6",
    "@typescript-eslint/parser": "^5.59.6",
    "@webgpu/types": "^0.1.24",
    "buffer": "^5.7.1",
    "eslint": "^8.41.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-prettier": "^5.1.3",
    "husky": "^9.0.11",
    "jest": "^29.7.0",
    "prettier": "3.2.5",
    "process": "^0.11.10",
    "rollup": "^2.56.2",
    "rollup-plugin-ignore": "^1.0.10",
    "rollup-plugin-typescript2": "^0.34.1",
    "ts-jest": "^29.1.2",
    "tslib": "^2.3.1",
    "@mlc-ai/web-runtime": "0.18.0-dev2",
    "@mlc-ai/web-xgrammar": "0.1.0",
    "typescript": "^4.9.5"
  },
  "dependencies": {
    "loglevel": "^1.9.1"
  }
}