Skip to content

Commit

Permalink
Merge pull request #3 from makeomatic/refactor/promisify+reconnect
Browse files Browse the repository at this point in the history
fix: temp postinstall script for amqp-coffee#0.1.27 from git
  • Loading branch information
AVVS committed Jan 15, 2016
2 parents 42c523d + 4c0f8b4 commit 007b3bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"compile": "./node_modules/.bin/babel -d ./lib ./src",
"prepublish": "npm run compile",
"test": "./node_modules/.bin/mocha",
"postinstall": "cd ./node_modules/amqp-coffee/ && npm install",
"postinstall": "./scripts/prepare-amqp-coffee.sh",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
Expand Down
5 changes: 5 additions & 0 deletions scripts/prepare-amqp-coffee.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

cd ../amqp-coffee || cd ./node_modules/amqp-coffee
npm i
npm prune --production

0 comments on commit 007b3bb

Please sign in to comment.