@rerun-io/web-viewer 0.0.0 → 0.0.2

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.
Files changed (2) hide show
  1. package/README.md +10 -0
  2. package/package.json +2 -4
package/README.md CHANGED
@@ -26,3 +26,13 @@ await viewer.start(URL, parentElement);
26
26
  // Once you're done with it, call `stop`:
27
27
  viewer.stop();
28
28
  ```
29
+
30
+ ℹ️ Note:
31
+ This package only targets recent browsers.
32
+ Your environment must support importing `.wasm` files as ES modules.
33
+
34
+ ## Development
35
+
36
+ ```
37
+ npm run build
38
+ ```
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@rerun-io/web-viewer",
3
- "version": "0.0.0",
3
+ "version": "0.0.2",
4
4
  "description": "Embed the Rerun web viewer in your app",
5
5
  "private": false,
6
6
  "scripts": {
7
7
  "build:wasm": "cargo run -p re_build_web_viewer -- --release --module -o rerun_js/web-viewer",
8
8
  "build:types": "dts-buddy",
9
- "build": "node build:wasm && build:types",
10
- "publish": "npm publish --access public",
9
+ "build": "npm run build:wasm && npm run build:types",
11
10
  "prepublishOnly": "dts-buddy"
12
11
  },
13
12
  "repository": {
@@ -40,4 +39,3 @@
40
39
  "dts-buddy": "^0.3.0"
41
40
  }
42
41
  }
43
-