mirror of https://github.com/embarklabs/embark.git
refactor(@embark/console-listener): move console_listener into embark-console-listener package
This commit is contained in:
parent
20f1a13ae6
commit
437cc3feed
|
@ -0,0 +1,4 @@
|
||||||
|
engine-strict = true
|
||||||
|
package-lock = false
|
||||||
|
save-exact = true
|
||||||
|
scripts-prepend-node-path = true
|
|
@ -0,0 +1,6 @@
|
||||||
|
# `embark-console-listener`
|
||||||
|
|
||||||
|
> Console listener component for Embark
|
||||||
|
|
||||||
|
Visit [embark.status.im](https://embark.status.im/) to get started with
|
||||||
|
[Embark](https://github.com/embark-framework/embark).
|
|
@ -0,0 +1,69 @@
|
||||||
|
{
|
||||||
|
"name": "embark-console-listener",
|
||||||
|
"version": "4.1.0-beta.0",
|
||||||
|
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
||||||
|
"contributors": [],
|
||||||
|
"description": "Console listener component for Embark",
|
||||||
|
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embark-console-listener#readme",
|
||||||
|
"bugs": "https://github.com/embark-framework/embark/issues",
|
||||||
|
"keywords": [
|
||||||
|
"blockchain",
|
||||||
|
"dapps",
|
||||||
|
"ethereum",
|
||||||
|
"ipfs",
|
||||||
|
"serverless",
|
||||||
|
"solc",
|
||||||
|
"solidity"
|
||||||
|
],
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"repository": {
|
||||||
|
"directory": "packages/embark-console-listener",
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/embark-framework/embark.git"
|
||||||
|
},
|
||||||
|
"main": "./dist/index.js",
|
||||||
|
"scripts": {
|
||||||
|
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
|
||||||
|
"ci": "npm run qa",
|
||||||
|
"clean": "npm run reset",
|
||||||
|
"lint": "npm-run-all lint:*",
|
||||||
|
"lint:js": "eslint src/",
|
||||||
|
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
|
||||||
|
"package": "npm pack",
|
||||||
|
"// qa": "npm-run-all lint typecheck build package",
|
||||||
|
"qa": "npm-run-all lint build package",
|
||||||
|
"reset": "npx rimraf dist embark-*.tgz package",
|
||||||
|
"start": "npm run watch",
|
||||||
|
"// typecheck": "tsc",
|
||||||
|
"watch": "run-p watch:*",
|
||||||
|
"watch:build": "npm run build -- --verbose --watch",
|
||||||
|
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"extends": "../../.eslintrc.json"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/runtime-corejs2": "7.3.1",
|
||||||
|
"async": "2.6.1",
|
||||||
|
"embark-utils": "^4.1.0-beta.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@babel/cli": "7.2.3",
|
||||||
|
"@babel/core": "7.2.2",
|
||||||
|
"cross-env": "5.2.0",
|
||||||
|
"eslint": "5.7.0",
|
||||||
|
"npm-run-all": "4.1.5",
|
||||||
|
"rimraf": "2.6.3",
|
||||||
|
"source-map-support": "0.5.9",
|
||||||
|
"tslint": "5.16.0",
|
||||||
|
"typescript": "3.4.5"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=8.12.0",
|
||||||
|
"npm": ">=6.4.1",
|
||||||
|
"yarn": ">=1.12.3"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.json",
|
||||||
|
"include": ["src/**/*"]
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tslint.json"
|
||||||
|
}
|
|
@ -96,6 +96,7 @@
|
||||||
"embark-code-generator": "^4.1.0-beta.0",
|
"embark-code-generator": "^4.1.0-beta.0",
|
||||||
"embark-compiler": "^4.0.0",
|
"embark-compiler": "^4.0.0",
|
||||||
"embark-console": "^4.1.0-beta.0",
|
"embark-console": "^4.1.0-beta.0",
|
||||||
|
"embark-console-listener": "^4.1.0-beta.0",
|
||||||
"embark-contracts-manager": "^4.1.0-beta.0",
|
"embark-contracts-manager": "^4.1.0-beta.0",
|
||||||
"embark-core": "^4.1.0-beta.0",
|
"embark-core": "^4.1.0-beta.0",
|
||||||
"embark-deployment": "^4.1.0-beta.0",
|
"embark-deployment": "^4.1.0-beta.0",
|
||||||
|
|
|
@ -229,7 +229,7 @@ class Engine {
|
||||||
this.registerModule('deploytracker', {trackContracts: options.trackContracts});
|
this.registerModule('deploytracker', {trackContracts: options.trackContracts});
|
||||||
this.registerModulePackage('embark-specialconfigs');
|
this.registerModulePackage('embark-specialconfigs');
|
||||||
this.registerModulePackage('embark-ens');
|
this.registerModulePackage('embark-ens');
|
||||||
this.registerModule('console_listener', {ipc: self.ipc});
|
this.registerModulePackage('embark-console-listener', {ipc: self.ipc});
|
||||||
this.registerModulePackage('embark-deployment', {plugins: this.plugins, onlyCompile: options.onlyCompile});
|
this.registerModulePackage('embark-deployment', {plugins: this.plugins, onlyCompile: options.onlyCompile});
|
||||||
this.registerModulePackage('embark-transaction-tracker');
|
this.registerModulePackage('embark-transaction-tracker');
|
||||||
this.registerModule('debugger');
|
this.registerModule('debugger');
|
||||||
|
|
|
@ -4,7 +4,7 @@ const sinon = require('sinon');
|
||||||
const Events = require('../../lib/core/events');
|
const Events = require('../../lib/core/events');
|
||||||
const Logger = require('embark-logger');
|
const Logger = require('embark-logger');
|
||||||
import { getAddressToContract } from 'embark-utils';
|
import { getAddressToContract } from 'embark-utils';
|
||||||
const ConsoleListener = require('../../lib/modules/console_listener');
|
const ConsoleListener = require('embark-console-listener');
|
||||||
const IPC = require('../../lib/core/ipc.js');
|
const IPC = require('../../lib/core/ipc.js');
|
||||||
require('colors');
|
require('colors');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue