-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vijay Kumar
committed
Sep 28, 2020
1 parent
feda265
commit 73aa9ee
Showing
5 changed files
with
146 additions
and
0 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,76 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
.DS_Store | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# next.js build output | ||
.next | ||
|
||
# --------------- # | ||
# IntelliJ # | ||
# --------------- # | ||
.idea/ | ||
**/*.iml | ||
|
||
# VSCode directory | ||
.vscode | ||
jsconfig.json | ||
|
||
# Executables from pkg if any | ||
*.exe |
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,10 @@ | ||
# LICENSE | ||
|
||
Copyright © 2017 Bill & Melinda Gates Foundation | ||
|
||
The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 | ||
(the "License") and you may not use these files except in compliance with the [License](http://www.apache.org/licenses/LICENSE-2.0). You may obtain a copy of the License at | ||
|
||
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) | ||
|
||
Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the [License](http://www.apache.org/licenses/LICENSE-2.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module.exports = { | ||
verbose: true, | ||
collectCoverageFrom: [ | ||
'**/src/**/**/*.js' | ||
], | ||
coverageThreshold: { | ||
global: { | ||
statements: 95, | ||
functions: 95, | ||
branches: 95, | ||
lines: 95 | ||
} | ||
}, | ||
modulePathIgnorePatterns: [], | ||
testEnvironment: 'node' | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,39 @@ | ||
{ | ||
"name": "ml-testing-toolkit-shared-lib", | ||
"version": "11.0.0", | ||
"description": "Shared library for ml-testing-toolkit re-usable functions", | ||
"main": "index.js", | ||
"pre-commit": [ | ||
"standard" | ||
], | ||
"scripts": { | ||
"start": "node src/index.js", | ||
"standard": "standard", | ||
"test": "npm run test:unit", | ||
"test:unit": "jest --testMatch '**/test/unit/**/*.test.js'", | ||
"test:int": "jest --reporters=default --reporters=jest-junit --testMatch '**/test/integration/**/*.test.js'", | ||
"test:coverage": "jest --coverage --coverageThreshold='{}' --testMatch '**/test/unit/**/*.test.js'", | ||
"test:coverage-check": "jest --coverage --testMatch '**/test/unit/**/*.test.js'", | ||
"test:junit": "jest --reporters=default --reporters=jest-junit --testMatch '**/test/unit/**/*.test.js'", | ||
"test:integration": "./test/integration-runner.sh ", | ||
"cover": "npx nyc --all report --reporter=lcov npm run test", | ||
"lint": "eslint --ignore-path ../.eslintignore .", | ||
"audit:resolve": "SHELL=sh resolve-audit", | ||
"audit:check": "SHELL=sh check-audit", | ||
"dep:check": "npx ncu -e 2", | ||
"dep:update": "npx ncu -u" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/mojaloop/ml-testing-toolkit-shared-lib.git" | ||
}, | ||
"author": "Vijaya Kumar Guthi, ModusBox Inc.", | ||
"contributors": [ | ||
"Vijaya Kumar <[email protected]>" | ||
], | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/mojaloop/ml-testing-toolkit-shared-lib/issues" | ||
}, | ||
"homepage": "https://github.com/mojaloop/ml-testing-toolkit-shared-lib#readme" | ||
} |