@slexisvn/mlfw 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.browser.js +142 -137
- package/dist/index.d.ts +3103 -1748
- package/dist/index.node.js +166 -158
- package/package.json +32 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slexisvn/mlfw",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.node.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -13,33 +13,52 @@
|
|
|
13
13
|
"./package.json": "./package.json"
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
|
-
"dist"
|
|
16
|
+
"dist/index.*"
|
|
17
17
|
],
|
|
18
18
|
"imports": {
|
|
19
19
|
"#io/fs": {
|
|
20
|
-
"browser": "./src/runtime/browser/fs.
|
|
21
|
-
"default": "./src/runtime/node/fs.
|
|
20
|
+
"browser": "./src/runtime/browser/fs.ts",
|
|
21
|
+
"default": "./src/runtime/node/fs.ts"
|
|
22
|
+
},
|
|
23
|
+
"#io/exit_hook": {
|
|
24
|
+
"browser": "./src/runtime/browser/exit_hook.ts",
|
|
25
|
+
"default": "./src/runtime/node/exit_hook.ts"
|
|
26
|
+
},
|
|
27
|
+
"#io/progress": {
|
|
28
|
+
"browser": "./src/runtime/browser/progress.ts",
|
|
29
|
+
"default": "./src/runtime/node/progress.ts"
|
|
22
30
|
},
|
|
23
31
|
"#io/wasm_pool": {
|
|
24
|
-
"browser": "./src/runtime/browser/wasm_pool.
|
|
25
|
-
"default": "./src/runtime/node/wasm_pool.
|
|
32
|
+
"browser": "./src/runtime/browser/wasm_pool.ts",
|
|
33
|
+
"default": "./src/runtime/node/wasm_pool.ts"
|
|
26
34
|
},
|
|
27
35
|
"#io/cuda_runtime": {
|
|
28
|
-
"browser": "./src/runtime/browser/cuda_runtime.
|
|
29
|
-
"default": "./src/runtime/node/cuda_runtime.
|
|
36
|
+
"browser": "./src/runtime/browser/cuda_runtime.ts",
|
|
37
|
+
"default": "./src/runtime/node/cuda_runtime.ts"
|
|
30
38
|
},
|
|
31
39
|
"#io/cuda/*": {
|
|
32
|
-
"browser": "./src/runtime/browser/cuda
|
|
33
|
-
"default": "./src/runtime/node/cuda
|
|
40
|
+
"browser": "./src/runtime/browser/cuda/*.ts",
|
|
41
|
+
"default": "./src/runtime/node/cuda/*.ts"
|
|
42
|
+
},
|
|
43
|
+
"#io/terac": {
|
|
44
|
+
"browser": "./src/runtime/browser/terac.ts",
|
|
45
|
+
"default": "./src/runtime/node/terac.ts"
|
|
34
46
|
}
|
|
35
47
|
},
|
|
36
48
|
"scripts": {
|
|
37
49
|
"build": "tsup",
|
|
38
|
-
"
|
|
39
|
-
"test
|
|
40
|
-
"test:
|
|
50
|
+
"viz": "npm --prefix tools/visualizer run dev",
|
|
51
|
+
"test": "vitest run --project unit --project e2e --project webgpu",
|
|
52
|
+
"test:unit": "vitest run --project unit",
|
|
53
|
+
"test:e2e": "vitest run --project e2e",
|
|
54
|
+
"test:webgpu": "vitest run --project webgpu",
|
|
55
|
+
"test:cuda": "vitest run --project cuda",
|
|
56
|
+
"test:terac": "vitest run --project terac",
|
|
57
|
+
"test:stress": "vitest run --project stress",
|
|
58
|
+
"test:perf": "vitest run --project perf"
|
|
41
59
|
},
|
|
42
60
|
"devDependencies": {
|
|
61
|
+
"@types/node": "^26.2.0",
|
|
43
62
|
"@vitest/coverage-v8": "^4.1.8",
|
|
44
63
|
"esbuild": "^0.28.0",
|
|
45
64
|
"puppeteer-core": "^25.1.0",
|