everything-webgpu / package.json
nyaaorick's picture
feat: publish everything-webgpu package, engine source and documentation
1944112 verified
Raw
History Blame Contribute Delete
2.66 kB
{
"name": "everything-webgpu",
"version": "0.1.0",
"description": "Firefox WebExtension and embeddable library that runs local MLC/WebLLM models on WebGPU, with a priority scheduler, multi-step decoding, and models from HuggingFace, your own URL, or injected straight from disk.",
"scripts": {
"build": "node build.mjs",
"check": "node build.mjs --check-entries",
"test": "node --test test/webllm-contract.test.mjs test/patches.test.mjs test/readme.test.mjs test/api-doc.test.mjs test/examples.test.mjs test/license.test.mjs test/integration.test.mjs test/scheduler.test.mjs test/multistep.test.mjs test/environment.test.mjs test/sources.test.mjs test/prefetch.test.mjs test/embed.test.mjs test/recipes.test.mjs test/errors.test.mjs test/chat.test.mjs test/device.test.mjs test/manage.test.mjs",
"package": "npm run build && node build.mjs --zip",
"e2e": "node test/e2e/run.mjs",
"verify-consumer": "node test/consumer/verify.mjs",
"bench": "node test/e2e/bench.mjs",
"types": "tsc -p tsconfig.json",
"prepare": "node build.mjs",
"prepublishOnly": "npm run types && npm test",
"contract": "node --test test/webllm-contract.test.mjs",
"verify-patches": "node build.mjs --verify-patches"
},
"author": "nyaaorick",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/nyaaorick/everything-webgpu.git"
},
"homepage": "https://github.com/nyaaorick/everything-webgpu#readme",
"bugs": "https://github.com/nyaaorick/everything-webgpu/issues",
"dependencies": {
"@mlc-ai/web-llm": "0.2.84"
},
"devDependencies": {
"acorn": "^8.18.0",
"esbuild": "^0.28.2",
"typescript": "^5.9.2"
},
"type": "module",
"types": "types/engine/index.d.ts",
"exports": {
".": {
"types": "./types/engine/index.d.ts",
"default": "./src/engine/index.js"
},
"./worker": "./src/engine/engine-worker.js",
"./vite": {
"types": "./types/vite.d.ts",
"default": "./src/vite.js"
},
"./adapters/idb": {
"types": "./types/adapters/idb.d.ts",
"default": "./src/adapters/idb.js"
},
"./adapters/memory": {
"types": "./types/adapters/memory.d.ts",
"default": "./src/adapters/memory.js"
},
"./adapters/webext": {
"types": "./types/adapters/webext.d.ts",
"default": "./src/adapters/webext.js"
},
"./adapters/protocol": {
"types": "./types/adapters/protocol.d.ts",
"default": "./src/adapters/protocol.js"
}
},
"files": [
"src/engine",
"src/adapters",
"src/vite.js",
"types",
"vendor/web-llm.js",
"THIRD-PARTY-NOTICES.md"
]
}