{"_id":"@aerisweather/deploy-lambda-function","_rev":"27-73dd5bf103a9d0ea05bec181b2dfaba2","name":"@aerisweather/deploy-lambda-function","dist-tags":{"latest":"1.4.1"},"versions":{"1.0.0":{"name":"@aerisweather/deploy-lambda-function","version":"1.0.0","author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"UNLICENSED","_id":"@aerisweather/deploy-lambda-function@1.0.0","maintainers":[{"name":"eschwartz","email":"edanschwartz@gmail.com"}],"bin":{"deploy-lambda-function":"lib/deploy.js"},"dist":{"shasum":"4f597cbf77b82cb86d173a84b59b2ff169ed9958","tarball":"https://registry.npmjs.org/@aerisweather/deploy-lambda-function/-/deploy-lambda-function-1.0.0.tgz","integrity":"sha512-svGMeWzKr20F68QpN49hFDQjcrmiA828bEAr77lP0DmsjHeaJaXUcZ8pFPjoW2rCh/VdwbER48DdHzsTSUlXsA==","signatures":[{"sig":"MEYCIQCk/8PFFIgaJ6J2WUu/dzX2WQeTSHJ/POC2k1gQzmnaGwIhAMufWk1PvEyBR5Igv5Fzg3xodQjTZ7sspMzmQsezhK/r","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/deploy.js","_from":".","_shasum":"4f597cbf77b82cb86d173a84b59b2ff169ed9958","gitHead":"39251daeb44acd2e255e3820dd18949c7ea8346d","scripts":{"build":"rm -rf ./dist; tsc"},"_npmUser":{"name":"eschwartz","email":"edanschwartz@gmail.com"},"_npmVersion":"3.7.3","description":"Script for deploying code as a lambda function","directories":{},"_nodeVersion":"6.9.1","dependencies":{"dotenv":"^2.0.0","aws-sdk":"^2.7.21","fs-extra":"^1.0.0","typescript":"^2.1.4","@types/node":"^6.0.58","admiral-cli":"^0.12.0","@types/aws-sdk":"0.0.42"},"devDependencies":{"@types/fs-extra":"0.0.36"},"_npmOperationalInternal":{"tmp":"tmp/deploy-lambda-function-1.0.0.tgz_1483741182056_0.9649979623500258","host":"packages-18-east.internal.npmjs.com"}},"1.0.1":{"name":"@aerisweather/deploy-lambda-function","version":"1.0.1","author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"UNLICENSED","_id":"@aerisweather/deploy-lambda-function@1.0.1","maintainers":[{"name":"eschwartz","email":"edanschwartz@gmail.com"},{"name":"four43","email":"seth@four43.com"},{"name":"lhuffmam","email":"lhuffman@aerisweather.com"}],"bin":{"deploy-lambda-function":"lib/deploy.js"},"dist":{"shasum":"222f2d34cc88ddfdebfbbb6678c1f4b45b9994e2","tarball":"https://registry.npmjs.org/@aerisweather/deploy-lambda-function/-/deploy-lambda-function-1.0.1.tgz","integrity":"sha512-phW0v9ApPqTR89RZmV1Yyid0rCxPpFGizExEFw+R3d4elh5AZNq2PNmJSOP7cSMiMoofXpmOdrQATFV4U410NQ==","signatures":[{"sig":"MEUCIFF2VB2nNKWgwV/qLP8VQvRQcQlS5aE54Etor+JFpySAAiEA0V+TnvbHgoEMY470Nq8wmKQyOeb8ewCrohZaz21YlRY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/deploy.js","_from":".","_shasum":"222f2d34cc88ddfdebfbbb6678c1f4b45b9994e2","gitHead":"f77a239d591cb0ef1fec60f036be2ed9cdb6bae0","scripts":{"build":"rm -rf ./dist; tsc"},"_npmUser":{"name":"eschwartz","email":"edanschwartz@gmail.com"},"_npmVersion":"4.0.5","description":"Script for deploying code as a lambda function","directories":{},"_nodeVersion":"6.9.1","dependencies":{"dotenv":"^2.0.0","aws-sdk":"^2.7.21","fs-extra":"^1.0.0","typescript":"^2.1.4","@types/node":"^6.0.58","admiral-cli":"^0.12.0","@types/aws-sdk":"0.0.42"},"devDependencies":{"@types/fs-extra":"0.0.36"},"_npmOperationalInternal":{"tmp":"tmp/deploy-lambda-function-1.0.1.tgz_1483995417593_0.06006216583773494","host":"packages-18-east.internal.npmjs.com"}},"1.1.0":{"name":"@aerisweather/deploy-lambda-function","version":"1.1.0","author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"UNLICENSED","_id":"@aerisweather/deploy-lambda-function@1.1.0","maintainers":[{"name":"eschwartz","email":"edanschwartz@gmail.com"},{"name":"four43","email":"seth@four43.com"},{"name":"lhuffmam","email":"lhuffman@aerisweather.com"}],"bin":{"deploy-lambda-function":"lib/deploy.js"},"dist":{"shasum":"d36e31de9f2df5f96689f7419696750513c1a30f","tarball":"https://registry.npmjs.org/@aerisweather/deploy-lambda-function/-/deploy-lambda-function-1.1.0.tgz","integrity":"sha512-GZBFQILokPRCrslbCpcWStEg7VFxHqFxZrMJXJ2mEvQNUGZjbh73WOJT+sF23zJVkSOuKPojA5b15sPnwS6lAg==","signatures":[{"sig":"MEQCIBjqPsJpa+LDk/Pn9JqZvfy2d0BX3nqt9qNfM2tdQF4OAiB9v7KM0Cd97Cwpdkq4+N8qAyNlt67Vf1o+/4nhzxKxOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/deploy.js","_from":".","_shasum":"d36e31de9f2df5f96689f7419696750513c1a30f","gitHead":"7f8b13cad2a06ccf8a7588ae29d4026b08239877","scripts":{"build":"rm -rf ./dist; tsc"},"_npmUser":{"name":"eschwartz","email":"edanschwartz@gmail.com"},"_npmVersion":"4.0.5","description":"Script for deploying code as a lambda function","directories":{},"_nodeVersion":"6.9.1","dependencies":{"dotenv":"^2.0.0","aws-sdk":"^2.7.21","fs-extra":"^1.0.0","typescript":"^2.1.4","@types/node":"^6.0.58","admiral-cli":"^0.12.0","@types/aws-sdk":"0.0.42","@types/fs-extra":"0.0.36"},"_npmOperationalInternal":{"tmp":"tmp/deploy-lambda-function-1.1.0.tgz_1484067068773_0.610165148973465","host":"packages-18-east.internal.npmjs.com"}},"1.1.1":{"name":"@aerisweather/deploy-lambda-function","version":"1.1.1","author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"MIT","_id":"@aerisweather/deploy-lambda-function@1.1.1","maintainers":[{"name":"eschwartz","email":"edanschwartz@gmail.com"},{"name":"four43","email":"seth@four43.com"},{"name":"lhuffmam","email":"lhuffman@aerisweather.com"}],"bin":{"deploy-lambda-function":"lib/deploy.js"},"dist":{"shasum":"74fc23c88ff57b77f8984e81c435c4bcb30d9342","tarball":"https://registry.npmjs.org/@aerisweather/deploy-lambda-function/-/deploy-lambda-function-1.1.1.tgz","integrity":"sha512-e8tqt+R0vMJd52YyOKo9RO+scyhxyTaIwUnqeBNSG2cRnO3rIohWFFvv6m4bc5pahwD0pmMQ45CK48R6TLsHtw==","signatures":[{"sig":"MEYCIQCdEZHmtY2pBPQPEQ19G/dvbeIcfNVRUjqV/im4CUdZHwIhANS+1vciY7w9tZQZpjtuajUVboiq5lL6BhaxrlWDViFp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/deploy.js","_from":".","_shasum":"74fc23c88ff57b77f8984e81c435c4bcb30d9342","gitHead":"1290441778117c7f99ba5b8c414da2f707c03ac7","scripts":{"build":"rm -rf ./dist; tsc"},"_npmUser":{"name":"eschwartz","email":"edanschwartz@gmail.com"},"_npmVersion":"4.0.5","description":"Script for deploying code as a lambda function","directories":{},"_nodeVersion":"6.9.1","dependencies":{"dotenv":"^2.0.0","aws-sdk":"^2.7.21","fs-extra":"^1.0.0","typescript":"^2.1.4","@types/node":"^6.0.58","admiral-cli":"^0.12.0","@types/aws-sdk":"0.0.42","@types/fs-extra":"0.0.36"},"_npmOperationalInternal":{"tmp":"tmp/deploy-lambda-function-1.1.1.tgz_1484169070137_0.20442168414592743","host":"packages-12-west.internal.npmjs.com"}},"1.2.0":{"name":"@aerisweather/deploy-lambda-function","version":"1.2.0","author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"MIT","_id":"@aerisweather/deploy-lambda-function@1.2.0","maintainers":[{"name":"eschwartz","email":"edanschwartz@gmail.com"},{"name":"four43","email":"seth@four43.com"},{"name":"lhuffmam","email":"lhuffman@aerisweather.com"}],"bin":{"deploy-lambda-function":"bin/deploy-lambda-function.js"},"dist":{"shasum":"1895a6bb79f566a23459799190429cbbbf005734","tarball":"https://registry.npmjs.org/@aerisweather/deploy-lambda-function/-/deploy-lambda-function-1.2.0.tgz","integrity":"sha512-m6aj89bTL6MdyAz6CTM+Yo0nP/IfHlqVR6I4y6Mmqpa/6YoFQZbWm+VVhHCCUBehfgGxgqFXgqFsXewC1/UqLg==","signatures":[{"sig":"MEUCIQC854De3UR1vPG46DIMk6PIo/ZUBHcsXuSnDyUsxd2TOwIgE8D8JFKh5p1bWkL9JvocEQe9ccFGygU9aTlmKw8SkPQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/deployLambdaFunction.js","_from":".","types":"dist/deployLambdaFunction.d.ts","_shasum":"1895a6bb79f566a23459799190429cbbbf005734","gitHead":"56b176db186333b8bab523848eae76fe7d4085cc","scripts":{"build":"rm -rf ./dist; tsc"},"_npmUser":{"name":"eschwartz","email":"edanschwartz@gmail.com"},"_npmVersion":"4.0.5","description":"Script for deploying code as a lambda function","directories":{},"_nodeVersion":"6.9.1","dependencies":{"dotenv":"^2.0.0","aws-sdk":"^2.7.21","fs-extra":"^1.0.0","typescript":"^2.1.4","@types/node":"^6.0.58","admiral-cli":"^0.12.0","@types/aws-sdk":"0.0.42","@types/fs-extra":"0.0.36"},"_npmOperationalInternal":{"tmp":"tmp/deploy-lambda-function-1.2.0.tgz_1485462516860_0.4969976714346558","host":"packages-18-east.internal.npmjs.com"}},"1.2.1":{"name":"@aerisweather/deploy-lambda-function","version":"1.2.1","author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"MIT","_id":"@aerisweather/deploy-lambda-function@1.2.1","maintainers":[{"name":"eschwartz","email":"edanschwartz@gmail.com"},{"name":"four43","email":"seth@four43.com"},{"name":"lhuffmam","email":"lhuffman@aerisweather.com"}],"bin":{"deploy-lambda-function":"bin/deploy-lambda-function.js"},"dist":{"shasum":"2e8632c06075d6866716737d1fd358921eb6fc77","tarball":"https://registry.npmjs.org/@aerisweather/deploy-lambda-function/-/deploy-lambda-function-1.2.1.tgz","integrity":"sha512-w83xoR830CWlXL/lrQ/7n6ThWOEgY33LLPrAdR63Uo22N7UQykBpMe7AEgnJ6AiSB4cObC4VMAbiH3yCAFDmhg==","signatures":[{"sig":"MEQCIBkUSn0ezLVruBocp9UHljYliUNwr0+p6agP77bpiZAvAiAmKj2szq4t8VTl7peIDLE4EchG0El0t8MNtk4+is152g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/deployLambdaFunction.js","_from":".","types":"dist/deployLambdaFunction.d.ts","_shasum":"2e8632c06075d6866716737d1fd358921eb6fc77","gitHead":"2bd42377dea17ce6088fe0f06e8ac27d1e938730","scripts":{"build":"rm -rf ./dist; tsc"},"_npmUser":{"name":"eschwartz","email":"edanschwartz@gmail.com"},"_npmVersion":"4.0.5","description":"Script for deploying code as a lambda function","directories":{},"_nodeVersion":"6.9.1","dependencies":{"dotenv":"^2.0.0","aws-sdk":"^2.7.21","fs-extra":"^1.0.0","typescript":"^2.1.4","@types/node":"^6.0.58","admiral-cli":"^0.12.0","@types/aws-sdk":"0.0.42","@types/fs-extra":"0.0.36"},"_npmOperationalInternal":{"tmp":"tmp/deploy-lambda-function-1.2.1.tgz_1485529654747_0.464653667062521","host":"packages-18-east.internal.npmjs.com"}},"1.2.2":{"name":"@aerisweather/deploy-lambda-function","version":"1.2.2","author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"MIT","_id":"@aerisweather/deploy-lambda-function@1.2.2","maintainers":[{"name":"eschwartz","email":"edanschwartz@gmail.com"},{"name":"four43","email":"seth@four43.com"},{"name":"lhuffmam","email":"lhuffman@aerisweather.com"}],"bin":{"deploy-lambda-function":"bin/deploy-lambda-function.js"},"dist":{"shasum":"b1c9c3fd1f897ed8c394fc642b856714a59ea4a7","tarball":"https://registry.npmjs.org/@aerisweather/deploy-lambda-function/-/deploy-lambda-function-1.2.2.tgz","integrity":"sha512-ZtUghAktjgdAffkOPkw+VHcAKyt6rJYn7ZFKZMrw8niWyHplluwdDkmMmS6yCnHRQQP7anuO9b7Umspjrxj+aQ==","signatures":[{"sig":"MEUCIAQ7CvA09TdytfoYQEu0L7kvgqVyHq7O2H/NRTnsTgGpAiEA8JMVMInoQvwoQ+KUwJQv6Yv0w6AaLfsBjK1S03rYS/8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/deployLambdaFunction.js","_from":".","types":"dist/deployLambdaFunction.d.ts","_shasum":"b1c9c3fd1f897ed8c394fc642b856714a59ea4a7","gitHead":"9009a3bc0e6d87069e41102ee5d69e03f0061f16","scripts":{"build":"rm -rf ./dist; tsc"},"_npmUser":{"name":"eschwartz","email":"edanschwartz@gmail.com"},"_npmVersion":"4.0.5","description":"Script for deploying code as a lambda function","directories":{},"_nodeVersion":"6.9.1","dependencies":{"dotenv":"^2.0.0","aws-sdk":"^2.7.21","fs-extra":"^1.0.0","typescript":"^2.1.4","@types/node":"^6.0.58","admiral-cli":"^0.12.0","@types/aws-sdk":"0.0.42","@types/fs-extra":"0.0.36"},"_npmOperationalInternal":{"tmp":"tmp/deploy-lambda-function-1.2.2.tgz_1485531162739_0.35709579195827246","host":"packages-18-east.internal.npmjs.com"}},"1.3.0":{"name":"@aerisweather/deploy-lambda-function","version":"1.3.0","author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"MIT","_id":"@aerisweather/deploy-lambda-function@1.3.0","maintainers":[{"name":"aerisweather-ci","email":"eschwartz@aerisweather.com"},{"name":"bennyc50","email":"bennyc50@gmail.com"},{"name":"four43","email":"seth@four43.com"},{"name":"lhuffmam","email":"lhuffman@aerisweather.com"},{"name":"lstanley","email":"lstanley@aerisweather.com"},{"name":"u10int","email":"nshipes@urban10.com"}],"bin":{"deploy-lambda-function":"bin/deploy-lambda-function.js"},"dist":{"shasum":"7dc61caa6e27a3430c8ff72ff800c76a440fa83a","tarball":"https://registry.npmjs.org/@aerisweather/deploy-lambda-function/-/deploy-lambda-function-1.3.0.tgz","fileCount":16,"integrity":"sha512-P5/NbMhCQLQqBt/Ek62r01XDrDqkg5ehUSdRIcc/P8j5RfoZ49Iu1xaBTkpnPyNUTE1+inpD/sXS5jg1pO8p/g==","signatures":[{"sig":"MEYCIQDWGUuucaffsJwvETEfUZSt7WTqUTGrDs3pEZkqVmtVKgIhAMPMNalnCDeQMIj9TNT+WTfTILwShguDmS2RjvBf1hbO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeH6PvCRA9TVsSAnZWagAABd8P/1ztJj5D2OUAWz8GVaE0\nakdqlDVI+CCQDfheyWPOZ0+c+KcBDNto0M6qYi2qhPYwT5arq9bh4Z5r9M1F\n9vVGcutJeVDHCnHqrdy3ME4T6uugC1+/QtRIv9046gUZ8o/97ahMG1zKXhU2\nkGJaB9S3Ez5vELhfjl95etYzcNIpxFB7a0qFg0HsZY6Zja9XLc4xB5APsnvw\njfQsGe5cbPP+NZmI3MJD6mBVEi9McesJMgSULUbLnrpGobToTt4aFF/WLBIG\nGniIud5qUct4ey2iJbWdmDRDsCrmxlPDHpexzoTrEhneo/tU1ZOM7jMi5ytp\npxq2Uhdq1YLihuPSAvdk2n+8Skce4yFMPYtfMWMONfNJOyfdYNcrGDaR4EIe\nJnTxTO+ieEtHHtJw7pmdzyFtWmi3uV2Y5/0iqU2HiLwzA66avna0JqJ2x9tu\nvUpHxXRu9yV39hWBieVU7ZSCWrg9JgdLrI1b4W+yB/ZWg/5S0hNoUWO4RxIJ\n5XfP71a6pcT/tVomvZDh+uL7XezYS9CJsNrX/wpGEidL2Zdh1JxuH3MujQla\nfm3Ob8a/qsXTVfPYJttjQfW8lPW1Ntn7Y5Ltwz7lt1P46l8u5SZQklNVs3fS\nIQE2XL+h0W8FR3kCTfPt0eJCSQM0yRTd28XSC1HWrLxyEj5tQOKyQFUJzJ5S\nfGFj\r\n=ObVF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/deployLambdaFunction.js","types":"dist/deployLambdaFunction.d.ts","gitHead":"1a84df8eea0aa98588ed8abe59b5c2788d94a5f9","scripts":{"build":"rm -rf ./dist; tsc"},"_npmUser":{"name":"four43","email":"seth@four43.com"},"_npmVersion":"6.13.4","description":"Script for deploying code as a lambda function","directories":{},"_nodeVersion":"12.14.1","dependencies":{"dotenv":"^8.2.0","aws-sdk":"^2.604.0","fs-extra":"^8.1.0","typescript":"^3.7.4","@types/node":"^13.1.7","admiral-cli":"^0.12.0","@types/aws-sdk":"2.7.0","@types/fs-extra":"8.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/deploy-lambda-function_1.3.0_1579131887439_0.7163982285695749","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@aerisweather/deploy-lambda-function","version":"1.4.0","author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"MIT","_id":"@aerisweather/deploy-lambda-function@1.4.0","maintainers":[{"name":"aerisweather-ci","email":"eschwartz@aerisweather.com"},{"name":"bennyc50","email":"bennyc50@gmail.com"},{"name":"four43","email":"seth@four43.com"},{"name":"lhuffmam","email":"lhuffman@aerisweather.com"},{"name":"lstanley","email":"lstanley@aerisweather.com"},{"name":"u10int","email":"nshipes@urban10.com"}],"bin":{"deploy-lambda-function":"bin/deploy-lambda-function.js"},"dist":{"shasum":"08c615f29c6d17e7396c4cdd85ec6fe40e0828dd","tarball":"https://registry.npmjs.org/@aerisweather/deploy-lambda-function/-/deploy-lambda-function-1.4.0.tgz","fileCount":16,"integrity":"sha512-97hkLe0iF7BIC+X2Z5RnJbraE0oxH44OTD7x1vLQJAh0MMTTabE5M2CiDT0U54bBuiYtHtAAZsnw5LH3lwsyVA==","signatures":[{"sig":"MEUCIQD3HLR9VPFj4vkZwybCwKyjJUxxPOjYqJm74Jr8Ih0UxwIgbkdlVb5Yn+mMPUpSxl3TaD7RMGvGfKtQSJhsitWyBjo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/Q9RCRA9TVsSAnZWagAArGUQAJIc7au6AGN+6HzU2Pvf\nsjkV+eQPAhOHipqLhIaAYs/hM5MYC/G7Eij+fy7OQj4+XFU28Pi2MMkUrF9q\nY7pKgsXp7I4YF0elwolMpT+j9X6CqfZfbyxsAKYepFH1K0d7JzRseuYz5GSg\n4ltU+c4aiZhCMF9tzxBiyVzdnscNzmhXrPAgahQr8F6vmPVWNw8kx18pMTWn\nyAc41K5P0h40bndUhsFOma7t4ksJ58g5Mxj9tcCXJeFLV+xMw6Sz2eG7ckHB\nDOaVwfoyqj7byeMt+BBHquYgv8JSEaOp4ctHZ0IdYo5qey76cixt+LZUNLKr\n8YFAnTj3pNEZWUXBqD++4GAGK+cqDxAPMTQwoF+PBTUUrefOsKSyh9q7J0Oq\nv/VWw2xphDSCPuErtahmecvZX76zZwntyoBdX1cJnuDq7Cdi/HPKKHTZ/1Q7\nc6t/zIkQzriri5FMsPx+y+8M7EzlgGZ9EGbqtg5Vu92qDfeTuWpk8Jv22Tz/\n0BD+UClREl533MJDdn2PuPtOQoWBbvCggXHyKKidAfxu37ckXb9fihgPPUj8\nJ1Dl6M4QjlzvSDt1ICtCty9LKBcKQBv2093vheEiEuZoQoxIDY7O3kXnudv8\n6mJUsTIVabEuzqQuBz5/sCpzlcUNKiP7fc4lW+UbpH/IDalgmnHh/nrlVasE\nREoF\r\n=HouZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/deployLambdaFunction.js","types":"dist/deployLambdaFunction.d.ts","gitHead":"4df6fc35e5c39b069cdce15a8d8f38f61fdd5f1d","scripts":{"build":"rm -rf ./dist; tsc"},"_npmUser":{"name":"four43","email":"seth@four43.com"},"_npmVersion":"6.13.4","description":"Script for deploying code as a lambda function","directories":{},"_nodeVersion":"12.16.1","dependencies":{"dotenv":"^8.2.0","aws-sdk":"^2.604.0","fs-extra":"^8.1.0","typescript":"^3.7.4","@types/node":"^13.1.7","admiral-cli":"^0.12.0","@types/aws-sdk":"2.7.0","@types/fs-extra":"8.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/deploy-lambda-function_1.4.0_1593642832928_0.3909957816101386","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@aerisweather/deploy-lambda-function","version":"1.4.1","author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"MIT","_id":"@aerisweather/deploy-lambda-function@1.4.1","maintainers":[{"name":"noahblon","email":"noahblon@gmail.com"},{"name":"u10int","email":"nshipes@urban10.com"},{"name":"bennyc50","email":"bennyc50@gmail.com"},{"name":"lhuffmam","email":"lhuffman@aerisweather.com"},{"name":"four43","email":"seth@four43.com"},{"name":"aerisweather-ci","email":"eschwartz@aerisweather.com"}],"bin":{"deploy-lambda-function":"bin/deploy-lambda-function.js"},"dist":{"shasum":"915b89ae7db3c755aadd733f88277c234b25ea7f","tarball":"https://registry.npmjs.org/@aerisweather/deploy-lambda-function/-/deploy-lambda-function-1.4.1.tgz","fileCount":16,"integrity":"sha512-NAvRqSEBVtLN+CihH1155NCyK2/zH1Jr3u+N5Xi/zpS9WZNwsewyZvUe/6+rb2aMD3/rVYwil2brUtyoL7zyBg==","signatures":[{"sig":"MEUCIQChsCxUsW2M9+dj1Tve6FhpbjLVxO7HhkmbBtxxmSnnZQIgd0IDSykPjoPNozoWs9s1MSCQsNE24Tv/66tCoEqu49o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihskTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeDg/6A+ejEDimjG/2+pzPKpgWiHINGqYX084ClG8n0AAHVxp4tRxu\r\n3eeGfvx4TnCPd/HBzL1TS1OUl+aRlRywkN10pBX0NRgs+9ezny/cWRIkQbbG\r\n2zUE9BCXRXMKV6pQ0PBKU4QS9MIoMYRsxYH2y9fJt4mIesdJR3zaZqCtVSjM\r\nYQUcC55tB2mQfMBe80tSDLwggkYKIdTfbtA5101p1dh25dGHt+DIBJIdJlkm\r\nj+sFAUVWOFSALZENiiCPEcxvu+DpyZCfM+olGcv21FjSIHNSOhuIeDfbZHdI\r\novGxJaqBtAeWwuCv+EN343yWS044289dfYb0o/P/T8lEIcH9E8LScaL1pX12\r\nPXlFzevbBFsUAt2Slf4Yd001nPfQJ4h8b26SRLWSGcn/We/q+k0EVd8HH+32\r\nKOdYcfwjNDejfI6zKz01lDiP/WeYNI6KdfBfF0JVDujORw9ItFzkTypQgRHA\r\njS/47CgGfYLN3vxvZalxpkD8vtnRNw16/OkH2zxcOOAGs3c8Kvep8W+DEul2\r\np9KVpgjEG8m/ru83K5845EwTdnqSpiwk2YZ5CJH4iLb89D31hUYIBfZfQwyK\r\n+GoQ/grNx0rGiWyWrct2DBcsadKheRCrSzsPYuGlkvevG3uDTuJTaYUtnsbG\r\n7IFJpKePzEwCFFcjXPynkPFTRT/+I55+GxE=\r\n=vOTM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/deployLambdaFunction.js","types":"dist/deployLambdaFunction.d.ts","gitHead":"ba0561ee7ac1b40ff7fdf80a836cc14410d411dd","scripts":{"build":"rm -rf ./dist; tsc"},"_npmUser":{"name":"four43","email":"seth@four43.com"},"_npmVersion":"6.14.16","description":"Script for deploying code as a lambda function","directories":{},"_nodeVersion":"12.22.11","dependencies":{"dotenv":"^8.2.0","aws-sdk":"^2.604.0","fs-extra":"^8.1.0","typescript":"^3.7.4","@types/node":"^13.1.7","admiral-cli":"^0.12.0","@types/aws-sdk":"2.7.0","@types/fs-extra":"8.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/deploy-lambda-function_1.4.1_1653000467188_0.5291967824927057","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-01-06T22:19:42.666Z","modified":"2026-06-18T21:47:11.684Z","1.0.0":"2017-01-06T22:19:42.666Z","1.0.1":"2017-01-09T20:56:58.283Z","1.1.0":"2017-01-10T16:51:09.555Z","1.1.1":"2017-01-11T21:11:12.100Z","1.2.0":"2017-01-26T20:28:37.424Z","1.2.1":"2017-01-27T15:07:35.391Z","1.2.2":"2017-01-27T15:32:43.432Z","1.3.0":"2020-01-15T23:44:47.617Z","1.4.0":"2020-07-01T22:33:53.055Z","1.4.1":"2022-05-19T22:47:47.331Z"},"author":{"name":"Edan Schwartz","email":"eschwartz@aerisweather.com"},"license":"MIT","description":"Script for deploying code as a lambda function","maintainers":[{"email":"nshipes@urban10.com","name":"u10int"},{"email":"bennyc50@gmail.com","name":"bennyc50"},{"email":"lhuffman@aerisweather.com","name":"lhuffmam"},{"email":"seth@four43.com","name":"four43"},{"email":"eschwartz@aerisweather.com","name":"aerisweather-ci"},{"email":"noahblon@gmail.com","name":"noahblon"},{"email":"devops@aerisweather.com","name":"xweather-ci"},{"email":"oliver.alexander@aerisweather.com","name":"oliver.alexander.aw"},{"email":"alexander.stone@vaisala.com","name":"xander-vaisala"}],"readme":"# @aerisweather/deploy-lambda-function\n\nHelper for deploying code to AWS Lambda.\n\n## What does it do\n\n* **Packages** your code into a `zip` file (excludes devDependencies, to keep it small)\n* **Uploads** your code to a lambda function\n* Loads **env vars from S3**, and applies them to your new lambda function version\n* Sets the **IAM role** of your new lambda function version\n* Points an **alias** at your new lambda function version\n\n## Install\n\nInstall via npm:\n\n```\nnpm install --save-dev @aerisweather/deploy-lambda-function\n```\n\n## Usage\n\nFirst, you'll need to setup a `param.json` config files for each deployment environment. For example:\n\n```js\n// params.staging.json\n{\n  // List of directories to include in `zip` file\n  \"srcDirs\": [\"dist/lib\", \"node_modules\"],\n  // Name of your lambda function on AWS\n  \"lambdaFunction\": \"my-lambda-function\",\n  // Location of environment variables on S3\n  \"envFile\": \"s3://my-bucket/env/staging.env\",\n  // The alias you want to point at your lambda function\n  \"lambdaAlias\": \"staging\",\n  // The IAM role you want to give your lambda function\n  \"lambdaRole\": \"arn:aws:iam::ACCOUNT_ID:role/my-lambda-function-staging\",\n  // The region associated with your lambda function (optional, defaults to us-east-1)\n  \"lambdaRegion\": \"us-east-1\"\n}\n```\n\nTo deploy to that environment, run:\n\n```\nnode_modules/.bin/deploy-lambda-function -c ./params.staging.json\n```\n\n### Programmatic Usage\n\nYou can also use this library programmatically, via a node script:\n\n```javascript\nconst deployLambdaFunction = require('@aerisweather/deploy-lambda-function').default;\n\ndeployLambdaFunction({\n  srcDirs: ['dist/lib', 'node_modules'],\n  lambdaFunction: 'my-lambda-function',\n  envFile: 's3://my-bucket/env/staging.env',\n  lambdaAlias: 'staging',\n  lambdaRole: 'arn:aws:iam::ACCOUNT_ID:role/my-lambda-function-staging',\n  lambdaRegion: 'us-east-1'\n})\n```\n\n\n## Example: BitBucket Pipelines\n\nYou can setup BitBucket pipelines to deploy to lambda, using `deploy-lambda-function`.\n\nFor this to work, you'll need to:\n\n* Create `params.json` files for `prod`, `staging`, and `dev`\n* Add the `bitbucket-pipelines.yml` file below to your repo\n\n\n```yaml\n# bitbucket-pipelines.yml\n\n# Run on LambCI's lambda-simulation container,\n# to give an environment that's close to the real deal\nimage: lambci/build-nodejs4.3\n\nclone:\n  depth: 1\n\npipelines:\n  # Default build scripts...\n  default:\n    - step:\n        script:\n          # Configure npm with your NPM_TOKEN\n          # (only required if installing from a private npm registry)\n          - touch .npmrc && echo \"//registry.npmjs.org/:_authToken=${NPM_TOKEN}\" >> .npmrc\n          # Build and test your code\n          - npm install -g npm\n          - npm install\n          - npm run build\n          - npm run test\n\n  # master/staging/development get deployed to lambda\n  branches:\n    master:\n      - step:\n          script:\n            # Configure npm with your NPM_TOKEN\n            # (only required if installing from a private npm registry)\n            - touch .npmrc && echo \"//registry.npmjs.org/:_authToken=${NPM_TOKEN}\" >> .npmrc\n            # Build your code\n            - npm install && npm build && npm test\n            # Deploy to lambda, using prod config\n            - ./node_modules/.bin/deploy-lambda-function -c ./deploy/params.prod.json\n    staging:\n      - step:\n          script:\n            # Configure npm with your NPM_TOKEN\n            # (only required if installing from a private npm registry)\n            - touch .npmrc && echo \"//registry.npmjs.org/:_authToken=${NPM_TOKEN}\" >> .npmrc\n            # Build your code\n            - npm install && npm build && npm test\n            # Deploy to lambda, using staging config\n            - ./node_modules/.bin/deploy-lambda-function -c ./deploy/params.staging.json\n    development:\n      - step:\n          script:\n            # Configure npm with your NPM_TOKEN\n            # (only required if installing from a private npm registry)\n            - touch .npmrc && echo \"//registry.npmjs.org/:_authToken=${NPM_TOKEN}\" >> .npmrc\n            # Build your code\n            - npm install && npm build && npm test\n            # Deploy to lambda, using dev config\n            - ./node_modules/.bin/deploy-lambda-function -c ./deploy/params.dev.json\n```\n\n* Create an IAM user for Pipelines, with an IAM policy like so\n\n```json\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"lambda:PublishVersion\",\n                \"lambda:UpdateAlias\",\n                \"lambda:UpdateFunctionCode\",\n                \"lambda:UpdateFunctionConfiguration\"\n            ],\n            \"Resource\": [\n                \"arn:aws:lambda:ACCOUNT_REGION:ACCOUNT_ID:function:NAME_OF_YOUR_LAMBDA_FUNCTION\"\n            ]\n        }\n    ]\n}\n```\n\n* Assign the IAM role to an IAM user\n* Provide IAM user credentials to Pipelines, via env vars\n* Provide npm credentials to Pipelines, by copying the token from your local `~/.npmrc` to the `NPM_TOKEN` env var in Pipelines\n    * (only required if installing from a private npm registry)","readmeFilename":"README.md"}