-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
Support standard 2PC4BC protocol
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
coverage |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
module.exports = { | ||
env: { | ||
node: true, | ||
mocha: true, | ||
es6: true | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 8, | ||
sourceType: 'script' | ||
}, | ||
extends: "eslint:recommended", | ||
rules: { | ||
indent: ['error', 4], | ||
'linebreak-style': ['error', 'unix'], | ||
quotes: ['error', 'single'], | ||
semi: ['error', 'always'], | ||
'no-unused-vars': ['error', { args: 'none' }], | ||
'no-console': 'off', | ||
curly: 'error', | ||
eqeqeq: 'error', | ||
'no-throw-literal': 'error', | ||
strict: 'error', | ||
'no-var': 'error', | ||
'dot-notation': 'error', | ||
'no-tabs': 'error', | ||
'no-trailing-spaces': 'error', | ||
'no-use-before-define': 'error', | ||
'no-useless-call': 'error', | ||
'no-with': 'error', | ||
'operator-linebreak': 'error', | ||
yoda: 'error', | ||
'quote-props': ['error', 'as-needed'], | ||
'no-constant-condition': ["error", { "checkLoops": false }] | ||
} | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: run api testing | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
api-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install Dependencies | ||
run: npm install | ||
|
||
- name: API testing | ||
run: npm run test |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import globals from "globals"; | ||
|
||
|
||
export default [ | ||
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}}, | ||
{languageOptions: { globals: globals.browser }}, | ||
]; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* @enum | ||
*/ | ||
|