@tarojs/taro 3.6.10-alpha.4 → 3.6.10-alpha.5
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/taro",
|
|
3
|
-
"version": "3.6.10-alpha.
|
|
3
|
+
"version": "3.6.10-alpha.5",
|
|
4
4
|
"description": "Taro framework",
|
|
5
5
|
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
|
|
6
6
|
"main": "index.js",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"author": "O2Team",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@tarojs/api": "3.6.10-alpha.
|
|
25
|
-
"@tarojs/runtime": "3.6.10-alpha.
|
|
24
|
+
"@tarojs/api": "3.6.10-alpha.5",
|
|
25
|
+
"@tarojs/runtime": "3.6.10-alpha.5"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@tarojs/helper": "3.6.10-alpha.
|
|
28
|
+
"@tarojs/helper": "3.6.10-alpha.5"
|
|
29
29
|
},
|
|
30
30
|
"peerDependenciesMeta": {
|
|
31
31
|
"@types/react": {
|
|
@@ -6,7 +6,7 @@ import type { IOption, IPostcssOption } from './util'
|
|
|
6
6
|
|
|
7
7
|
export interface IRNConfig {
|
|
8
8
|
/** 设置 RN bundle 中注册应用的名称 */
|
|
9
|
-
appName
|
|
9
|
+
appName?: string
|
|
10
10
|
|
|
11
11
|
/** entry 利用模块查找规则{name}.{platform}.{ext}自动区分平台 */
|
|
12
12
|
entry?: string
|
|
@@ -53,4 +53,12 @@ export interface IRNConfig {
|
|
|
53
53
|
|
|
54
54
|
/** 将 svg 文件转换为组件引入。默认值 false,不开启 */
|
|
55
55
|
enableSvgTransform?: boolean
|
|
56
|
+
|
|
57
|
+
alias?: IOption
|
|
58
|
+
|
|
59
|
+
/** 设计稿尺寸 */
|
|
60
|
+
designWidth?: number | ((size?: string | number | Input) => number)
|
|
61
|
+
|
|
62
|
+
/** 设计稿尺寸换算规则 */
|
|
63
|
+
deviceRatio?: TaroGeneral.TDeviceRatio
|
|
56
64
|
}
|