-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow any version of the @authress/login library.
- Loading branch information
Showing
5 changed files
with
51 additions
and
624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": [ | ||
"../.eslintrc" | ||
], | ||
"rules": { | ||
"no-loop-func": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { describe, it } from 'mocha'; | ||
import path from 'path'; | ||
import { expect } from 'chai'; | ||
import fs from 'fs-extra'; | ||
import * as url from 'url'; | ||
|
||
// eslint-disable-next-line no-underscore-dangle | ||
const __dirname = url.fileURLToPath(new URL('.', import.meta.url)); | ||
|
||
describe('package.json', () => { | ||
describe('Syntax', () => { | ||
it('Should be valid node', async () => { | ||
const packageJson = await fs.readJSON(path.join(__dirname, '../package.json')); | ||
expect(packageJson.dependencies['@authress/login']).to.eql('*'); | ||
}); | ||
}); | ||
}); |
Oops, something went wrong.