Create api-contract (baseline for useful interactions) (#1007)

* Create api-contract (baseline for useful interactions)

* Add CHANGELOG entry (breaking)
This commit is contained in:
Jaco Greeff
2019-06-14 13:48:53 +02:00
committed by GitHub
parent 6e7a126f4d
commit 4cba24c134
25 changed files with 614 additions and 312 deletions
+2
View File
@@ -2,6 +2,7 @@ const config = require('@polkadot/dev/config/jest');
module.exports = Object.assign({}, config, {
moduleNameMapper: {
'@polkadot/api-contract(.*)$': '<rootDir>/packages/api-contract/src/$1',
'@polkadot/api-derive(.*)$': '<rootDir>/packages/api-derive/src/$1',
'@polkadot/api(.*)$': '<rootDir>/packages/api/src/$1',
'@polkadot/rpc-(core|provider|rx)(.*)$': '<rootDir>/packages/rpc-$1/src/$2',
@@ -13,6 +14,7 @@ module.exports = Object.assign({}, config, {
modulePathIgnorePatterns: [
'<rootDir>/packages/api/build',
'<rootDir>/packages/api-derive/build',
'<rootDir>/packages/api-contract/build',
'<rootDir>/packages/rpc-core/build',
'<rootDir>/packages/rpc-provider/build',
'<rootDir>/packages/rpc-rx/build',