{"_id":"webpack-env","_rev":"9-5b35e2a9f8f0378b3ea6d6d70dca9927","name":"webpack-env","description":"read variables from a .env.js file and make them available to webpack as globals","dist-tags":{"latest":"0.8.0"},"versions":{"0.2.0":{"name":"webpack-env","version":"0.2.0","description":"read variables from a .env.js file and make them available to webpack as globals","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/toastynerd/webpack_env.git"},"keywords":["weback","env"],"author":{"name":"Tyler Morgan","email":"tyler@codefellows.com"},"license":"MIT","bugs":{"url":"https://github.com/toastynerd/webpack_env/issues"},"homepage":"https://github.com/toastynerd/webpack_env#readme","dependencies":{"webpack":"^1.12.2"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"0350ffad629648e56665db8669ae27ffebe169cf","_id":"webpack-env@0.2.0","_shasum":"91eba96b62a09d2748a7ea511b12b38d5eedf4d7","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"toastynerd","email":"tyler@codefellows.com"},"dist":{"shasum":"91eba96b62a09d2748a7ea511b12b38d5eedf4d7","tarball":"https://registry.npmjs.org/webpack-env/-/webpack-env-0.2.0.tgz","integrity":"sha512-TA8R7cksJYEOCwinE+yiQy6yOQVtd9TIhrP/LtAGWYhtqjkVYKhmGFigBbVM/pdFjmjge/dub6PCdiOTZbiNog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7c92wQepRsOwc7FkH7KfQc1rmIkSNNA2Efn0datu80AiAgH36R/Wk+2Z0/Xq0qdsvIWuj+QgnPFqnaYIyu3GThQg=="}]},"maintainers":[{"name":"toastynerd","email":"tyler@codefellows.com"}]},"0.3.0":{"name":"webpack-env","version":"0.3.0","description":"read variables from a .env.js file and make them available to webpack as globals","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/toastynerd/webpack_env.git"},"keywords":["weback","env"],"author":{"name":"Tyler Morgan","email":"tyler@codefellows.com"},"license":"MIT","bugs":{"url":"https://github.com/toastynerd/webpack_env/issues"},"homepage":"https://github.com/toastynerd/webpack_env#readme","dependencies":{"webpack":"^1.12.2"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"de3b2229d908f25fa39098db4827e36205d2bef5","_id":"webpack-env@0.3.0","_shasum":"73a74042f0aa13ca21fbbf112dee3e496c4c4576","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"toastynerd","email":"tyler@codefellows.com"},"dist":{"shasum":"73a74042f0aa13ca21fbbf112dee3e496c4c4576","tarball":"https://registry.npmjs.org/webpack-env/-/webpack-env-0.3.0.tgz","integrity":"sha512-K43RGlbSUm6exF3rj11mNTA8PSWmGvANZxjQTAcsJ+u+zfFAY+nTPBaU4jf9YdpS+vfE71fqzVWzDzYf/rZwBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoXosChvy3lm9oFLo3f8OhgZD4RQbLsYLmezIXxfY2OQIhAP31lmKihcg63KYZRZCVs4LD/eTBkKMsOi/GCwYSvs80"}]},"maintainers":[{"name":"toastynerd","email":"tyler@codefellows.com"}]},"0.4.0":{"name":"webpack-env","version":"0.4.0","description":"read variables from a .env.js file and make them available to webpack as globals","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/toastynerd/webpack_env.git"},"keywords":["weback","env"],"author":{"name":"Tyler Morgan","email":"tyler@codefellows.com"},"license":"MIT","bugs":{"url":"https://github.com/toastynerd/webpack_env/issues"},"homepage":"https://github.com/toastynerd/webpack_env#readme","dependencies":{"webpack":"^1.12.2"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"c3675ae0e24f03b87e7326491b2e4344cead7699","_id":"webpack-env@0.4.0","_shasum":"c100d70ff60c85a4aca521012ba2f6f272a62079","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"toastynerd","email":"tyler@codefellows.com"},"dist":{"shasum":"c100d70ff60c85a4aca521012ba2f6f272a62079","tarball":"https://registry.npmjs.org/webpack-env/-/webpack-env-0.4.0.tgz","integrity":"sha512-GhQ73rcZd36Cy4SMI4stpwlh2dOOqwVjkH1KeyDuDHCDlnqg8JONl5dhhKux1y2JkfMwppkMc29C9nop1H/hGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3V69p6HTquzBV91OvTXsSiSoCDsw+DuW8QKOnu5Lo8AiEA0gYbQtYOWVG3rdkElQTKNDwhlL/kKGoaVbZ/NljoIVQ="}]},"maintainers":[{"name":"toastynerd","email":"tyler@codefellows.com"}]},"0.5.0":{"name":"webpack-env","version":"0.5.0","description":"read variables from a .env.js file and make them available to webpack as globals","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/toastynerd/webpack_env.git"},"keywords":["weback","env"],"author":{"name":"Tyler Morgan","email":"tyler@codefellows.com"},"license":"MIT","bugs":{"url":"https://github.com/toastynerd/webpack_env/issues"},"homepage":"https://github.com/toastynerd/webpack_env#readme","dependencies":{"webpack":"^1.12.2"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"aa0ae0bc9e69ce99f54922baada1fd04751a176e","_id":"webpack-env@0.5.0","_shasum":"9c30fa49373b3c7ce4393a5102c9bc35426bccc8","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"toastynerd","email":"tyler@codefellows.com"},"dist":{"shasum":"9c30fa49373b3c7ce4393a5102c9bc35426bccc8","tarball":"https://registry.npmjs.org/webpack-env/-/webpack-env-0.5.0.tgz","integrity":"sha512-FiYgjiLHLRfv2/pSvgty4Iy1p6TkWBH5s1jboAe6gqgen8Ig5fSG+5Xi42WDDU8cOCyxg0ic3idZeITlTC+fqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbADrTsJewyIiAt4+Qi1YruHLCJY/+nbi6frPmgakToAiBxQYIhNakd6JF/7/aUdAk6opROU/Ge0vyYqNG7nWRi5w=="}]},"maintainers":[{"name":"toastynerd","email":"tyler@codefellows.com"}]},"0.7.0":{"name":"webpack-env","version":"0.7.0","description":"read variables from a .env.js file and make them available to webpack as globals","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/toastynerd/webpack_env.git"},"keywords":["weback","env"],"author":{"name":"Tyler Morgan","email":"tyler@codefellows.com"},"license":"MIT","bugs":{"url":"https://github.com/toastynerd/webpack_env/issues"},"homepage":"https://github.com/toastynerd/webpack_env#readme","dependencies":{"webpack":"^1.12.2"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"06af968b9618b79ad63ce7778a58d7d87c60c475","_id":"webpack-env@0.7.0","_shasum":"4ce5c4c300c1dd3999472613d51087967aaec7d2","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"toastynerd","email":"tyler@codefellows.com"},"dist":{"shasum":"4ce5c4c300c1dd3999472613d51087967aaec7d2","tarball":"https://registry.npmjs.org/webpack-env/-/webpack-env-0.7.0.tgz","integrity":"sha512-fxcD8ZybllSbgXfX6ViAjyGwJF/X7wnt7F7+AhkRYIsVEl0OaJATkjgwB7KChFIfbe0V9MsUfTPmGAuscNK/DQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCkOiVCrUNvVDVcsadvtRbvLshEwTD7NPFHG+vLv4ZTAiBNTx50RDyrIyxqtdtrloli737SEcASXJGRGalSN+75fQ=="}]},"maintainers":[{"name":"toastynerd","email":"tyler@codefellows.com"}]},"0.7.1":{"name":"webpack-env","version":"0.7.1","description":"read variables from a .env.js file and make them available to webpack as globals","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/toastynerd/webpack_env.git"},"keywords":["weback","env"],"author":{"name":"Tyler Morgan","email":"tyler@codefellows.com"},"license":"MIT","bugs":{"url":"https://github.com/toastynerd/webpack_env/issues"},"homepage":"https://github.com/toastynerd/webpack_env#readme","dependencies":{"webpack":"^1.12.2"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"40dc72ccd031d6ea59c5e97606ff51dc947f3f4d","_id":"webpack-env@0.7.1","_shasum":"1ee3bfd0db0df1911e5083909e1e808991cd18f6","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"toastynerd","email":"tyler@codefellows.com"},"dist":{"shasum":"1ee3bfd0db0df1911e5083909e1e808991cd18f6","tarball":"https://registry.npmjs.org/webpack-env/-/webpack-env-0.7.1.tgz","integrity":"sha512-rVZpFStpXVnxAz01EZ0mVMI7yZxgxDZQ6TYBeqR63ZQTJOVIaHI7Wq+Jgp953bQqxMoTJ681DIaXMgOijC+6pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAXTLlY+fzg0W/nZB5sn3X9se15YDBdMsQBTk4SuJp++AiEA6s0zdkrFWNqlixyr3yNvfQi7GTwPXLngYSEr66k8VDg="}]},"maintainers":[{"name":"toastynerd","email":"tyler@codefellows.com"}]},"0.8.0":{"name":"webpack-env","version":"0.8.0","description":"read variables from a .env.js file and make them available to webpack as globals","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/toastynerd/webpack_env.git"},"keywords":["weback","env"],"author":{"name":"Tyler Morgan","email":"tyler@codefellows.com"},"license":"MIT","bugs":{"url":"https://github.com/toastynerd/webpack_env/issues"},"homepage":"https://github.com/toastynerd/webpack_env#readme","dependencies":{"webpack":"^1.12.2"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"5220ee187778d605975225ffa163c85fca79c0d9","_id":"webpack-env@0.8.0","_shasum":"97771b39ccd0e532db1c87d459379c9d7cd887dc","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"toastynerd","email":"tyler@codefellows.com"},"dist":{"shasum":"97771b39ccd0e532db1c87d459379c9d7cd887dc","tarball":"https://registry.npmjs.org/webpack-env/-/webpack-env-0.8.0.tgz","integrity":"sha512-8lmBtxvLD5k20tRtedvCEUSgA/JIBMviD73OithEHJbTcEHbMM/kmmV9hJTWAtqRQAxEURtNf6DrT/glFFE68w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDo9Cza0Kx9grFdzDo7yUtLDHpOfxe34nelUugcqxg3gIgaFjGPpmYsphMJwxq1SGe32NlnwIGO38Vz+sQW2hItwA="}]},"maintainers":[{"name":"toastynerd","email":"tyler@codefellows.com"}]}},"readme":"Webpack Env\n================\n[![Build Status](https://travis-ci.org/toastynerd/webpack_env.svg)](https://travis-ci.org/toastynerd/webpack_env)\n\nWebpack ENV is a webpack plug-in for creating ENV-variable-like globals in webpack.\n\n## Setup\nFirst add Webpack Env as a webpack plug-in, using gulp this would \nlook something like this:\n```js\n//gulpfile.js\nvar gulp = require('gulp');\nvar webpack = require('webpack');\nvar webpackEnv = require('webpack-env');\n\ngulp.task('webpack', function() {\n  return gulp.src('./entry.js')\n    .pipe(webpack({\n      output: {\n        filename: 'bundle.js'\n      },\n      plugins: [webpackEnv]\n    }))\n    .pipe(gulp.dest('build/'));\n});\n```\nCreate a `.env.js` file in the same directory as your gulpfile.js.\nThis file should export an object that contains the eventual globals\nyou want your webpack code to contain:\n```js\nmodule.exports = {\n  SOME_VAR: 'some val'\n}\n```\n\n## Multiple Environments\n\nWeback Env also supports having multiple files for multiple environments.\nTo create a set of Production environment globals, just create a `.production_env.js`\nfile and run gulp with NODE_ENV set to 'production'.\n\n## Keep your secrets out of the repo\n\nBe sure you've added all your `.env` files to your `.gitignore`.\n","maintainers":[{"name":"toastynerd","email":"tyler@codefellows.com"}],"time":{"modified":"2022-06-28T23:51:10.900Z","created":"2015-09-23T21:32:20.784Z","0.2.0":"2015-09-23T21:32:20.784Z","0.3.0":"2015-09-23T22:00:54.744Z","0.4.0":"2015-09-23T22:10:16.321Z","0.5.0":"2015-09-23T22:18:25.598Z","0.7.0":"2015-09-23T22:26:03.937Z","0.7.1":"2015-10-14T20:05:43.690Z","0.8.0":"2015-10-14T20:14:28.461Z"},"homepage":"https://github.com/toastynerd/webpack_env#readme","keywords":["weback","env"],"repository":{"type":"git","url":"git+https://github.com/toastynerd/webpack_env.git"},"author":{"name":"Tyler Morgan","email":"tyler@codefellows.com"},"bugs":{"url":"https://github.com/toastynerd/webpack_env/issues"},"license":"MIT","readmeFilename":"README.md"}