Skip to content
This repository was archived by the owner on Apr 15, 2023. It is now read-only.

Commit 76d3863

Browse files
committed
Post install message to assist getting setup
1 parent f8772f1 commit 76d3863

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
"description": "A react-native interface for EventSource: Server-Sent Events for iOS",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"postinstall": "scripts/postinstall"
89
},
910
"repository": {
1011
"type": "git",
11-
"url": "github.com:jordanbyron/react-native-event-source.git"
12+
"url": "https://github.com/jordanbyron/react-native-event-source"
1213
},
13-
"author": "Jordan Byron <jordanbyron.com>",
14+
"author": "Jordan Byron <jordan.byron@gmail.com>",
1415
"license": "MIT",
1516
"devDependencies": {
1617
"react-native": "^0.5.0"

scripts/postinstall

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env sh
2+
3+
echo "----------------------------------------------------------------------"
4+
echo " Thanks for installing react-native-event-source!"
5+
echo "" # Blank line
6+
echo " To finish adding this to your project follow these instructions"
7+
echo "" # Blank line
8+
echo " https://github.com/jordanbyron/react-native-event-source#installing"
9+
echo "----------------------------------------------------------------------"

0 commit comments

Comments
 (0)