refactor(@embark/ethereum-blockchain-client): move module into own package (#1956)

This commit is contained in:
Eric Mastro 2019-10-16 23:02:05 +09:00 committed by Iuri Matias
parent 3b8f8f9ea7
commit 9b57a912cf
8 changed files with 82 additions and 4 deletions

View File

@ -110,6 +110,7 @@
"embark-ens": "^4.1.1",
"embark-geth": "^4.1.1",
"embark-ganache": "^4.1.1",
"embark-ethereum-blockchain-client": "^4.1.1",
"embark-graph": "^4.1.1",
"embark-i18n": "^4.1.1",
"embark-ipfs": "^4.1.1",
@ -139,14 +140,12 @@
"embark-web3": "^4.1.1",
"embark-webserver": "^4.1.1",
"embark-whisper": "^4.1.1",
"embarkjs": "^4.1.1",
"embarkjs-ens": "^4.1.1",
"embarkjs-ipfs": "^4.1.1",
"embarkjs-swarm": "^4.1.1",
"embarkjs-web3": "^4.1.1",
"embarkjs-whisper": "^4.1.1",
"eth-ens-namehash": "2.0.8",
"ethereumjs-util": "6.0.0",
"ethereumjs-wallet": "0.6.3",
"file-loader": "4.2.0",
"find-up": "2.1.0",
@ -197,7 +196,6 @@
"web3-core-helpers": "1.2.1",
"web3-core-method": "1.2.1",
"web3-core-promievent": "1.2.1",
"web3-core-requestmanager": "1.2.1",
"web3-core-subscriptions": "1.2.1",
"web3-eth": "1.2.1",
"web3-eth-abi": "1.2.1",

View File

@ -214,8 +214,8 @@ class Engine {
}
contractsComponents(_options) {
this.registerModule('ethereum-blockchain-client');
this.registerModulePackage('embark-ganache');
this.registerModulePackage('embark-ethereum-blockchain-client');
this.registerModulePackage('embark-web3');
this.registerModulePackage('embark-accounts-manager');
this.registerModulePackage('embark-specialconfigs', {plugins: this.plugins});

View File

@ -0,0 +1,4 @@
engine-strict = true
package-lock = false
save-exact = true
scripts-prepend-node-path = true

View File

@ -0,0 +1,6 @@
# `embark-ethereum-blockchain-client`
> Ethereum-specific blockchain APIs and contract deployment functions for Embark
Visit [embark.status.im](https://embark.status.im/) to get started with
[Embark](https://github.com/embark-framework/embark).

View File

@ -0,0 +1,70 @@
{
"name": "embark-ethereum-blockchain-client",
"version": "4.1.1",
"author": "Iuri Matias <iuri.matias@gmail.com>",
"contributors": [],
"description": "Ethereum-specific blockchain APIs and contract deployment functions for Embark",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/plugins/ethereum-blockchain-client#readme",
"bugs": "https://github.com/embark-framework/embark/issues",
"keywords": [
"blockchain",
"dapps",
"ethereum",
"ipfs",
"serverless",
"solc",
"solidity"
],
"files": [
"dist"
],
"license": "MIT",
"repository": {
"directory": "packages/plugins/ethereum-blockchain-client",
"type": "git",
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1",
"embarkjs": "^4.1.1",
"ethereumjs-util": "6.0.0",
"web3": "1.2.1",
"web3-core-requestmanager": "1.2.1"
},
"devDependencies": {
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",
"npm": ">=6.4.1",
"yarn": ">=1.12.3"
}
}