feat: oidc-client.js based Svelte OidcComponent

follows a pattern similar to @dopry/svelte-auth0,
but uses the more standards compliant oidc-client.js
library.
This commit is contained in:
Darrel O'Pry 2020-05-28 11:29:21 -04:00
commit 4fd62abe31
25 changed files with 7069 additions and 0 deletions

20
.eslintrc.js Normal file
View file

@ -0,0 +1,20 @@
module.exports = {
env: {
browser: true,
node: true,
es6: true,
'cypress/globals': true,
},
extends: ['eslint:recommended', 'plugin:cypress/recommended', 'prettier'],
overrides: [
{
files: '*.svelte',
processor: 'svelte3/svelte3',
},
],
parserOptions: {
ecmaVersion: 2019,
sourceType: 'module',
},
plugins: ['svelte3', 'cypress'],
};