Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

Commit 1d625e8

Browse files
committed
chore(): update build and test configuration
1 parent 8011ff1 commit 1d625e8

File tree

5 files changed

+40
-1
lines changed

5 files changed

+40
-1
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const config = {
2020
globals: {
2121
'ts-jest': {
2222
babelConfig: true,
23+
tsConfig: './tsconfig.test.json',
2324
},
2425
},
2526
testURL: 'http://localhost',

tsconfig.base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"declarationMap": true,
77
"sourceMap": true,
88

9+
"experimentalDecorators": true,
910
"esModuleInterop": true,
1011
"forceConsistentCasingInFileNames": false,
1112
"lib": ["es2015", "es2016", "es2017", "dom"],

tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
},
55
"files": [],
66
"references": [
7+
{"path": "packages/zilliqa-js"},
78
{"path": "packages/zilliqa-js-account"},
9+
{"path": "packages/zilliqa-js-blockchain"},
10+
{"path": "packages/zilliqa-js-contract"},
11+
{"path": "packages/zilliqa-js-core"},
812
{"path": "packages/zilliqa-js-crypto"},
913
{"path": "packages/zilliqa-js-util"}
1014
]

tsconfig.test.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"extends": "./tsconfig.base.json",
3+
"compilerOptions": {
4+
"lib": ["es2015", "es2016", "es2017", "dom"]
5+
},
6+
"files": [],
7+
"references": [
8+
{"path": "packages/zilliqa-js"},
9+
{"path": "packages/zilliqa-js-account"},
10+
{"path": "packages/zilliqa-js-blockchain"},
11+
{"path": "packages/zilliqa-js-contract"},
12+
{"path": "packages/zilliqa-js-core"},
13+
{"path": "packages/zilliqa-js-crypto"},
14+
{"path": "packages/zilliqa-js-util"}
15+
]
16+
}

yarn.lock

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1822,6 +1822,13 @@ aws4@^1.8.0:
18221822
version "1.8.0"
18231823
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
18241824

1825+
axios@^0.18.0:
1826+
version "0.18.0"
1827+
resolved "http://registry.npmjs.org/axios/-/axios-0.18.0.tgz#32d53e4851efdc0a11993b6cd000789d70c05102"
1828+
dependencies:
1829+
follow-redirects "^1.3.0"
1830+
is-buffer "^1.1.5"
1831+
18251832
babel-code-frame@^6.22.0, babel-code-frame@^6.26.0:
18261833
version "6.26.0"
18271834
resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
@@ -2940,7 +2947,7 @@ dateformat@^3.0.0:
29402947
version "3.0.3"
29412948
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae"
29422949

2943-
debug@3.1.0:
2950+
debug@3.1.0, debug@=3.1.0:
29442951
version "3.1.0"
29452952
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
29462953
dependencies:
@@ -3641,6 +3648,12 @@ flush-write-stream@^1.0.0:
36413648
inherits "^2.0.1"
36423649
readable-stream "^2.0.4"
36433650

3651+
follow-redirects@^1.3.0:
3652+
version "1.5.8"
3653+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.5.8.tgz#1dbfe13e45ad969f813e86c00e5296f525c885a1"
3654+
dependencies:
3655+
debug "=3.1.0"
3656+
36443657
for-in@^1.0.1, for-in@^1.0.2:
36453658
version "1.0.2"
36463659
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
@@ -5834,6 +5847,10 @@ mississippi@^3.0.0:
58345847
stream-each "^1.1.0"
58355848
through2 "^2.0.0"
58365849

5850+
mitt@^1.1.3:
5851+
version "1.1.3"
5852+
resolved "https://registry.yarnpkg.com/mitt/-/mitt-1.1.3.tgz#528c506238a05dce11cd914a741ea2cc332da9b8"
5853+
58375854
mixin-deep@^1.2.0:
58385855
version "1.3.1"
58395856
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe"

0 commit comments

Comments
 (0)