@galacean/effects-specification 2.7.1 → 2.7.2

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.
@@ -43,7 +43,7 @@ export interface RichTextContentOptions extends BaseTextContentOptions {
43
43
  * 尺寸模式
44
44
  * @default TextSizeMode.autoWidth
45
45
  */
46
- sizeMode?: TextSizeMode;
46
+ autoResize?: TextSizeMode;
47
47
  }
48
48
  /**
49
49
  * 富文本元素渲染属性
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-specification",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "Galacean Effects JSON Specification",
5
5
  "module": "./es/index.js",
6
6
  "main": "./es/index.js",
@@ -15,17 +15,6 @@
15
15
  "types": "./es/index.d.ts"
16
16
  }
17
17
  },
18
- "scripts": {
19
- "prebuild": "pnpm clean",
20
- "build": "pnpm build:lib",
21
- "build:lib": "tsc -b tsconfig.build.json",
22
- "lint": "eslint src --ext .ts,.mjs",
23
- "lint:fix": "eslint src --fix --quiet --ext .ts,.mjs",
24
- "check:ts": "tsc -b tsconfig.check.json",
25
- "clean": "rimraf es/**",
26
- "prepare": "husky install",
27
- "prepublishOnly": "npm run build"
28
- },
29
18
  "browserslist": [
30
19
  "iOS 9"
31
20
  ],
@@ -48,5 +37,14 @@
48
37
  "publishConfig": {
49
38
  "access": "public",
50
39
  "registry": "https://registry.npmjs.org"
40
+ },
41
+ "scripts": {
42
+ "prebuild": "pnpm clean",
43
+ "build": "pnpm build:lib",
44
+ "build:lib": "tsc -b tsconfig.build.json",
45
+ "lint": "eslint src --ext .ts,.mjs",
46
+ "lint:fix": "eslint src --fix --quiet --ext .ts,.mjs",
47
+ "check:ts": "tsc -b tsconfig.check.json",
48
+ "clean": "rimraf es/**"
51
49
  }
52
- }
50
+ }