blob: eef93993be5cab13b29c793ab94caf4111e6504c [file] [log] [blame]
{
"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.24.0-dev1",
"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.json .",
"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": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@types/node": "^20.4.5",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@webgpu/types": "^0.1.42",
"eslint": "^8.41.0",
"jest": "^26.0.1",
"rollup": "^2.79.2",
"rollup-plugin-ignore": "^1.0.10",
"rollup-plugin-typescript2": "^0.34.1",
"typedoc": "^0.24.7",
"typedoc-plugin-missing-exports": "2.0.0",
"typescript": "^4.9.5",
"ws": "^7.2.5"
},
"dependencies": {
"audit": "^0.0.6",
"fix": "^0.0.6"
}
}