@ray-js/robot-map-sdk 0.0.2-beta-1

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.
@@ -0,0 +1,16 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta
6
+ name="viewport"
7
+ content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
8
+ />
9
+ <title></title>
10
+ <script type="text/javascript" src="./assets/index-ByRT_epP.js"></script>
11
+ </head>
12
+ <body>
13
+ <div id="container" />
14
+ <div id="debug-tools" class="debug-tools"></div>
15
+ </body>
16
+ </html>
package/package.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "@ray-js/robot-map-sdk",
3
+ "version": "0.0.2-beta-1",
4
+ "type": "module",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "dist/index.es.js",
7
+ "files": [
8
+ "dist",
9
+ "dist-app"
10
+ ],
11
+ "license": "MIT",
12
+ "types": "dist/index.d.ts",
13
+ "scripts": {
14
+ "dev": "vite --host",
15
+ "build:core": "tsc && vite build --mode core",
16
+ "build:app": "tsc && vite build",
17
+ "build": "npm run build:core && npm run build:app",
18
+ "analyze": "npm run build:app && npx vite-bundle-analyzer dist-app",
19
+ "preview": "vite preview",
20
+ "prepare": "husky",
21
+ "postinstall": "patch-package",
22
+ "docs": "npm run docs:build && vitepress serve docs --host",
23
+ "docs:dev": "vitepress dev docs --host",
24
+ "docs:build": "vitepress build docs",
25
+ "docs:serve": "vitepress serve docs --host",
26
+ "docs:typedoc": "typedoc"
27
+ },
28
+ "devDependencies": {
29
+ "@eslint/js": "^9.22.0",
30
+ "@rollup/plugin-terser": "^0.4.4",
31
+ "@types/lodash-es": "^4.17.12",
32
+ "@typescript-eslint/eslint-plugin": "^8.26.1",
33
+ "@typescript-eslint/parser": "^8.26.1",
34
+ "eslint": "^9.22.0",
35
+ "eslint-config-prettier": "^10.1.1",
36
+ "eslint-plugin-prettier": "^5.2.3",
37
+ "eslint-plugin-valtio": "^0.8.0",
38
+ "globals": "^16.0.0",
39
+ "husky": "^9.1.7",
40
+ "lint-staged": "^15.5.0",
41
+ "prettier": "^3.5.3",
42
+ "terser": "^5.43.1",
43
+ "typedoc": "^0.28.13",
44
+ "typedoc-plugin-markdown": "^4.8.1",
45
+ "typescript": "~5.7.2",
46
+ "typescript-eslint": "^8.26.1",
47
+ "vite": "^7.1.3",
48
+ "vite-bundle-analyzer": "^1.2.1",
49
+ "vite-plugin-dts": "^4.5.4",
50
+ "vite-plugin-svgr": "^4.5.0",
51
+ "vitepress": "^1.6.4"
52
+ },
53
+ "dependencies": {
54
+ "@ray-js/robot-protocol": "^0.11.5",
55
+ "@ray-js/webview-invoke": "^0.0.3",
56
+ "gifuct-js": "^2.1.2",
57
+ "lodash-es": "^4.17.21",
58
+ "mitt": "^3.0.1",
59
+ "nanoid": "^5.1.5",
60
+ "normalize.css": "^8.0.1",
61
+ "patch-package": "^8.0.0",
62
+ "pixi.js": "^8.12.0",
63
+ "valtio": "^2.1.7"
64
+ },
65
+ "lint-staged": {
66
+ "*.{js,ts,jsx,tsx}": [
67
+ "eslint --fix",
68
+ "prettier --write"
69
+ ]
70
+ },
71
+ "maintainers": [
72
+ {
73
+ "name": "tuya_npm",
74
+ "email": "Tuya-npm@tuya.com"
75
+ },
76
+ {
77
+ "name": "tuyafe",
78
+ "email": "tuyafe@tuya.com"
79
+ }
80
+ ]
81
+ }