embark-area-51/lib/constants.json
emizzle d4d7e3b8ac
Addressed PR comments
*Console.js*
- Moved `DEFAULT_PROCESS` const to outside of the `Console` class (but inside the module).
- Removed `(` and `)` from `.filter` in `getProcessLogs()`.
- Updated comments

*logger.js*
- Moved `dateFormat` and `logRegex` to constants outside of `Logger` class
- Moved the `parseLogFile` method inside of the `Logger` class (ES6 style)
- Added a log limit to the `parseLogFile` method
- Added the log path to the constants file and used inside of `Logger`

*cmd_controller.js*
- Defaulted `this.context` to `[constants.context.any]` in the constructor.
- Changed `’embark’` to split modules`coreProcess` and `loggerApi`.

*engine.js*
- Changed `’embark’` to split modules`coreProcess` and `loggerApi`.
2018-10-23 10:57:04 +02:00

60 lines
1.2 KiB
JSON

{
"httpContractsDirectory": ".embark/contracts/",
"contexts": {
"simulator": "simulator",
"blockchain": "blockchain",
"templateGeneration": "templateGeneration",
"run": "run",
"upload": "upload",
"build": "build",
"console": "console",
"graph": "graph",
"scaffold": "scaffold",
"test": "test",
"reset": "reset",
"any": "any"
},
"process": {
"processLaunchRequest": "process:launch-request",
"processLaunchComplete": "process:launch-complete",
"log": "log",
"events": {
"on": "on",
"request": "request",
"response": "response"
}
},
"pipeline": {
"init": "init",
"build": "build",
"initiated": "initiated",
"built": "built"
},
"blockchain": {
"blockchainReady": "blockchainReady",
"blockchainExit": "blockchainExit",
"init": "init",
"initiated": "initiated",
"servicePortOnProxy": 10,
"networkIds": {
"livenet": 1,
"testnet": 3,
"ropsten": 3,
"rinkeby": 4
}
},
"storage": {
"init": "init",
"initiated": "initiated"
},
"tests": {
"gasLimit": 6000000
},
"codeGenerator": {
"gasLimit": 6000000
},
"logs": {
"logPath": ".embark/logs/"
}
}