react-native-in-app-debugger 1.0.70 → 1.0.72
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/index.jsx +1 -1
- package/package.json +3 -2
- package/parentDependencies.js +1 -0
- package/postinstall.js +10 -0
package/index.jsx
CHANGED
|
@@ -227,7 +227,7 @@ export default ({
|
|
|
227
227
|
</View>
|
|
228
228
|
<X style={{ marginRight: 5 }} onPress={() => setIsOpen(false)} />
|
|
229
229
|
</View>
|
|
230
|
-
{tab === "
|
|
230
|
+
{tab === "vars" && !!variables && (
|
|
231
231
|
<Variables variables={variables} />
|
|
232
232
|
)}
|
|
233
233
|
{tab === "libs" && <Libs />}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-in-app-debugger",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.72",
|
|
4
4
|
"description": "This library's main usage is to be used by Non-Technical testers during UAT, SIT or any testing phase.",
|
|
5
5
|
"main": "index.jsx",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"
|
|
8
|
+
"deploy": "npm publish --access=public",
|
|
9
|
+
"postinstall": "node postinstall.js"
|
|
9
10
|
},
|
|
10
11
|
"keywords": [
|
|
11
12
|
"debugger"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/postinstall.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const read = (p) => JSON.parse(fs.readFileSync(p, 'utf-8'));
|
|
3
|
+
const parentDependencies = fs.openSync('./parentDependencies.js', 'w');
|
|
4
|
+
fs.writeSync(parentDependencies, '{');
|
|
5
|
+
for (const d in read('../../package.json').dependencies) {
|
|
6
|
+
try {
|
|
7
|
+
fs.writeSync(parentDependencies, `"${d}":"${read(`../${d}/package.json`).version}",`);
|
|
8
|
+
} catch (e) {}
|
|
9
|
+
}
|
|
10
|
+
fs.writeSync(parentDependencies, '}');
|