Skip to content

Commit 407a625

Browse files
authored
Merge pull request #13 from goatandsheep/feature/gh-9
updated with new package naming info
2 parents 0022767 + 8228fdc commit 407a625

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# babel-plugin-dotenv-import [![CircleCI](https://circleci.com/gh/tusbar/babel-plugin-dotenv-import.svg?style=svg)](https://circleci.com/gh/tusbar/babel-plugin-dotenv-import)
1+
# react-native-dotenv [![CircleCI](https://circleci.com/gh/goatandsheep/react-native-dotenv.svg?style=svg)](https://circleci.com/gh/goatandsheep/react-native-dotenv)
22

33
> Load environment variables using `import` statements.
44
5-
[![npm version](https://badgen.net/npm/v/babel-plugin-dotenv-import)](https://www.npmjs.com/package/babel-plugin-dotenv-import)
6-
[![dependencies Status](https://badgen.net/david/dep/tusbar/babel-plugin-dotenv-import)](https://david-dm.org/tusbar/babel-plugin-dotenv-import)
7-
[![codecov](https://badgen.net/codecov/c/github/tusbar/babel-plugin-dotenv-import)](https://codecov.io/gh/tusbar/babel-plugin-dotenv-import)
5+
[![npm version](https://badgen.net/npm/v/react-native-dotenv)](https://www.npmjs.com/package/react-native-dotenv)
6+
[![dependencies Status](https://badgen.net/david/dep/goatandsheep/react-native-dotenv)](https://david-dm.org/goatandsheep/react-native-dotenv)
7+
[![codecov](https://badgen.net/codecov/c/github/goatandsheep/react-native-dotenv)](https://codecov.io/gh/goatandsheep/react-native-dotenv)
88
[![XO code style](https://badgen.net/badge/code%20style/XO/cyan)](https://github.com/xojs/xo)
99

1010
## Installation
1111

1212
```sh
13-
$ npm install babel-plugin-dotenv-import
13+
$ npm install react-native-dotenv
1414
```
1515

1616
## Usage
@@ -133,7 +133,8 @@ Or you can override the default `cacheIdentifier` to include some of your enviro
133133

134134
## Credits
135135

136-
Based on [David Chang](https://github.com/zetachang)’s works on [babel-plugin-dotenv](https://github.com/zetachang/react-native-dotenv/tree/master/babel-plugin-dotenv).
136+
* Based on [David Chang](https://github.com/zetachang)’s works on [babel-plugin-dotenv](https://github.com/zetachang/react-native-dotenv/tree/master/babel-plugin-dotenv).
137+
* Also based on [Bertrand Marron](https://github.com/tusbar)'s works on [babel-plugin-dotenv-import](https://github.com/tusbar/babel-plugin-dotenv-import).
137138

138139
## Miscellaneous
139140

package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "babel-plugin-dotenv-import",
3-
"version": "2.1.0",
2+
"name": "react-native-dotenv",
3+
"version": "1.0.0",
44
"description": "Load environment variables using import statements.",
5-
"repository": "github:tusbar/babel-plugin-dotenv-import",
6-
"homepage": "https://github.com/tusbar/babel-plugin-dotenv-import",
7-
"bugs": "https://github.com/tusbar/babel-plugin-dotenv-import/issues",
5+
"repository": "github:goatandsheep/react-native-dotenv",
6+
"homepage": "https://github.com/goatandsheep/react-native-dotenv",
7+
"bugs": "https://github.com/goatandsheep/react-native-dotenv/issues",
88
"main": "index.js",
99
"scripts": {
1010
"lint": "xo",
@@ -13,7 +13,9 @@
1313
},
1414
"keywords": [
1515
"dotenv",
16-
"babel-plugin"
16+
"babel-plugin",
17+
"react",
18+
"react-native"
1719
],
1820
"dependencies": {
1921
"dotenv": "^8.0.0"
@@ -25,7 +27,7 @@
2527
"jest-junit": "^11.0.1",
2628
"xo": "^0.32.1"
2729
},
28-
"author": "Bertrand Marron",
30+
"author": "Kemal Ahmed",
2931
"license": "MIT",
3032
"jest": {
3133
"testEnvironment": "node",

0 commit comments

Comments
 (0)