| { | |
| "name": "tvmjs", | |
| "description": "TVM WASM/WebGPU runtime for JS/TS", | |
| "license": "Apache-2.0", | |
| "homepage": "https://github.com/apache/tvm/tree/main/web", | |
| "version": "0.28.0-dev0", | |
| "files": [ | |
| "lib" | |
| ], | |
| "repository": { | |
| "type": "git", | |
| "url": "git+https://github.com/apache/tvm/tree/main/web" | |
| }, | |
| "keywords": [ | |
| "llm", | |
| "large language model", | |
| "machine learning" | |
| ], | |
| "main": "lib/index.js", | |
| "types": "lib/index.d.ts", | |
| "scripts": { | |
| "prepwasm": "make && python tests/python/prepare_test_libs.py", | |
| "build": "rollup -c", | |
| "lint": "eslint -c .eslintrc.cjs .", | |
| "typedoc": "typedoc src/index.ts --plugin typedoc-plugin-missing-exports", | |
| "test": "python run_jest.py", | |
| "bundle": "npm run build && cp lib/index.js dist/index.js && cp lib/index.js dist/tvmjs.bundle.js", | |
| "example": "npm run bundle && node apps/node/example.js", | |
| "example:wasi": "npm run bundle && node --experimental-wasi-unstable-preview1 --experimental-wasm-bigint apps/node/wasi_example.js", | |
| "rpc": "npm run bundle && node --experimental-wasi-unstable-preview1 --experimental-wasm-bigint apps/node/wasi_rpc_server.js" | |
| }, | |
| "devDependencies": { | |
| "@rollup/plugin-commonjs": "^29.0.0", | |
| "@rollup/plugin-node-resolve": "^16.0.3", | |
| "@rollup/plugin-typescript": "^12.3.0", | |
| "@types/node": "^25.3.0", | |
| "@typescript-eslint/eslint-plugin": "^8.56.0", | |
| "@typescript-eslint/parser": "^8.56.0", | |
| "@webgpu/types": "^0.1.69", | |
| "eslint": "^10.0.0", | |
| "jest": "^30.2.0", | |
| "rollup": "^4.57.1", | |
| "rollup-plugin-ignore": "^1.0.10", | |
| "typedoc": "^0.28.17", | |
| "typedoc-plugin-missing-exports": "4.1.2", | |
| "typescript": "^5.9.3", | |
| "ws": "^8.19.0" | |
| }, | |
| "dependencies": { | |
| "audit": "^0.0.6", | |
| "fix": "^0.0.6", | |
| "tslib": "^2.8.1" | |
| } | |
| } |