ng-dotenv 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "ng-dotenv",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Use process.env into angular project easily",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
- "build": "babel index.js --out-dir dist"
8
+ "build": "babel src --out-dir dist"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -22,5 +22,6 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "babel-cli": "^6.26.0"
25
- }
25
+ },
26
+ "types": "src/index.d.ts"
26
27
  }
package/src/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare function getEnvironmentVariable(variableName: string): string;
2
+ export { getEnvironmentVariable };
File without changes