@srcpush/react-native-code-push 1.0.3-develop.3 → 1.0.3-develop.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/CONTRIBUTING.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ### Environment setup
6
6
 
7
- `node.js` and `npm` are needed for using this project. `npm` comes bundled with the `node.js` installer. You can download the `node.js` installer here: https://nodejs.org/download/.
7
+ `node.js` and `npm` are needed for using this project. `npm` comes bundled with the `node.js` installer. You can download the `node.js` installer here: <https://nodejs.org/download/>.
8
8
 
9
9
  Once you have installed `node.js` and `npm`, install the dev dependencies for the project.
10
10
 
@@ -15,19 +15,22 @@ npm install
15
15
  ### Using the plugin manually
16
16
 
17
17
  Follow these steps to test your modifications to the plugin manually:
18
+
18
19
  - clone this repository
19
20
  - install the dependencies
20
21
 
21
- Navigate to the root folder from your command line console and run:
22
- ```
23
- npm install
24
- ```
22
+ Navigate to the root folder from your command line console and run:
23
+ ```
24
+ npm install
25
+ ```
26
+
25
27
  - install the plugin in a React-Native project
26
28
 
27
- Navigate to the root folder of your React-Native project from your command line console and run:
28
- ```
29
- npm install local_path_to_your_clone_of_this_repo
30
- ```
29
+ Navigate to the root folder of your React-Native project from your command line console and run:
30
+ ```
31
+ npm install local_path_to_your_clone_of_this_repo
32
+ ```
33
+
31
34
  - configure the plugin using the steps in the README.md
32
35
  - build and run your app on an emulator or device
33
36
 
@@ -81,6 +84,7 @@ If you would like to pull the plugin from NPM rather than running the tests on t
81
84
  #### Default
82
85
 
83
86
  To run all of the unit tests on Android and iOS:
87
+
84
88
  ```
85
89
  npm run test
86
90
  ```
@@ -88,6 +92,7 @@ npm run test
88
92
  #### iOS
89
93
 
90
94
  To run all of the unit tests on iOS:
95
+
91
96
  ```
92
97
  npm run test:ios
93
98
  ```
@@ -95,6 +100,7 @@ npm run test:ios
95
100
  #### Android
96
101
 
97
102
  To run all of the unit tests on Android:
103
+
98
104
  ```
99
105
  npm run test:android
100
106
  ```
@@ -107,26 +113,31 @@ The platforms are ordered as follows, and ran in that order:
107
113
  android, ios
108
114
 
109
115
  To run the core unit tests on Android:
116
+
110
117
  ```
111
118
  CORE=true npm run test:android
112
119
  ```
113
120
 
114
121
  To run all of the unit tests on iOS and pull the plugin from NPM:
122
+
115
123
  ```
116
124
  NPM=true npm run test:ios
117
125
  ```
118
126
 
119
127
  To run all of the unit tests on Android and iOS without building first:
128
+
120
129
  ```
121
130
  npm run test:fast
122
131
  ```
123
132
 
124
133
  To run all of the unit tests on iOS and restart the emulators:
134
+
125
135
  ```
126
136
  CLEAN=true npm run test:ios
127
137
  ```
128
138
 
129
139
  To run the core unit tests on Android and pull the plugin from NPM:
140
+
130
141
  ```
131
142
  NPM=true CORE=true npm run test:android
132
143
  ```
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Microsoft CodePush Plugin for React Native
2
2
 
3
3
  Copyright (c) Microsoft Corporation
4
4
 
5
- All rights reserved.
5
+ All rights reserved.
6
6
 
7
7
  MIT License
8
8
 
@@ -10,4 +10,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
10
10
 
11
11
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
12
 
13
- THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/SECURITY.md CHANGED
@@ -22,4 +22,4 @@ Please include the requested information listed below (as much as you can provid
22
22
  * Proof-of-concept or exploit code (if possible)
23
23
  * Impact of the issue, including how an attacker might exploit the issue
24
24
 
25
- This information will help us triage your report more quickly.
25
+ This information will help us triage your report more quickly.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@srcpush/react-native-code-push",
3
- "version": "1.0.3-develop.3",
3
+ "version": "1.0.3-develop.5",
4
4
  "description": "React Native plugin for the CodePush service",
5
5
  "main": "CodePush.js",
6
6
  "typings": "typings/react-native-code-push.d.ts",
package/tsconfig.json CHANGED
@@ -2,7 +2,9 @@
2
2
  "compilerOptions": {
3
3
  "target": "ES5",
4
4
  "module": "commonjs",
5
- "lib": ["es6"],
5
+ "lib": [
6
+ "es6"
7
+ ],
6
8
  "noImplicitAny": true,
7
9
  "noEmitOnError": true,
8
10
  "moduleResolution": "node",
@@ -14,4 +16,4 @@
14
16
  "exclude": [
15
17
  "Examples"
16
18
  ]
17
- }
19
+ }
package/tslint.json CHANGED
@@ -2,31 +2,39 @@
2
2
  "defaultSeverity": "error",
3
3
  "rules": {
4
4
  "class-name": true,
5
- "comment-format": [true,
5
+ "comment-format": [
6
+ true,
6
7
  "check-space"
7
8
  ],
8
- "indent": [true,
9
+ "indent": [
10
+ true,
9
11
  "spaces"
10
12
  ],
11
- "one-line": [true,
13
+ "one-line": [
14
+ true,
12
15
  "check-open-brace"
13
16
  ],
14
- "quotemark": [true,
17
+ "quotemark": [
18
+ true,
15
19
  "double"
16
20
  ],
17
21
  "semicolon": true,
18
- "whitespace": [true,
22
+ "whitespace": [
23
+ true,
19
24
  "check-branch",
20
25
  "check-operator",
21
26
  "check-separator",
22
27
  "check-type"
23
28
  ],
24
- "typedef-whitespace": [true, {
25
- "call-signature": "nospace",
26
- "index-signature": "nospace",
27
- "parameter": "nospace",
28
- "property-declaration": "nospace",
29
- "variable-declaration": "nospace"
30
- }]
29
+ "typedef-whitespace": [
30
+ true,
31
+ {
32
+ "call-signature": "nospace",
33
+ "index-signature": "nospace",
34
+ "parameter": "nospace",
35
+ "property-declaration": "nospace",
36
+ "variable-declaration": "nospace"
37
+ }
38
+ ]
31
39
  }
32
- }
40
+ }