Skip to content

Commit 7e1be66

Browse files
authored
Update README, update package.json with repo info (#7)
1 parent deab46d commit 7e1be66

File tree

2 files changed

+42
-12
lines changed

2 files changed

+42
-12
lines changed

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# Dropbox OAuth Popup Window
1+
[![Logo][logo]][repo]
2+
23
[![npm](https://img.shields.io/npm/v/dropbox-oauth-popup)](https://www.npmjs.com/package/dropbox-oauth-popup)
34

4-
This is a simple addition built onto the [Dropbox SDK](https://github.com/dropbox/dropbox-sdk-js) that allows for OAuth in the browser to be done via a popup window.
5+
This is a simple addition built onto the [Dropbox SDK][sdk] that allows for OAuth in the browser to be done via a popup window.
56

6-
# Usage
7+
## Usage
78

89
1. Create a new instance of the `DropboxPopup` class
910

@@ -23,7 +24,7 @@ popup.authUser((auth) => {
2324
}
2425
```
2526

26-
# Distributions
27+
## Distributions
2728

2829
If you are using this via a node project compiled into browser assets, you can install via npm
2930

@@ -34,5 +35,14 @@ npm install --save-dev dropbox-oauth-popup
3435
Or you can use it directly in your browser be including the following tag
3536

3637
```
37-
<script src="https://cdn.jsdelivr.net/npm/dropbox-oauth-popup@1.0.0"></script>
38-
```
38+
<script src="https://cdn.jsdelivr.net/npm/dropbox-oauth-popup@1.2.0"></script>
39+
```
40+
41+
## License
42+
43+
This package is distributed under the MIT license, please see [LICENSE][license] for more information.
44+
45+
[logo]: https://repository-images.githubusercontent.com/304185097/6579e180-0fd1-11eb-9d46-91db905a363a
46+
[repo]: https://github.com/rogebrd/dropbox-oauth-popup
47+
[sdk]: https://github.com/dropbox/dropbox-sdk-js
48+
[license]: https://github.com/rogebrd/dropbox-oauth-popup/blob/main/LICENSE

package.json

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "dropbox-oauth-popup",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"registry": "npm",
55
"description": "This is a simple addition built onto the Dropbox SDK that allows for OAuth in the browser to be done via a popup window.",
66
"homepage": "https://github.com/rogebrd/dropbox-oauth-popup",
7+
"author": "Brad Rogers <brad12rogers@gmail.com>",
8+
"license": "MIT",
79
"main": "src/dropboxPopup.js",
810
"browser": "dist/dropboxPopup.js",
911
"scripts": {
@@ -12,8 +14,6 @@
1214
"lint": "eslint *.js .",
1315
"lint-fix": "eslint *.js . --fix"
1416
},
15-
"author": "Brad Rogers <brad12rogers@gmail.com>",
16-
"license": "MIT",
1717
"devDependencies": {
1818
"@babel/core": "^7.12.0",
1919
"@babel/preset-env": "^7.12.0",
@@ -28,11 +28,31 @@
2828
"dependencies": {
2929
"dropbox": "^7.1.0"
3030
},
31+
"browserslist": [
32+
"> 0.25%",
33+
"not dead"
34+
],
35+
"files": [
36+
"*.md",
37+
"LICENSE",
38+
"src",
39+
"test",
40+
"dist"
41+
],
3142
"repository": {
3243
"type": "git",
33-
"url": "git+https://github.com/rogebrd/dropbox-oauth-popup.git"
44+
"url": "https://github.com/rogebrd/dropbox-oauth-popup.git"
3445
},
3546
"bugs": {
3647
"url": "https://github.com/rogebrd/dropbox-oauth-popup/issues"
37-
}
38-
}
48+
},
49+
"keywords": [
50+
"dropbox",
51+
"auth",
52+
"oauth",
53+
"popup",
54+
"browser",
55+
"front-end",
56+
"window"
57+
]
58+
}

0 commit comments

Comments
 (0)