Skip to content

Commit

Permalink
fix prepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron committed Jul 28, 2015
1 parent d16f75d commit 1c9a2ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ Complete your CLA here: <https://code.facebook.com/cla>
git clone [email protected]:yournamehere/graphql-js.git
```

3. Update or install all dependencies
3. Install or Update all dependencies

```sh
npm update
npm install
```

4. Get coding! If you've added code, add tests. If you've changed APIs, update
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"cover": "babel-node node_modules/.bin/isparta cover --root src --report html node_modules/.bin/_mocha -- $npm_package_options_mocha",
"coveralls": "babel-node node_modules/.bin/isparta cover --root src --report lcovonly node_modules/.bin/_mocha -- $npm_package_options_mocha && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"preversion": "npm test",
"prepublish": "if [ '$CI' = true ]; then babel src --ignore __tests__ --out-dir ./; else echo 'Only CI can publish. Read CONTRIBUTING.md' 1>&2; exit 1; fi;"
"prepublish": "not-in-install && (if [ \"$CI\" = true ]; then babel src --ignore __tests__ --out-dir ./; else echo 'Only CI can publish. Read CONTRIBUTING.md' 1>&2; exit 1; fi) || in-install"
},
"dependencies": {
"babel-runtime": "5.8.3"
Expand All @@ -49,6 +49,7 @@
"coveralls": "2.11.2",
"eslint": "0.24.0",
"flow-bin": "0.13.1",
"in-publish": "2.0.0",
"isparta": "3.0.3",
"minimist": "1.1.2",
"mocha": "2.2.5",
Expand Down

0 comments on commit 1c9a2ff

Please sign in to comment.