@vvfx/sdk 0.0.0-alpha.4 → 0.0.0-alpha.40

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,13 +1,8 @@
1
1
  {
2
2
  "name": "@vvfx/sdk",
3
- "private": false,
3
+ "description": "VVFX 开放 SDK",
4
+ "version": "0.0.0-alpha.40",
4
5
  "type": "module",
5
- "engines": {
6
- "node": ">=20"
7
- },
8
- "files": [
9
- "dist"
10
- ],
11
6
  "main": "./dist/index.cjs",
12
7
  "module": "./dist/index.js",
13
8
  "types": "./dist/index.d.ts",
@@ -18,21 +13,20 @@
18
13
  "require": "./dist/index.cjs"
19
14
  }
20
15
  },
21
- "version": "0.0.0-alpha.4",
22
- "scripts": {
23
- "dev": "vite",
24
- "build": "tsup",
25
- "dev:link": "tsup --watch",
26
- "check": "tsc -b ./tsconfig.check.json",
27
- "lint": "eslint . --fix",
28
- "preview": "vite preview",
29
- "prepare": "husky"
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "publishConfig": {
20
+ "access": "public"
30
21
  },
31
22
  "dependencies": {
32
23
  "@ffmpeg/ffmpeg": "0.12.15",
33
24
  "@ffmpeg/util": "0.12.2",
34
- "@galacean/effects": "2.5.3",
35
- "@galacean/effects-plugin-rich-text": "2.5.3",
25
+ "@galacean/effects": "^2.7.0",
26
+ "@galacean/effects-plugin-rich-text": "^2.7.0",
27
+ "@galacean/effects-plugin-model": "^2.7.0",
28
+ "@galacean/effects-plugin-multimedia": "^2.7.0",
29
+ "@galacean/effects-plugin-spine": "^2.7.0",
36
30
  "@pixi/app": "^6.5.10",
37
31
  "@pixi/constants": "^6.5.10",
38
32
  "@pixi/core": "^6.5.10",
@@ -52,24 +46,10 @@
52
46
  "@pixi/utils": "^6.5.10",
53
47
  "jszip": "^3.10.1"
54
48
  },
55
- "devDependencies": {
56
- "@ant-design/icons": "^6.0.0",
57
- "@eslint/js": "^9.30.1",
58
- "@types/node": "^24.2.0",
59
- "@types/react": "^19.1.8",
60
- "@types/react-dom": "^19.1.6",
61
- "@vitejs/plugin-react-swc": "^3.10.2",
62
- "antd": "^5.26.4",
63
- "eslint": "^9.30.1",
64
- "eslint-plugin-react-hooks": "^5.2.0",
65
- "eslint-plugin-react-refresh": "^0.4.20",
66
- "husky": "^9.1.7",
67
- "react": "^19.1.0",
68
- "react-dom": "^19.1.0",
69
- "terser": "^5.43.1",
70
- "tsup": "^8.5.0",
71
- "typescript": "~5.8.3",
72
- "typescript-eslint": "^8.36.0",
73
- "vite": "^7.0.2"
49
+ "devDependencies": {},
50
+ "scripts": {
51
+ "build": "tsup",
52
+ "dev": "tsup --watch",
53
+ "check": "tsc -b ./tsconfig.json"
74
54
  }
75
- }
55
+ }
package/README.md DELETED
@@ -1,30 +0,0 @@
1
- ## VVFX SDK
2
-
3
- VVFX 开放 SDK
4
-
5
- ## 初始化SDK
6
-
7
- ### 入参
8
- * app提供父级容器
9
-
10
-
11
- ### 初始化
12
- * 创建渲染层容器,初始化Player
13
- * 创建辅助层容器,初始化PixiPlayer
14
-
15
- ## 初始化场景数据
16
-
17
- ### 入参
18
- * app提供场景数据[JSON格式]
19
- * app提供视图参数
20
-
21
- ### 初始化
22
- * 根据场景数据构建页面数据
23
- * 设置初始化活跃数据
24
- * 根据活跃数据刷新Player
25
- * 根据活跃数据刷新PixiPlayer
26
-
27
- ## 运行SDK
28
-
29
- ### 运行
30
- * 根据活跃数据刷新Player以及PixiPlayer