@openfluke/welvet 0.1.2 → 0.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfluke/welvet",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "TypeScript/JavaScript bindings for LOOM neural network framework with WebAssembly support - GPU-accelerated machine learning in the browser",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -50,7 +50,9 @@
50
50
  "clean": "rm -rf dist",
51
51
  "build": "tsc -p tsconfig.json",
52
52
  "postbuild": "cp -r assets/* dist/",
53
- "prepare": "bun run build"
53
+ "prepare": "bun run build",
54
+ "serve": "python3 serve.py",
55
+ "dev": "bun run build && bun run serve"
54
56
  },
55
57
  "devDependencies": {
56
58
  "@types/node": "^22.7.5",
package/dist/env.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export declare const isBrowser: boolean;
2
- export declare const isNode: boolean;
3
- export declare const isBun: boolean;
package/dist/env.js DELETED
@@ -1,3 +0,0 @@
1
- export const isBrowser = typeof window !== "undefined" && typeof document !== "undefined";
2
- export const isNode = typeof process !== "undefined" && !!process.versions?.node;
3
- export const isBun = typeof globalThis.Bun !== "undefined";