@tarojs/taro-rn 3.5.0-beta.4 → 3.5.0-beta.7

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.
Files changed (2) hide show
  1. package/package.json +15 -15
  2. package/types/overlay.d.ts +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/taro-rn",
3
- "version": "3.5.0-beta.4",
3
+ "version": "3.5.0-beta.7",
4
4
  "description": "Taro RN framework",
5
5
  "main": "dist/index.js",
6
6
  "typings": "types/index.d.ts",
@@ -11,17 +11,6 @@
11
11
  "apiList.js",
12
12
  "libList.js"
13
13
  ],
14
- "scripts": {
15
- "assets": "cpy 'src/**/*.png' '!src/__tests__/*' dist",
16
- "build": "rimraf ./dist && tsc && yarn assets && yarn script",
17
- "dev": "yarn assets && tsc --watch",
18
- "lint": "eslint .",
19
- "test": "jest --silent",
20
- "test:dev": "jest --watch",
21
- "test:ci": "jest -i --silent --coverage false",
22
- "test:coverage": "jest --coverage",
23
- "script": "node ./script"
24
- },
25
14
  "repository": {
26
15
  "type": "git",
27
16
  "url": "git+https://github.com/NervJS/taro.git"
@@ -37,9 +26,10 @@
37
26
  "@react-native-community/clipboard": "~1.5.1",
38
27
  "@react-native-community/geolocation": "~2.0.2",
39
28
  "@react-native-community/netinfo": "~7.1.2",
40
- "@tarojs/runtime-rn": "3.5.0-beta.4",
29
+ "@tarojs/runtime-rn": "3.5.0-beta.7",
41
30
  "babel-preset-expo": "~9.0.2",
42
31
  "base64-js": "^1.3.0",
32
+ "deprecated-react-native-prop-types": "^2.3.0",
43
33
  "expo-av": "~11.2.3",
44
34
  "expo-barcode-scanner": "~11.3.0",
45
35
  "expo-brightness": "~10.2.0",
@@ -87,5 +77,15 @@
87
77
  "react-native-safe-area-context": "~3.4.1",
88
78
  "react-native-syan-image-picker": "0.5.3"
89
79
  },
90
- "gitHead": "7aca7841ed7e2af1b182ff5d24e91f44730ce783"
91
- }
80
+ "scripts": {
81
+ "assets": "cpy 'src/**/*.png' '!src/__tests__/*' dist",
82
+ "build": "rimraf ./dist && tsc && pnpm run assets && pnpm run script",
83
+ "dev": "pnpm run assets && tsc --watch",
84
+ "lint": "eslint .",
85
+ "test": "jest --silent",
86
+ "test:dev": "jest --watch",
87
+ "test:ci": "jest -i --silent --coverage false",
88
+ "test:coverage": "jest --coverage",
89
+ "script": "node ./script"
90
+ }
91
+ }
@@ -0,0 +1,9 @@
1
+ import Taro from '@tarojs/taro'
2
+
3
+ declare module '@tarojs/taro' {
4
+ namespace vibrateShort {
5
+ interface Option {
6
+ type?: 'heavy' | 'medium' | 'light'
7
+ }
8
+ }
9
+ }