-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.12 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 2.12 KB
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
63
{
"name": "@mni-ml/framework",
"type": "module",
"version": "0.3.1",
"description": "A TypeScript ML framework with Rust native backends (CPU, CUDA, WebGPU) — autograd, tensors, and neural network training at GPU speed.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mni-ml/framework.git"
},
"keywords": [
"machine-learning",
"autograd",
"tensor",
"neural-network",
"deep-learning",
"typescript",
"rust",
"cuda",
"webgpu",
"gpu"
],
"engines": {
"node": ">=22.18.0"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"src/native/*.node",
"npm",
"README.md"
],
"optionalDependencies": {
"@mni-ml/framework-darwin-arm64": "0.3.1",
"@mni-ml/framework-darwin-arm64-webgpu": "0.3.1",
"@mni-ml/framework-darwin-x64": "0.3.1",
"@mni-ml/framework-darwin-x64-webgpu": "0.3.1",
"@mni-ml/framework-linux-arm64-gnu": "0.3.1",
"@mni-ml/framework-linux-x64-gnu": "0.3.1",
"@mni-ml/framework-linux-x64-gnu-cuda": "0.3.1",
"@mni-ml/framework-linux-x64-gnu-webgpu": "0.3.1",
"@mni-ml/framework-win32-x64-msvc": "0.3.1",
"@mni-ml/framework-win32-x64-msvc-cuda": "0.3.1",
"@mni-ml/framework-win32-x64-msvc-webgpu": "0.3.1"
},
"devDependencies": {
"@types/node": "^22.0.0",
"typescript": "^5.9.3"
},
"scripts": {
"build": "tsc",
"build:native": "cd src/native && cargo build --release --features cpu && cp target/release/libmni_framework_native.dylib mni-framework-native.darwin-arm64.node",
"build:native:cuda": "cd src/native && cargo build --release --no-default-features --features cuda && cp target/release/libmni_framework_native.so mni-framework-native.linux-x64-gnu.node",
"build:native:webgpu": "cd src/native && cargo build --release --no-default-features --features webgpu && cp target/release/libmni_framework_native.dylib mni-framework-native.darwin-arm64.node",
"build:all": "npm run build:native && npm run build",
"test": "node --no-warnings --loader ./test/loader.js test/run.ts"
}
}