{"_id":"eb-authenticate-npm","_rev":"240-0e16e4913b67f388a772fcf3ceee4f82","name":"eb-authenticate-npm","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"eb-authenticate-npm","version":"1.0.0","keywords":["eb","elastic","beanstalk","authentication","ebextensions","ebextension"],"author":{"url":"https://mixmax.com","name":"Jeff Wear","email":"jeff@mixmax.com"},"license":"MIT","_id":"eb-authenticate-npm@1.0.0","maintainers":[{"name":"mixmax-aws","email":"admin+mixmax-aws-npm@mixmax.com"}],"homepage":"https://github.com/mixmaxhq/eb-authenticate-npm#readme","bugs":{"url":"https://github.com/mixmaxhq/eb-authenticate-npm/issues"},"dist":{"shasum":"bd8163453ae695cb3812a4c2432b32eb538cdbdd","tarball":"https://registry.npmjs.org/eb-authenticate-npm/-/eb-authenticate-npm-1.0.0.tgz","integrity":"sha512-d3r6vJIFtTuGHvgkv7zdXdaEPvSq//trimfQyFaHhYEZgM2dGs8gO3HBJm3ZDOV7tP/VshBBNp8dd0VRLuVhbg==","signatures":[{"sig":"MEQCIFWpvTxO8y3PvmUxMLPvkvpAdysufKKYxHDPE8igPZjyAiBT2L/FWn6qpgG1+7uFxGC2XZ/cuIL2iwGHLNFfka+Dag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"bd8163453ae695cb3812a4c2432b32eb538cdbdd","gitHead":"081dce737604a5e5ce14816da86d14aa3e1b5323","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"install-files source"},"_npmUser":{"name":"mixmax-aws","email":"admin+mixmax-aws-npm@mixmax.com"},"repository":{"url":"git+https://github.com/mixmaxhq/eb-authenticate-npm.git","type":"git"},"_npmVersion":"2.14.7","description":"Authenticates Elastic Beanstalk environments to npm.","directories":{},"_nodeVersion":"4.2.1","dependencies":{"install-files":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/eb-authenticate-npm-1.0.0.tgz_1470265191920_0.4085147976875305","host":"packages-16-east.internal.npmjs.com"}},"1.0.1":{"name":"eb-authenticate-npm","version":"1.0.1","keywords":["eb","elastic","beanstalk","authentication","ebextensions","ebextension"],"author":{"url":"https://mixmax.com","name":"Jeff Wear","email":"jeff@mixmax.com"},"license":"MIT","_id":"eb-authenticate-npm@1.0.1","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"gaastonsr","email":"gaastonsr@gmail.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"janicelihuang","email":"janice@mixmax.com"},{"name":"jenskene","email":"jen+npm@mixmax.com"},{"name":"liisa","email":"liisa@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"megantinleywilson","email":"megan@mixmax.com"},{"name":"mericsson","email":"mericsson@gmail.com"},{"name":"mixmax-aws","email":"admin+mixmax-aws-npm@mixmax.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"olehpratsko","email":"olehpratsko@webisland.agency"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"homepage":"https://github.com/mixmaxhq/eb-authenticate-npm#readme","bugs":{"url":"https://github.com/mixmaxhq/eb-authenticate-npm/issues"},"dist":{"shasum":"1c4e9aa7a1b3e9441571cde2d3e6295b1c2be051","tarball":"https://registry.npmjs.org/eb-authenticate-npm/-/eb-authenticate-npm-1.0.1.tgz","fileCount":5,"integrity":"sha512-3U5o1StAMl3XAWllhY/OV229WrU0Pr2IP/7Pr+OoO5cP6GOMwzNB5zLH4zyUXK5IZ+vOWTRiQdTYGQJ7lPb5Ig==","signatures":[{"sig":"MEQCICBK6Ji0VU28Vhu9a7i+qBy8aXBpiRa2/98QM5CKehi7AiBUm5SMEDC/97W4knVsjvoi+btDDElQv5xTnaIIAgasGA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3990,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2pKlCRA9TVsSAnZWagAA1ucP/0ntkjd84BRp8cMU3LkZ\ndg92EA9i3D8sSs34d2W6iQIlna6trms1J0+2KFKYlB5OEnpKZU5CetJep49i\nByVnd+XfI9Nolo4PuzHBKBEqLGq3x7MBlOU7yZQIB9dLdLFpzXpOVFBdWQlT\n4iA1A4lgqiVofxYZ3ViJs2zLD2L8GyT1oRJdoHZkwptwEVp01WBp/MIAbtVL\nG6HEEQJmd+MR3nudTXaia3J8PtVAPXICU0GQU3vOzWa9+P9yKHlGQ3+T6c5y\nADHICHXQ7A+TJyIjeisRyUdfTgVBlU5GxuBNxCgqjFzb/KsxM6Lkclb4caV8\n1a4p2jGyADGU5nTY47exo4dlpS/6fwS1m+1vufldq/l7UmWwu1d0kVSsEK9G\njDSrnu8DhGU7QRoTWy2NvSu5O0Q4oIkj822CBssoL9+t7n7LEItyZm4mbBrm\nw4zy94Win9Sq2Fxov2KM8KhTfx1lIO6chZVjiZrEEiI9qdA2YxvCuTRwdY9r\nmgQ07k8cGKTRhUtybtsNlDH6nmt+2MLmKkIk1QqAPAHe7f+D3eUnZEfrGEtm\nbUPQQQ64RbClxLhxjzzZPXNhw1IVxQYWAxuqRGvuWD1C0O+qGxcWL/hvj4JX\nGqT9FFK1C0kfxHY3ilfFXsBJZtf6sNQxh1I44qt6ouRYcV6WKINlWLc1M+6Q\nnbOh\r\n=nIgN\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"34d8d72c9b82ff2938d5190e9850b80bd106baa5","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"install-files source"},"_npmUser":{"name":"gaastonsr","email":"gaastonsr@gmail.com"},"repository":{"url":"git+https://github.com/mixmaxhq/eb-authenticate-npm.git","type":"git"},"_npmVersion":"6.0.0","description":"Authenticates Elastic Beanstalk environments to npm.","directories":{},"_nodeVersion":"8.9.3","dependencies":{"install-files":"^1.1.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/eb-authenticate-npm_1.0.1_1531436645329_0.9854476123013656","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-08-03T22:59:54.204Z","modified":"2026-09-30T12:52:15.916Z","1.0.0":"2016-08-03T22:59:54.204Z","1.0.1":"2018-07-12T23:04:05.388Z"},"bugs":{"url":"https://github.com/mixmaxhq/eb-authenticate-npm/issues"},"author":{"url":"https://mixmax.com","name":"Jeff Wear","email":"jeff@mixmax.com"},"license":"MIT","homepage":"https://github.com/mixmaxhq/eb-authenticate-npm#readme","keywords":["eb","elastic","beanstalk","authentication","ebextensions","ebextension"],"repository":{"url":"git+https://github.com/mixmaxhq/eb-authenticate-npm.git","type":"git"},"description":"Authenticates Elastic Beanstalk environments to npm.","maintainers":[{"email":"mikusdominikcz@gmail.com","name":"mikusd"},{"email":"admin+mixmax-codeship-npm@mixmax.com","name":"mixmax-codeship"},{"email":"jesse@mixmax.com","name":"jessem3"},{"email":"syed.ahmed.anas@gmail.com","name":"ahmed-anas"},{"email":"jordi.salvat.i.alabart@gmail.com","name":"jsalvata"},{"email":"raphael.b.souza@hotmail.com","name":"raphaelbs"},{"email":"it-ops@mixmax.com","name":"mixmax_it"},{"email":"akashbhalla@gmail.com","name":"akashbhalla"},{"email":"jordi.nistal@gmail.com","name":"jordins"},{"email":"amina@mixmax.com","name":"aminao"},{"email":"misterpy@gmail.com","name":"misterpy"},{"email":"pialwlc@gmail.com","name":"mvpia"},{"email":"nirmal@mixmax.com","name":"its-nimo"},{"email":"alexander.k@mixmax.com","name":"kohlhofer_mixmax"},{"email":"jakub@mixmax.com","name":"jtutaj"},{"email":"pedro@mixmax.com","name":"pedro-mixmax"},{"email":"alexander.simovic@gmail.com","name":"simalexan"},{"email":"graham@mixmax.com","name":"grahammixmax"},{"email":"jpdjeredjian@gmail.com","name":"jpdjere"}],"readme":"# eb-authenticate-npm\n\nThis module installs an `.ebextensions` config file that will authenticate\nyour Elastic Beanstalk environments to npm.\n\nThe config file will do this by creating an `.npmrc` that reads the value of the\n`NPM_TOKEN` environment variable. This `.npmrc` file will only be created in\nEB, letting you use whatever authentication strategy you like locally. ([The\nalternative.][check in .npmrc])\n\nBy the way I was really hoping that EB would automatically read `NPM_TOKEN` as\nper [this Stack Overflow answer][wrong answer] but that didn't work for me\n(tested 8/3/2016).\n\n## Installation\n\n1. `npm install eb-authenticate-npm --save-dev` (see [here](https://github.com/mixmaxhq/install-files/blob/master/README.md#installation) for why `--save-dev`)\n2. Commit the `.ebextensions` file it creates.\n3. Set the `NPM_TOKEN` EB environment variable to an npm [authentication token][token].\n4. Deploy.\n\n## Modifying the `.ebextensions` file\n\nThis module will overwrite the file if/when it is updated.\n\nPull requests are welcome if you have some generally-useful modifications to\nsuggest.\n\nIf you'd like to make modifications specific to your use case, you should uninstall\nthis module after installing the `.ebextensions` file. Uninstallation won't take\nthe file with it.\n\n## Thanks/Prior art\n\nThanks to Remy Sharp for [suggesting this strategy][this strategy], and [this\nStack Overflow answer][SO] for helping me figure out where the `.npmrc` needed\nto be written.\n\n[check in .npmrc]: https://remysharp.com/2015/10/26/using-travis-with-private-npm-deps#file-based\n[SO]: http://stackoverflow.com/a/24993093/495611\n[this strategy]: https://remysharp.com/2015/10/26/using-travis-with-private-npm-deps#dynamic\n[token]: https://docs.npmjs.com/private-modules/ci-server-config#getting-an-authentication-token\n[wrong answer]: http://stackoverflow.com/a/37866227/495611\n","readmeFilename":"README.md"}