ng-dotenv 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1,7 @@
1
+ require('dotenv').config();
2
+
3
+ module.exports = {
4
+ getEnvironmentVariable: function (variableName) {
5
+ return process.env[variableName];
6
+ }
7
+ };
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ require('dotenv').config();
2
+
3
+ module.exports = {
4
+ getEnvironmentVariable: function (variableName) {
5
+ return process.env[variableName];
6
+ },
7
+ };
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "ng-dotenv",
3
+ "version": "1.0.0",
4
+ "description": "Use process.env into angular project easily",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "build": "babel index.js --out-dir dist"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/divya-chavda/ng-dotenv.git"
13
+ },
14
+ "author": "Divya chavda",
15
+ "license": "ISC",
16
+ "bugs": {
17
+ "url": "https://github.com/divya-chavda/ng-dotenv/issues"
18
+ },
19
+ "homepage": "https://github.com/divya-chavda/ng-dotenv#readme",
20
+ "dependencies": {
21
+ "babel": "^6.23.0"
22
+ },
23
+ "devDependencies": {
24
+ "babel-cli": "^6.26.0"
25
+ }
26
+ }