brandbot 0.1.0 โ 0.1.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.
- package/README.md +5 -1
- package/package.json +38 -8
package/README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# BrandBot ๐ค
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/brandbot)
|
|
4
|
+
[](./LICENSE)
|
|
5
|
+
[](#)
|
|
6
|
+
|
|
3
7
|
**A 3D robot mascot you brand with your own logo and colors.** A drop-in React component that gestures, blinks, and follows the visitor's cursor. It renders with [Three.js](https://threejs.org), is written in TypeScript with full type declarations, and bundles the model โ so there's nothing to configure or host. Works in any React app (see the Next.js note below).
|
|
4
8
|
|
|
5
9
|
**[โถ Live demo](https://aidan945.github.io/brandbot/demo/)** ยท **[Configure & copy code](https://aidan945.github.io/brandbot/demo/configure.html)**
|
|
6
10
|
|
|
7
|
-

|
|
8
12
|
|
|
9
13
|
## Install
|
|
10
14
|
|
package/package.json
CHANGED
|
@@ -1,21 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brandbot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "๐ค A 3D robot mascot you brand with your own logo and colors โ a drop-in React component with cursor tracking, built on Three.js.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./core": {
|
|
15
|
+
"types": "./dist/robot-core.d.ts",
|
|
16
|
+
"default": "./dist/robot-core.js"
|
|
17
|
+
},
|
|
12
18
|
"./model": "./dist/nexbot-model.js"
|
|
13
19
|
},
|
|
14
|
-
"files": [
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE",
|
|
24
|
+
"preview.png"
|
|
25
|
+
],
|
|
15
26
|
"sideEffects": false,
|
|
16
27
|
"homepage": "https://aidan945.github.io/brandbot/demo/",
|
|
17
|
-
"repository": {
|
|
18
|
-
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/Aidan945/brandbot.git"
|
|
31
|
+
},
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/Aidan945/brandbot/issues"
|
|
34
|
+
},
|
|
19
35
|
"author": "Aidan Zarski",
|
|
20
36
|
"scripts": {
|
|
21
37
|
"build": "tsc && cp src/nexbot-model.js dist/nexbot-model.js && cp src/nexbot-model.d.ts dist/nexbot-model.d.ts",
|
|
@@ -27,13 +43,27 @@
|
|
|
27
43
|
"three": ">=0.150.0"
|
|
28
44
|
},
|
|
29
45
|
"peerDependenciesMeta": {
|
|
30
|
-
"react": {
|
|
46
|
+
"react": {
|
|
47
|
+
"optional": true
|
|
48
|
+
}
|
|
31
49
|
},
|
|
32
50
|
"devDependencies": {
|
|
33
51
|
"typescript": "^5.4.5",
|
|
34
52
|
"@types/react": "^18.3.3",
|
|
35
53
|
"@types/three": "^0.160.0"
|
|
36
54
|
},
|
|
37
|
-
"keywords": [
|
|
55
|
+
"keywords": [
|
|
56
|
+
"robot",
|
|
57
|
+
"mascot",
|
|
58
|
+
"3d",
|
|
59
|
+
"threejs",
|
|
60
|
+
"react",
|
|
61
|
+
"hero",
|
|
62
|
+
"brand",
|
|
63
|
+
"logo",
|
|
64
|
+
"cursor",
|
|
65
|
+
"spline",
|
|
66
|
+
"typescript"
|
|
67
|
+
],
|
|
38
68
|
"license": "MIT"
|
|
39
69
|
}
|