Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit 6e51f36

Browse files
committed
refactor: client-oauth2 + react-oauth-flow = ❤️
1 parent 4362d97 commit 6e51f36

File tree

4 files changed

+363
-233
lines changed

4 files changed

+363
-233
lines changed

package-lock.json

Lines changed: 45 additions & 133 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "dist/index.js",
66
"scripts": {
77
"build": "babel src -d dist --copy-files",
8+
"dev": "npm run build -- --watch --source-maps inline",
89
"lint": "eslint src",
910
"test": "jest",
1011
"coverage": "npm run test -- --coverage",
@@ -25,6 +26,7 @@
2526
"@babel/preset-env": "^7.10.2",
2627
"@babel/preset-react": "^7.10.1",
2728
"@commitlint/cli": "^8.3.5",
29+
"@commitlint/config-conventional": "^8.3.4",
2830
"babel-eslint": "^10.1.0",
2931
"commitlint-azure-pipelines-cli": "^1.0.3",
3032
"core-js": "^3.6.5",
@@ -39,10 +41,12 @@
3941
"prettier": "^2.0.5"
4042
},
4143
"dependencies": {
42-
"client-oauth2": "^4.3.0",
4344
"prop-types": "^15.7.2",
44-
"query-string": "^6.13.1",
45-
"react": "^16.13.1"
45+
"react": "^16.13.1",
46+
"react-oauth-flow": "^1.2.0"
47+
},
48+
"peerDependencies": {
49+
"client-oauth2": "^4.*"
4650
},
4751
"files": [
4852
"dist/**",

0 commit comments

Comments
 (0)