-
Notifications
You must be signed in to change notification settings - Fork 10
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
Showing
4 changed files
with
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:10.16.3 | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }} | ||
- yarn-packages-v1-{{ .Branch }}- | ||
- yarn-packages-v1- | ||
- save_cache: | ||
paths: | ||
- ~/.tmp/yarn | ||
key: yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }} | ||
- run: | ||
name: Install Dependencies | ||
command: yarn | ||
- run: | ||
name: Run lint | ||
command: yarn lint | ||
- run: | ||
name: Run unit tests | ||
command: yarn test --coverage | ||
- store_test_results: | ||
path: coverage | ||
|
||
workflows: | ||
version: 2 | ||
pull-request-build: | ||
jobs: | ||
- build |
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,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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 |
---|---|---|
|
@@ -10,3 +10,4 @@ packages/**/*.d.ts | |
.vscode | ||
.iml | ||
api_docs | ||
.tmp |
32 changes: 16 additions & 16 deletions
32
docs/examples/rx/11_chose_fee_asset_to_pay_tx_fee/package.json
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,18 +1,18 @@ | ||
{ | ||
"name": "06_make_transfer", | ||
"version": "0.2.0", | ||
"description": "Example showing how to make a transfer", | ||
"main": "index.js", | ||
"author": "chevdor", | ||
"license": "MIT", | ||
"scripts": { | ||
"clean": "rimraf node_modules", | ||
"start": "node index.js" | ||
}, | ||
"dependencies": { | ||
"@cennznet/api": "^*" | ||
}, | ||
"devDependencies": { | ||
"rimraf": "^2.6.2" | ||
} | ||
"name": "11_chose_fee_asset_to_pay_tx_fee", | ||
"version": "0.2.0", | ||
"description": "Example showing how to make a transfer", | ||
"main": "index.js", | ||
"author": "chevdor", | ||
"license": "MIT", | ||
"scripts": { | ||
"clean": "rimraf node_modules", | ||
"start": "node index.js" | ||
}, | ||
"dependencies": { | ||
"@cennznet/api": "^*" | ||
}, | ||
"devDependencies": { | ||
"rimraf": "^2.6.2" | ||
} | ||
} |