Skip to content

Commit b9b623d

Browse files
authored
Support installing from branch (#177)
* Install From Branch * Update README.md
1 parent 3572b3d commit b9b623d

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,19 @@ const server = new ParseServer(options);
5959

6060
/* continue with the initialization of parse-server */
6161
```
62+
63+
## Want to ride the bleeding edge?
64+
65+
We recommend using the most recent tagged build published to npm for production. However, you can test not-yet-released versions of the parse-server-push-adapter by referencing specific branches in your `package.json`. For example, to use the master branch:
66+
67+
```
68+
npm install parse-community/parse-server-push-adapter.git#master
69+
```
70+
71+
### Experimenting
72+
73+
You can also use your own forks, and work in progress branches by specifying them:
74+
75+
```
76+
npm install github:myUsername/parse-server-push-adapter#my-awesome-feature
77+
```

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"build": "./node_modules/.bin/babel src/ -d lib/",
1111
"test": "TESTING=1 nyc ./node_modules/.bin/jasmine",
12-
"prepublish": "npm run build"
12+
"prepare": "npm run build"
1313
},
1414
"keywords": [
1515
"parse-server",

0 commit comments

Comments
 (0)