@ridp/threejs 1.2.2 → 1.3.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/dist/hooks.cjs +1 -1
- package/dist/hooks.js +1 -1
- package/dist/threejs.cjs +1 -1
- package/dist/threejs.js +54 -53
- package/dist/useGLTFLoader-B6Cm6xQg.cjs +2 -0
- package/dist/useGLTFLoader-kuE8ICl_.js +2477 -0
- package/package.json +9 -7
- package/readme.md +21 -1
- package/dist/useGLTFLoader-Cw4DG52q.js +0 -5507
- package/dist/useGLTFLoader-DEwFr0G4.cjs +0 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ridp/threejs",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/threejs.js",
|
|
7
7
|
"exports": {
|
|
@@ -18,18 +18,20 @@
|
|
|
18
18
|
"require": "./dist/utils.cjs"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
-
"dependencies": {
|
|
22
|
-
|
|
23
|
-
"dexie": "^4.0.11",
|
|
21
|
+
"dependencies": {},
|
|
22
|
+
"devDependencies": {
|
|
24
23
|
"esdoc": "^1.1.0",
|
|
25
24
|
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
|
|
26
25
|
"esdoc-importpath-plugin": "^1.0.2",
|
|
27
26
|
"esdoc-inject-style-plugin": "^1.0.0",
|
|
28
27
|
"esdoc-jsx-plugin": "^1.0.0",
|
|
29
28
|
"esdoc-standard-plugin": "^1.0.0",
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
"vite": "^6.3.1"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"dexie": ">=4.0.0 <5.0.0",
|
|
33
|
+
"vue": ">=3.0.0 <4.0.0",
|
|
34
|
+
"three": ">=0.178.0 <1.0.0"
|
|
33
35
|
},
|
|
34
36
|
"files": [
|
|
35
37
|
"dist/*",
|
package/readme.md
CHANGED
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
# @ridp/threejs
|
|
2
2
|
|
|
3
|
-
## Hooks
|
|
4
3
|
|
|
4
|
+
## 安装
|
|
5
|
+
|
|
6
|
+
本库依赖以下 peer dependencies:
|
|
7
|
+
|
|
8
|
+
```json
|
|
9
|
+
"peerDependencies": {
|
|
10
|
+
"dexie": ">=4.0.0 <5.0.0",
|
|
11
|
+
"vue": ">=3.0.0 <4.0.0",
|
|
12
|
+
"three": ">=0.178.0 <1.0.0"
|
|
13
|
+
}
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
请一并安装
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
|
|
20
|
+
npm install @ridp/threejs dexie@^4 vue@^3 three@^0.178
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Hooks
|
|
5
25
|
- useThreeJs
|
|
6
26
|
声明:
|
|
7
27
|
|