-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix tests for "showKey" setting update package version Refactor + added bodyParser to routes refactor builder creation fix tests removed "default" and pass it to require create() now returns the router for better integration. Updated README.md update README.md update README.md update README.md added tests
- Loading branch information
Showing
7 changed files
with
1,296 additions
and
1,134 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 |
---|---|---|
@@ -1,6 +1,26 @@ | ||
{ | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
} | ||
} | ||
"sourceType": "script" | ||
}, | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": "airbnb-base", | ||
"plugins": [ | ||
"mocha" | ||
], | ||
"rules": { | ||
// enable additional rules | ||
"indent": ["error", 4, {"SwitchCase": 1}], | ||
"no-use-before-define": ["error", {"functions": false}], | ||
"prefer-rest-params": "off", | ||
"prefer-spread": "off", | ||
"no-inner-declarations": "off", | ||
"no-underscore-dangle": "off", | ||
"no-param-reassign": "off", | ||
"max-len": ["error", 140], | ||
"mocha/no-exclusive-tests": "error" | ||
} | ||
} |
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,26 @@ | ||
{ | ||
// Use IntelliSense to learn about possible Node.js debug attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Launch Program", | ||
"program": "${workspaceRoot}\\index.js" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run mocha", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"stopOnEntry": false, | ||
"cwd": "${workspaceRoot}", | ||
"args": ["-t", "10000", "--watch", "./test/**/*.*", "--recursive"], | ||
"env": { | ||
"NODE_ENV": "test" | ||
} | ||
} | ||
] | ||
} |
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,2 @@ | ||
{ | ||
} |
Oops, something went wrong.