Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes Babel Compilation #226

Merged
merged 1 commit into from
Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .babelrc

This file was deleted.

15 changes: 2 additions & 13 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"generators": true,
"modules": true
}
"ecmaVersion": 2018
},
"rules": {
"array-bracket-spacing": [2, "always"],
Expand All @@ -27,11 +21,6 @@
"space-before-blocks": [2, "always"]
},
"env": {
"amd": true,
"es6": true,
"node": true
},
"plugins": [
"babel"
]
}
}
6 changes: 0 additions & 6 deletions .npmignore

This file was deleted.

2 changes: 1 addition & 1 deletion examples/express-demo/server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Express = require('express');
const jwt = require('express-jwt');
const logger = require('debug')('express');
const jwksRsa = require('../../lib');
const jwksRsa = require('../../src');

const jwksHost = process.env.JWKS_HOST;
const audience = process.env.AUDIENCE;
Expand Down
2 changes: 1 addition & 1 deletion examples/hapi-demo/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Hapi = require('hapi');
const good = require('good');
const jwt = require('hapi-auth-jwt2');
const logger = require('debug')('hapi');
const jwksRsa = require('../../lib');
const jwksRsa = require('../../src');

const jwksHost = process.env.JWKS_HOST;
const audience = process.env.AUDIENCE;
Expand Down
2 changes: 1 addition & 1 deletion examples/koa-demo/server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Koa = require('koa');
const Router = require('koa-router');
const jwt = require('koa-jwt');
const jwksRsa = require('../../lib');
const jwksRsa = require('../../src');

const jwksHost = process.env.JWKS_HOST;
const audience = process.env.AUDIENCE;
Expand Down
2 changes: 1 addition & 1 deletion examples/passport-demo/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const logger = require('debug')('express');
const passport = require('passport');
const JwtStrategy = require('passport-jwt').Strategy;
const ExtractJwt = require('passport-jwt').ExtractJwt;
const jwksRsa = require('../../lib');
const jwksRsa = require('../../src');

const jwksHost = process.env.JWKS_HOST;
const audience = process.env.AUDIENCE;
Expand Down
Loading