Skip to content

Commit 36ae22d

Browse files
committed
Improve local module development
1 parent 8a1f5cb commit 36ae22d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

example/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
"version": "0.1.3",
44
"private": true,
55
"scripts": {
6-
"start": "node node_modules/react-native/local-cli/cli.js start",
7-
"postinstall": "rm -rf node_modules/react-native-custom-tabs/Example"
6+
"start": "node node_modules/react-native/local-cli/cli.js start"
87
},
98
"dependencies": {
109
"react": "16.3.1",
1110
"react-native": "0.55.4",
12-
"react-native-custom-tabs": "file:.."
11+
"react-native-custom-tabs": "link:.."
1312
},
1413
"devDependencies": {
1514
"@types/react": "^16.4.6",

example/yarn.lock

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3175,8 +3175,9 @@ [email protected]:
31753175
shell-quote "^1.6.1"
31763176
ws "^2.0.3"
31773177

3178-
"react-native-custom-tabs@file:..":
3179-
version "0.1.7"
3178+
"react-native-custom-tabs@link:..":
3179+
version "0.0.0"
3180+
uid ""
31803181

31813182
31823183
version "0.55.4"

0 commit comments

Comments
 (0)