{"_id":"qa-deployer","_rev":"35-86441775cc8cf85b19cc1b61a32ee600","name":"qa-deployer","description":"Deploy a package to a hosting service for easy review","dist-tags":{"latest":"2.4.0"},"versions":{"0.0.1":{"name":"qa-deployer","version":"0.0.1","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy-github-pull-request-to-modulus":"bin/circleci-deploy-github-pull-request-to-modulus"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","extend":"~1.2.1","minimist":"~0.0.9","request":"~2.33.0"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"_id":"qa-deployer@0.0.1","dist":{"shasum":"6029ecba456ec3a7e402c994643f107f74d04d99","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-0.0.1.tgz","integrity":"sha512-/PTIZ8C6mPA5rGP8zdpxhzHrmulMrz6V9RkoXJeGghEg2wzdUCb3lYtw/8xMgbyY5fqH9cIB0Xyu+XhO9NDdlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu0H0tjZ/sly2oo0ir1M5t/DZTAcYRuvsNP/UiaG6SYgIgJik06E+9ALk9hHSNKzZkhUsiCknttaAU9iLLEeBaM7c="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joanniclaborde","email":"joannic@sparkart.com"},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"}]},"1.0.0":{"name":"qa-deployer","version":"1.0.0","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy-github-pull-request-to-modulus":"bin/circleci-deploy-github-pull-request-to-modulus"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","extend":"~1.2.1","minimist":"~0.0.9","request":"~2.33.0"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"_id":"qa-deployer@1.0.0","dist":{"shasum":"8b0bd4e58468d5963ba19eb8d01bebc4818f78e3","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-1.0.0.tgz","integrity":"sha512-Tm2oGqQot13G65Oa+sZqeugOf2YyDool5MbygkagdQm8B4gnZELwh3lWMpRXGXn1sJXFFrcvu12EoHT7jGnRKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH7xbKHe2Ud5FwyGXUWWkdkLj6JInDXHxK2yiy99K/0RAiBamGZTTjuX08arNEVhQbuUPzWMGy1m63MwFP2mAAleqQ=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joanniclaborde","email":"joannic@sparkart.com"},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"}]},"2.0.0":{"name":"qa-deployer","version":"2.0.0","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy":"bin/circleci-deploy","circleci-deploy-github-pull-request":"bin/circleci-deploy-github-pull-request"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","minimist":"~0.0.9","request":"~2.33.0","s3-site":"SparkartGroupInc/s3-site#remove-extensions-option"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"_id":"qa-deployer@2.0.0","dist":{"shasum":"2b749530acd72b5646decd7ecdeb19d5225f5ce3","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-2.0.0.tgz","integrity":"sha512-Zz0UPYz21OgptG3zK/RM9VXQEMlHayEoK6myFqNQdKZ6LXQlrL5BBZUSczlGvigtjw+r+XB8DF6Lor+Ky5oIaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlIpeu/3POxQWMv3hXZGrgdNmRalz7LyPdbxZmBlkpRQIhAOQo/sE2Z1oIe075TIH8bMb7UxbiYJs1O7oDeD59+UzW"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joanniclaborde","email":"joannic@sparkart.com"},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"}]},"2.0.1":{"name":"qa-deployer","version":"2.0.1","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy":"bin/circleci-deploy","circleci-deploy-github-pull-request":"bin/circleci-deploy-github-pull-request"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","minimist":"~0.0.9","modulus":"^3.0.5","request":"~2.33.0","s3-site":"SparkartGroupInc/s3-site#remove-extensions-option"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"_id":"qa-deployer@2.0.1","dist":{"shasum":"4a28cb10fd6c9c1dff6ae2aa37253f75df93b75e","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-2.0.1.tgz","integrity":"sha512-UJ/IjK72eaf4QDExlNbnEENq9EvzytZDw6xHe6pD0kmwg+M1FN8rFnfIv+a4bT0vXZJpLmqDkNa83RuWWbC5QA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGxJXqO9wIQ1QvTh5IE2JH90pk+fKPHhNcH6Waci9p+gIgKn8kBFtPexSB83XAqmV02Wh1eN2ZknHuQLRzL7lRcWU="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joanniclaborde","email":"joannic@sparkart.com"},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"}]},"2.1.0":{"name":"qa-deployer","version":"2.1.0","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy":"bin/circleci-deploy","circleci-deploy-github-pull-request":"bin/circleci-deploy-github-pull-request"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","minimist":"~0.0.9","modulus":"^3.0.5","request":"~2.33.0","s3-site":"SparkartGroupInc/s3-site#remove-extensions-option"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"_id":"qa-deployer@2.1.0","dist":{"shasum":"d4a5966323cb4a4dac25572fa1ae335a89f7c055","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-2.1.0.tgz","integrity":"sha512-+vC6EK1da7sv7BzanhcWuv40V1ncChP5Uj7pKSxNkOrSMfSzTLgyAilM3H3fiHZSwjaW5IQVnHn/E/EbdpCQAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQYgc1qFAED+m4Nm9aAo8+oS2rEkR4NCDteEPCdT9oqAIhAKdOfp45byzUBdvGlsnSEiMVQTmKd4Yiz130E2Qzte3y"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joanniclaborde","email":"joannic@sparkart.com"},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"}]},"2.1.1":{"name":"qa-deployer","version":"2.1.1","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy":"bin/circleci-deploy","circleci-deploy-github-pull-request":"bin/circleci-deploy-github-pull-request"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","minimist":"~0.0.9","modulus":"^3.0.5","request":"~2.33.0","s3-site":"SparkartGroupInc/s3-site#latest-aws-sdk"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"_id":"qa-deployer@2.1.1","dist":{"shasum":"cdeaa24dd2204639f4a33edfa6d6739ecfae55bb","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-2.1.1.tgz","integrity":"sha512-t6F9fkwcBUKM76rLy+fxbNO6JDFjaN2tW0IX7KOZUfyyj3fzL31KIy+jjEKs7JPssxMtRilwt+fi/2f5/H/wZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTRMf4X68Vnqq/7H8GCDAkI29oAtgJcKSHticE/4Y25AiAUZkGCkM9Wr4vmh0ZASlaa3+Cc5sDb9JPodhuTQYrI8A=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joanniclaborde","email":"joannic@sparkart.com"},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"}]},"2.2.0":{"name":"qa-deployer","version":"2.2.0","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy":"bin/circleci-deploy","circleci-deploy-github-pull-request":"bin/circleci-deploy-github-pull-request","circleci-withdraw-closed-github-pull-requests":"bin/circleci-withdraw-closed-github-pull-requests"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"git+https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","aws-sdk":"^2.1.26","minimist":"~0.0.9","modulus":"^3.0.5","request":"~2.33.0","s3-site":"github:sparkartgroupinc/s3-site#latest-aws-sdk"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"_id":"qa-deployer@2.2.0","scripts":{},"_shasum":"498ad23e8ecbbe0c1e95601ae11df53a90a11260","_from":".","_npmVersion":"2.8.4","_nodeVersion":"0.10.22","_npmUser":{"name":"joanniclaborde","email":"joannic@sparkart.com"},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"},{"name":"sparkart","email":"team@sparkart.com"},{"name":"pushred","email":"pushred@gmail.com"}],"dist":{"shasum":"498ad23e8ecbbe0c1e95601ae11df53a90a11260","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-2.2.0.tgz","integrity":"sha512-bomeOz3miEhNXiOJqqtjUUkjKzyOvM2YGF/b2CCprZrMZv3eZ0//Bv2iMB0imUSSQCI63Pyb2fTqfpOsLyLKdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBeFkvCYLb2SHbgm+B9qgYteFkuH+pHfBiOMHi8daTFCAiAHthJwqOMquEz8KnPtlYk/JXqsJgrzIuznikC74n1ZfA=="}]}},"2.2.1":{"name":"qa-deployer","version":"2.2.1","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy":"bin/circleci-deploy","circleci-deploy-github-pull-request":"bin/circleci-deploy-github-pull-request","circleci-withdraw-closed-github-pull-requests":"bin/circleci-withdraw-closed-github-pull-requests"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"git+https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","aws-sdk":"^2.1.26","minimist":"~0.0.9","modulus":"^3.0.5","request":"~2.33.0","s3-site":"github:sparkartgroupinc/s3-site#latest-aws-sdk"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"gitHead":"579773b95ec1ffe189b5d1a65b45a23673a37321","_id":"qa-deployer@2.2.1","scripts":{},"_shasum":"a772e1456e8cb0f55ad4fc7998e733d95f80370d","_from":".","_npmVersion":"2.8.4","_nodeVersion":"0.10.22","_npmUser":{"name":"joanniclaborde","email":"joannic@sparkart.com"},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"},{"name":"sparkart","email":"team@sparkart.com"},{"name":"pushred","email":"pushred@gmail.com"}],"dist":{"shasum":"a772e1456e8cb0f55ad4fc7998e733d95f80370d","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-2.2.1.tgz","integrity":"sha512-4yDhGLFh4bF5c4ybGczl2fzdsLVfjITyCtWco6AHHHMzxz+U7qdyK8v1wtso6LLdJo3LNkqe5p+hKWGE/xUtAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRe8/m1KfDELmxsGNL609uPRC+55h3EjYYq2o61iV9SwIhAI7NqcG4uw/4HTCbn9ey+rqeLZMPgDI6rlvplruvzx6i"}]}},"2.3.0":{"name":"qa-deployer","version":"2.3.0","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy":"bin/circleci-deploy","circleci-deploy-github-pull-request":"bin/circleci-deploy-github-pull-request","circleci-withdraw-closed-github-pull-requests":"bin/circleci-withdraw-closed-github-pull-requests"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"git+https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","aws-sdk":"^2.1.26","minimist":"~0.0.9","modulus":"^3.0.5","request":"~2.33.0","s3-site":"github:sparkartgroupinc/s3-site#latest-aws-sdk"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"gitHead":"add7fbc97f2421ccc002c9dc5537f2da9ea2cce9","_id":"qa-deployer@2.3.0","scripts":{},"_shasum":"6f956809a40f3cfebb6d2771eaabef5b19af98bc","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.10.38","_npmUser":{"name":"sparkart","email":"team@sparkart.com"},"dist":{"shasum":"6f956809a40f3cfebb6d2771eaabef5b19af98bc","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-2.3.0.tgz","integrity":"sha512-pwfOuDfmHamOXEAo17bGv/EoEe1sJlI2/Sgv8jota8IqbU9M2eMsaEZpeLvThhSnxBOGbwEhOH2rKRapxsmCDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+d2hg1f5v/jONo0qKa2WlRBM+nciAycVosG82Y97AQAiAokLtVL2nb3rRC6LetC7BDEl66JGwul25MmLDm/ltJiA=="}]},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"},{"name":"sparkart","email":"team@sparkart.com"},{"name":"pushred","email":"pushred@gmail.com"}]},"2.3.1":{"name":"qa-deployer","version":"2.3.1","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy":"bin/circleci-deploy","circleci-deploy-github-pull-request":"bin/circleci-deploy-github-pull-request","circleci-withdraw-closed-github-pull-requests":"bin/circleci-withdraw-closed-github-pull-requests"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"git+https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","aws-sdk":"^2.1.26","minimist":"~0.0.9","modulus":"^3.0.5","request":"~2.33.0","s3-site":"github:sparkartgroupinc/s3-site#latest-aws-sdk"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"gitHead":"7c10708bdbf70b8198afbf2418aabb5b86975bbb","_id":"qa-deployer@2.3.1","scripts":{},"_shasum":"849c26c840beca55ef7f44de2d2c497cce55aa9a","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.12.2","_npmUser":{"name":"joanniclaborde","email":"joannic@sparkart.com"},"dist":{"shasum":"849c26c840beca55ef7f44de2d2c497cce55aa9a","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-2.3.1.tgz","integrity":"sha512-d8QCVRqm6uU4ltbV1tD8dSFhjvh37/2Sh5PjOoWYVbmIyI1VrOfvBTNvPfQLdDauVoRL14W4BPlWpW80CduquA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDv8JcAfa/u6srUVO+6kDTWIYj4rACgE8qr1zeOQRISfAiEA7IkEtICvE1OTUMUCqDig1KjjM0hBjMtQM+XvwPepDGw="}]},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"},{"name":"sparkart","email":"team@sparkart.com"},{"name":"pushred","email":"pushred@gmail.com"}]},"2.4.0":{"name":"qa-deployer","version":"2.4.0","description":"Deploy a package to a hosting service for easy review","main":"qa-deployer.js","bin":{"circleci-deploy":"bin/circleci-deploy","circleci-deploy-github-pull-request":"bin/circleci-deploy-github-pull-request","circleci-withdraw-closed-github-pull-requests":"bin/circleci-withdraw-closed-github-pull-requests"},"preferGlobal":true,"author":{"name":"pushred","url":"http://www.sparkart.com"},"homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"git+https://github.com/SparkartGroupInc/qa-deployer.git"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT","dependencies":{"async":"~0.8.0","aws-sdk":"^2.1.26","minimist":"~0.0.9","modulus":"^3.8.0","request":"~2.33.0","s3-site":"github:sparkartgroupinc/s3-site#latest-aws-sdk"},"devDependencies":{"nock":"~0.29.2","sinon":"~1.9.1"},"gitHead":"fff3a7e5b6a1d493b4fb17ec1d5bac601b7a8346","_id":"qa-deployer@2.4.0","scripts":{},"_shasum":"fa95559e33c9dd8a5de165c10758ec25215df71f","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.2","_npmUser":{"name":"joanniclaborde","email":"joannic@sparkart.com"},"dist":{"shasum":"fa95559e33c9dd8a5de165c10758ec25215df71f","tarball":"https://registry.npmjs.org/qa-deployer/-/qa-deployer-2.4.0.tgz","integrity":"sha512-8KC1Hp2p/Crg+Rkxe0YtpzWiUiMGBXrXN4R/3qrC+x7jVZQP6VnkXciMrStVKpM89i94cpoiO82jHL+kWBOxZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOhmbU3DwCi9pN8gIETw86l005vhl/+BbMrMy5b42wyAIgUB6Vdmq+Sp0JVwfHZ6GbKaV+FUXMlDUJwDAFlo5qKUU="}]},"maintainers":[{"name":"joanniclaborde","email":"joannic@sparkart.com"},{"name":"sparkart","email":"team@sparkart.com"},{"name":"pushred","email":"pushred@gmail.com"}]}},"readme":"# qa-deployer -- Deploy a package to a hosting service for easy review\n\nThis package is used to easily deploy the contents of the current directory to an external service, and then optionally send one or more deployment notification.\n\nThe easiest way to use this package is with a [CLI script](#available-scripts) (or writing your own). The module is used by specifying a deployer and notifiers:\n\n```javascript\nvar qa_deployer = require('qa-deployer');\n\nqa_deployer.deploy({\n  deployer: {\n    service: 'modulus',\n    auth: {username: 'me', password: '12345'},\n    project: 'my-new-feature'\n  },\n  notifiers: [{\n    service: 'github-pull-request',\n    auth: {user: 'me', pass: '12345'},\n    owner: 'SparkartGroupInc',\n    repo: 'qa-deployer',\n    pull_request: 1,\n    comment: function(review_url) {\n      return 'Ready for review at ' + review_url;\n    }\n  }]\n});\n```\n\n## Available Deployers ##\n\n### modulus ###\n\nDeploys the current package to [Modulus](https://modulus.io/).\n\n*Usage*\n\n - `auth` - An object with the Modulus account's `username` and `password`.\n - `project` - The Modulus project where to upload the package. If the project is missing, it will be automatically created. Optional, defaults to the current directory name.\n - `include_modules` - Whether to upload the `node_modules` folder. Optional, defaults to `false`.\n - `env` - An object with environment variables and their values to be set in the Modulus environment.\n\n### s3-static-website ###\n\nDeploys the current directory to [Amazon S3](http://aws.amazon.com/s3/) as a [static website](http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html).\n\n*Usage*\n\n - `s3_options` - An object used to configure the connection to S3. See the `AWS.S3` [documentation](http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#constructor-property).\n - `bucket_name` - The S3 bucket where to upload the files. If the bucket is missing, it will be automatically created and configured to host the static website. Optional, defaults to the current directory name.\n - `region` - The AWS region where the site will be hosted. Optional, defaults to `us-east-1`.\n - `removeExtensions` - List of extensions to remove from uploaded files, for example `['.html', '.htm']`. Optional.\n - `indexDocument` - Default index document when a folder is requested from S3. Optional, defaults to `index.html`.\n\n## Available Notifiers ##\n\n### github-pull-request ###\n\nAdds a comment to the specified [GitHub](https://github.com/) pull request with the deployed URL.\n\n*Usage*\n\n - `auth` - An object with the GitHub account's `user` and `pass`. The `pass` is a [token](https://github.com/blog/1509-personal-api-tokens) which needs to have access to either the `repo` or `public_repo` [scopes](https://developer.github.com/v3/oauth/#scopes).\n - `owner` - The owner of the repo containing the pull request to comment on.\n - `repo` - The repo containing the pull request to comment on.\n - `pull_request` - The pull request number to comment on.\n - `notify_redeploys` - Whether to notify after the first deploy to the deployer service. Optional, defaults to `false`.\n - `comment` - A function called with the `review_url` as an argument, that returns the comment to add. Optional.\n\n### webhook ###\n\nPOSTs the deployed URL to a webhook URL, as JSON.\n\n*Usage*\n\n - `url` - The webhook URL to POST to.\n - `notify_redeploys` - Whether to notify after the first deploy to the deployer service. Optional, defaults to `false`.\n - `method` - HTTP method to use: `get`, `post` or `put`. Optional, defaults to `post`.\n - `headers` - Object of HTTP headers to add to the request. Optional.\n - `body` - A function called with the `review_url` as an argument, that returns the JavaScript object to POST. Optional, defaults to `{review_url: <review_url>}`.\n\n## Available Scripts ##\n\n### circleci-deploy ###\n\nCalled by [CircleCI](https://circleci.com/), it automatically deploys a branch when a commit is made.\n\nThe following deployers are supported, with some usage changes:\n\n - [modulus](#modulus)\n  - `project` - Defaults to the GitHub branch, unless it is `master`.\n - [s3-static-website](#s3-static-website)\n  - `bucket_name` - Defaults to the GitHub organization, repository and branch (`[organization]-[repository]-[branch]`), unless the branch is `master`.\n\nNotifiers can be enabled by adding an options file. This JSON formatted file can contain deployer and notifier options, similar to the module usage above. For example:\n\n```json\n{\n  \"deployer\": {\n    \"service\": \"modulus\",\n    \"include_modules\": true,\n    \"env\": {\n      \"NPM_AUTH_TOKEN\": \"sample-token-value\"\n    }\n  },\n  \"notifiers\": [\n    {\"service\": \"github-pull-request\"},\n    {\"service\": \"webhook\", \"url\": \"http://my-webhook\", \"notify_redeploys\": true}\n  ]\n}\n```\n\nThe file can also be a Node module:\n\n```javascript\nmodule.exports = {\n  deployer: {\n    service: 'modulus',\n    include_modules: true\n  },\n  notifiers: [\n    {service: 'github-pull-request'},\n    {service: 'webhook', url: 'http://my-webhook', notify_redeploys: true}\n  ]\n};\n```\n\n*Usage*\n\nRequired environment variables:\n\n - `GITHUB_USER`\n - `GITHUB_PASS`\n\nWith the `modulus` deployer:\n\n - `MODULUS_USERNAME`\n - `MODULUS_PASSWORD`\n\nWith the `s3-static-website` deployer:\n\n - `AWS_ACCESS_KEY_ID`\n - `AWS_SECRET_ACCESS_KEY`\n\nCommand line options:\n\n - `--deployer=SERVICE` - The deployer to use. Optional, can also be set from the options file.\n - `--options-from=FILE` - Read additional options from FILE.\n\nExample `circle.yml` configuration file:\n\n```yaml\ndependencies:\n  post:\n    - npm install qa-deployer -g\ndeployment:\n  production:\n    branch: master\n    commands:\n      - circleci-deploy --options-from=production-deployer.json\n```\n\n### circleci-deploy-github-pull-request ###\n\nSimilar to the [circleci-deploy](#circleci-deploy) script, but will only deploy when an open GitHub pull request exists for the current branch. If not, the branch will not be deployed, and will be withdrawn from the deployer service instead.\n\nNote: CircleCI will only trigger new builds when a commit is made to an existing pull request. To deploy a branch when a pull request is created (without pushing an extra commit), the [CircleCI API](https://circleci.com/docs/api#new-build) needs to be called. On way to automatically do this is to create a [PullRequestEvent Webhook](https://developer.github.com/v3/activity/events/types/#pullrequestevent) in the GitHub project's settings. This Webhook will POST to a relay service, such as [Zapier](http://www.zapier.com), which will in turn POST to the appropriate CircleCI API URL.\n\nExample `circle.yml` configuration file:\n\n```yaml\ndependencies:\n  post:\n    - npm install qa-deployer -g\ndeployment:\n  qa:\n    branch: /^(?!master$)(.+)/\n    commands:\n      - circleci-deploy-github-pull-request --options-from=qa-deployer.json\n```\n\n### circleci-withdraw-closed-github-pull-requests ###\n\nThe [circleci-deploy-github-pull-request](#circleci-deploy-github-pull-request) script withdraws the current branch from the deployer service when its corresponding GitHub pull request is closed. Unfortunately, CircleCI does not run a build when a branch is deleted, so the withdrawal never happens when a GitHub pull request is closed and its branch is deleted at the same time.\n\nThis script takes care of that missed cleanup: it retrieves a list of all closed GitHub pull requests, and withdraws all matching projects from the deployer service.\n\nExample `circle.yml` configuration file, to cleanup old projects whenever commits are made to `master`:\n\n```yaml\ndependencies:\n  post:\n    - npm install qa-deployer -g\ndeployment:\n  production:\n    branch: master\n    commands:\n      - circleci-deploy --options-from=production-deployer.json\n      - circleci-withdraw-closed-github-pull-requests --options-from=production-deployer.json\n```\n","maintainers":[{"email":"team@sparkart.com","name":"sparkartgroup"},{"email":"joannic@sparkart.com","name":"joanniclaborde"},{"email":"eric@pushred.co","name":"pushred"}],"time":{"modified":"2022-06-25T03:33:59.225Z","created":"2014-05-12T15:38:03.739Z","0.0.1":"2014-05-12T15:38:05.397Z","1.0.0":"2014-11-19T20:04:41.607Z","2.0.0":"2014-12-12T16:59:10.466Z","2.0.1":"2015-01-16T20:19:07.119Z","2.1.0":"2015-02-16T16:25:12.443Z","2.1.1":"2015-03-03T01:23:48.345Z","2.2.0":"2015-05-01T14:28:17.193Z","2.2.1":"2015-05-04T14:20:22.003Z","2.3.0":"2015-05-15T20:26:34.977Z","2.3.1":"2015-05-25T18:55:36.052Z","2.4.0":"2015-07-07T14:40:26.959Z"},"readmeFilename":"README.md","homepage":"https://github.com/SparkartGroupInc/qa-deployer","repository":{"type":"git","url":"git+https://github.com/SparkartGroupInc/qa-deployer.git"},"author":{"name":"pushred","url":"http://www.sparkart.com"},"bugs":{"url":"https://github.com/SparkartGroupInc/qa-deployer/issues"},"license":"MIT"}