-
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 passing custom mapEventToContext method
- Loading branch information
Showing
8 changed files
with
34 additions
and
16 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
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 @@ | ||
### NPM Scripts | ||
|
||
- `npm run build` - builds library with rollup | ||
- `npm run test` - unit tests with mocha and report coverage with c8 | ||
- `npm run lint:check` - checks code with eslint, but doesn't make any changes | ||
- `npm run lint` - fixes code issues with eslint | ||
- `npm run release` - lints and builds library, and runs unit tests | ||
|
||
[Back to README.md](../README.md) |
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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{ | ||
"name": "auth0-rule-as-action", | ||
"version": "0.2.7", | ||
"version": "0.3.0", | ||
"description": "Run an Auth0 Rule as an Action", | ||
"author": "Patrick Kubiak <[email protected]>", | ||
"main": "dist/RuleToAction.js", | ||
"scripts": { | ||
"build": "rollup -c ./rollup.config.mjs", | ||
"test": "c8 mocha './test/**/*.test.js'", | ||
"lint:check": "eslint -c ./eslint.config.js ./", | ||
"lint": "eslint -c ./eslint.config.js --fix ./" | ||
"lint": "eslint -c ./eslint.config.js --fix ./", | ||
"release": "npm run lint && npm run build && npm run test" | ||
}, | ||
"devDependencies": { | ||
"@eslint/js": "^9.7.0", | ||
|
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { init } from "./init.mjs"; | ||
import { MapEventToContext } from "./mapEventToContext.mjs"; | ||
import { mapEventToContext } from "./mapEventToContext.mjs"; | ||
import { convert, defaultRuleCallback } from "./convert.mjs"; | ||
|
||
export { | ||
init, | ||
MapEventToContext, | ||
mapEventToContext, | ||
convert, | ||
defaultRuleCallback, | ||
} |
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
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