virtual-machine 0.1.0 → 0.1.3

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": "virtual-machine",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "RISC-V Virtual Machine with WASM and Node.js native support",
5
5
  "bin": "build/cli.js",
6
6
  "publishConfig": {
@@ -20,6 +20,10 @@
20
20
  "import": "./build/worker.mjs",
21
21
  "require": "./build/worker.js"
22
22
  },
23
+ "./jit-worker": {
24
+ "types": "./build/jit-worker.d.ts",
25
+ "import": "./build/jit-worker.js"
26
+ },
23
27
  "./native": {
24
28
  "import": "./native/index.mjs",
25
29
  "require": "./native/index.js"
@@ -46,6 +50,7 @@
46
50
  ],
47
51
  "scripts": {
48
52
  "build": "rm -rf build && sh build.sh",
53
+ "build:jit-worker": "tsup --config tsup/tsup.jit-worker.ts",
49
54
  "build:native": "napi build --platform --release --features napi --cargo-cwd . --cargo-flags=\"--lib\" native",
50
55
  "build:native:debug": "napi build --platform --features napi --cargo-cwd . --cargo-flags=\"--lib\" native",
51
56
  "build:all": "npm run build && npm run build:native"