{"_id":"@jimdo/serverless-dotenv","_rev":"33-561e30328588e2d32a6afb6d2de66fc3","name":"@jimdo/serverless-dotenv","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"@jimdo/serverless-dotenv","version":"0.1.0","author":{"name":"Henrik Fricke","email":"henrik.fricke@jimdo.com"},"license":"MIT","_id":"@jimdo/serverless-dotenv@0.1.0","maintainers":[{"name":"henrikfricke","email":"henrikfricke@web.de"},{"name":"jimnpm","email":"dev@jimdo.com"},{"name":"sbstjn","email":"mail@sbstjn.com"},{"name":"skrings","email":"soeren.krings@jimdo.com"}],"homepage":"https://github.com/Jimdo/serverless-dotenv","bugs":{"url":"https://github.com/Jimdo/serverless-dotenv/issues"},"dist":{"shasum":"621179161e5866d012170f3fc9635bca305ab7f0","tarball":"https://registry.npmjs.org/@jimdo/serverless-dotenv/-/serverless-dotenv-0.1.0.tgz","integrity":"sha512-RsgeamjOsvmqhdV0s1ciFezhFcjv7cBUxhR/rIYeoH35YvIp7gRfSHWUGVEtkFUi9JzamBQrJE314QmQRevZ1Q==","signatures":[{"sig":"MEYCIQD9EADyBSBd0u4KP9jvc2nLS9NyG3f63PjPNru3jPhkaAIhAPH5+xOUUsDbQBDy12nYwl5VLI4iKQMAyy1kxTIXhgow","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"621179161e5866d012170f3fc9635bca305ab7f0","scripts":{"lint":"$(yarn bin)/standard | $(yarn bin)/snazzy","test":"$(yarn bin)/jest test"},"_npmUser":{"name":"henrikfricke","email":"henrikfricke@web.de"},"standard":{"envs":["node","jest"],"ignore":["node_modules/"]},"repository":{"url":"git+https://github.com/Jimdo/serverless-dotenv.git","type":"git"},"_npmVersion":"2.15.9","description":"serverless plugin to fetch environment variables and write it to a .env file","directories":{},"_nodeVersion":"4.5.0","dependencies":{"mkdirp":"^0.5.1"},"devDependencies":{"jest":"^19.0.2","snazzy":"^6.0.0","standard":"^9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/serverless-dotenv-0.1.0.tgz_1490264044176_0.17983215139247477","host":"packages-12-west.internal.npmjs.com"}},"1.0.0":{"name":"@jimdo/serverless-dotenv","version":"1.0.0","author":{"name":"Henrik Fricke","email":"henrik.fricke@jimdo.com"},"license":"MIT","_id":"@jimdo/serverless-dotenv@1.0.0","maintainers":[{"name":"henrikfricke","email":"henrikfricke@web.de"},{"name":"jimnpm","email":"dev@jimdo.com"},{"name":"sbstjn","email":"mail@sbstjn.com"},{"name":"skrings","email":"soeren.krings@jimdo.com"}],"homepage":"https://github.com/Jimdo/serverless-dotenv","bugs":{"url":"https://github.com/Jimdo/serverless-dotenv/issues"},"dist":{"shasum":"b41b81537b5a0a9ca0cbef7b49417d27480a5ce0","tarball":"https://registry.npmjs.org/@jimdo/serverless-dotenv/-/serverless-dotenv-1.0.0.tgz","integrity":"sha512-b1sWmdfQ7i6mSydn46sq1niQLiUnaIKlWa9bU81WDd57o15unKbON7fcBErML08Aq/bQ5yzqyrMnvqdN4y+E9w==","signatures":[{"sig":"MEYCIQDWpiyAlLXRVu4c18te5I4NKTd+sbu7e5nosgYYATVbFAIhAIP5oVkleyJYF0L1sl8/BVNjydQRgcMK12nczt7oIJUa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2MwSCRA9TVsSAnZWagAAtdcP/RSQZURRuP8ItBknlUZP\npuZ3eANFes6WpIGs7TlN5fRlAtNolPvV29ElWCAEUN4o9ZdG9vQyKB0Z0HqS\nvu+1jNiAg6rsHg35/oLf526HutNPuy1566uLRJ18bt38Y7uISx3R4Y5JMeM1\nn7RVwe4jqEZHwCDPuKCEtBDoAfb/kgmqX+jl9BWofWC/3XwwGh3gMbciHh0h\nFQO0oi/Q5ZmkKWr/j8cHUZ2iWjnPdud3wmT3JjcT0PA4mBotZqPBhl2pEqIw\nLXn78bHYLzI3uKYPoXnmDdnJCGlLpW+LSziLNWhe9dJxHeDoXCdNHYxtOW2V\ntg3yy4/LbK9DOB7Nb1xUPMYADkQlTe2uF0DVZs+4LY4Sab94eAW5p5gJuXeb\n3i/U+33b3rovXo0enEE5BiyQnSlOsQb+c145RUUBoMp8axwdGL1jzKHgufvO\nUGE/7kRUWLq+1r2EwQSkENbGmfg1pUqqCtGwh/4bbLQ0HTnRWRV52Qi+DSXM\nBMBOX5lvGeMWFE6czRlJX1lJEbwJc7mvrH24E4PpxOPHWfYkN9lBx0Zikxwe\nEkzS7I7nwQtzYDOkhqItJvJdpqA41BW1/MX8nboCYTFGOcKNGwDP3IoWje79\nDQLfHLIyyhss7GqfYCEfENSpwbgvqHSTPgLp/JaUEAezanz6jDtVhbuLBkq0\nKBUj\r\n=ogNL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","_from":".","_shasum":"b41b81537b5a0a9ca0cbef7b49417d27480a5ce0","scripts":{"lint":"$(yarn bin)/standard | $(yarn bin)/snazzy","test":"$(yarn bin)/jest test"},"_npmUser":{"name":"henrikfricke","email":"henrikfricke@web.de"},"standard":{"envs":["node","jest"],"ignore":["node_modules/"]},"repository":{"url":"git+https://github.com/Jimdo/serverless-dotenv.git","type":"git"},"_npmVersion":"2.15.9","description":"serverless plugin to fetch environment variables and write it to a .env file","directories":{},"_nodeVersion":"4.5.0","dependencies":{"mkdirp":"^0.5.1"},"devDependencies":{"jest":"^19.0.2","snazzy":"^6.0.0","standard":"^9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/serverless-dotenv-1.0.0.tgz_1490368983954_0.40768959862180054","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2017-03-23T09:02:41.201Z","modified":"2024-10-09T12:51:23.494Z","0.1.1":"2017-03-23T09:02:41.201Z","0.1.2":"2017-03-23T09:12:11.216Z","0.1.3":"2017-03-23T09:36:30.047Z","0.1.6":"2017-03-23T10:04:53.140Z","0.1.0":"2017-03-23T10:14:06.186Z","1.0.0":"2017-03-24T15:23:06.060Z"},"bugs":{"url":"https://github.com/Jimdo/serverless-dotenv/issues"},"author":{"name":"Henrik Fricke","email":"henrik.fricke@jimdo.com"},"license":"MIT","homepage":"https://github.com/Jimdo/serverless-dotenv","repository":{"url":"git+https://github.com/Jimdo/serverless-dotenv.git","type":"git"},"description":"serverless plugin to fetch environment variables and write it to a .env file","maintainers":[{"email":"it-ops@jimdo.com","name":"jimnpm-oncall"},{"email":"dev+jimnpmread@jimdo.com","name":"jimnpmread"},{"email":"dev@jimdo.com","name":"jimnpm"},{"email":"hauke@jimdo.com","name":"partyschaum"},{"email":"mail@mathiswiehl.de","name":"fahrradflucht"}],"readme":"# Serverless Plugin Dotenv\n\n## About the plugin\n\nThis serverless plugin generates a `.env` file based on the environment variables in the `serverless.yml`. The idea is to use this environment variables for further tasks like integration tests etc. It works great with `serverless offline`, so you can start serverless offline, the plugin will hook into the process and create the `.env` file. You will find the `.env` file in the `.serverless` folder of your project.\n\nIt will collect the global environment variables of the poject as well as all environment variables of the functions. It will also add `API_ENDPOINT` and `IS_OFFLINE` to your environment if you run the plugin via `serverless offline`. \n\n## Usage\n\nAdd the npm package to your project:\n\n```bash\n# Via yarn\n$ yarn add @jimdo/serverless-dotenv\n\n# Via npm\n$ npm instal @jimdo/serverless-dotenv --save\n```\n\nAdd the plugin to your `serverless.yml`:\n\n```yaml\nplugins:\n  - '@jimdo/serverless-dotenv'\n```\n\nThat's it! You can now type `serverless dotenv` in your terminal to generate the `.env` file based on your serverless configuration. Alternative you can just start `serverless offline` to generate it.\n\n## Contribution\n\nFeel free to contribute to this project! Our JavaScript is written based on [standardJS](https://standardjs.com). We recommend to use a `standardJS` [plugin](https://standardjs.com/index.html#are-there-text-editor-plugins) for your Editor, but you can also lint your code with `yarn run lint` - respectively `npm run lint`. Please don't forget to add unit and/or integration tests. Thanks <3\n","readmeFilename":"README.md"}