File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ Complete your CLA here: <https://code.facebook.com/cla>
4646 git clone git@github.com:yournamehere/graphql-js.git
4747 ```
4848
49- 3 . Update or install all dependencies
49+ 3 . Install or Update all dependencies
5050
5151 ``` sh
52- npm update
52+ npm install
5353 ```
5454
55554 . Get coding! If you've added code, add tests. If you've changed APIs, update
Original file line number Diff line number Diff line change 3434 "cover" : " babel-node node_modules/.bin/isparta cover --root src --report html node_modules/.bin/_mocha -- $npm_package_options_mocha" ,
3535 "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" ,
3636 "preversion" : " npm test" ,
37- "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; "
37+ "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 "
3838 },
3939 "dependencies" : {
4040 "babel-runtime" : " 5.8.3"
4949 "coveralls" : " 2.11.2" ,
5050 "eslint" : " 0.24.0" ,
5151 "flow-bin" : " 0.13.1" ,
52+ "in-publish" : " 2.0.0" ,
5253 "isparta" : " 3.0.3" ,
5354 "minimist" : " 1.1.2" ,
5455 "mocha" : " 2.2.5" ,
You can’t perform that action at this time.
0 commit comments