@ray-js/robot-map-sdk 0.0.3-beta-4 → 0.0.3-beta-6

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": "@ray-js/robot-map-sdk",
3
- "version": "0.0.3-beta-4",
3
+ "version": "0.0.3-beta-6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -10,6 +10,10 @@
10
10
  ".": {
11
11
  "types": "./dist/index.d.ts",
12
12
  "import": "./dist/index.js"
13
+ },
14
+ "./rjs": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.rjs.js"
13
17
  }
14
18
  },
15
19
  "engines": {
@@ -24,8 +28,9 @@
24
28
  "scripts": {
25
29
  "dev": "vite --host",
26
30
  "build:core": "tsc && vite build --mode core",
31
+ "build:rjs": "tsc && BUILD_TARGET=rjs vite build --mode core",
27
32
  "build:app": "tsc && vite build",
28
- "build": "npm run build:core && npm run build:app && npm run docs:build",
33
+ "build": "npm run build:rjs && npm run build:core && npm run build:app && npm run docs:build",
29
34
  "analyze": "npm run build:app && npx vite-bundle-analyzer dist-app",
30
35
  "preview": "vite preview",
31
36
  "prepare": "husky",