react-native-ota-hot-update 2.1.4 → 2.1.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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +2 -13
package/README.md CHANGED
@@ -35,6 +35,17 @@ Auto linking already, need pod install for ios:
35
35
  cd ios && pod install
36
36
  ```
37
37
 
38
+ ### Expo
39
+
40
+ Modify `app.json`:
41
+
42
+ ```angular2html
43
+ "plugins": [
44
+ "react-native-ota-hot-update",
45
+ ...
46
+ ]
47
+ ```
48
+
38
49
  ### IOS
39
50
  Open `AppDelegate.m` and add this:
40
51
 
package/package.json CHANGED
@@ -1,22 +1,11 @@
1
1
  {
2
2
  "name": "react-native-ota-hot-update",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "Hot update for react native",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
7
7
  "module": "./lib/module/index.js",
8
- "exports": {
9
- ".": {
10
- "import": {
11
- "types": "./lib/typescript/module/src/index.d.ts",
12
- "default": "./lib/module/index.js"
13
- },
14
- "require": {
15
- "types": "./lib/typescript/commonjs/src/index.d.ts",
16
- "default": "./lib/commonjs/index.js"
17
- }
18
- }
19
- },
8
+ "types": "./lib/typescript/module/src/index.d.ts",
20
9
  "files": [
21
10
  "src",
22
11
  "lib",