embark/packages/embark-core/constants.json
emizzle 1e4e6e4758 feat(@embark/storage): Add command service ipfs on/off
Add support for ability to start and stop IPFS via command `service ipfs on/off`.

Add support for `ProcessState.Errored` process state in the `ProcessManager`. This allows for processes being launched and stopped to trigger an error and the resulting process will be in an errored state. Processes in errored states can still attempt to be started and stopped.

`service ipfs on` - starts an IPFS node if not already started. Shows an error if the node is already starting or started.

`service ipfs off` - kills the running IPFS node as long as Embark has started the IPFS process. If the IPFS process was started externally, an error is shown.

return early
2019-05-03 14:52:55 -04:00

102 lines
2.5 KiB
JSON

{
"httpContractsDirectory": ".embark/contracts/",
"console": {
"commandHistorySize": "20"
},
"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",
"webpackDone": "webpackDone"
},
"blockchain": {
"call": "eth_call",
"clients": {
"geth": "geth",
"parity": "parity"
},
"blockchainReady": "blockchainReady",
"blockchainExit": "blockchainExit",
"init": "init",
"initiated": "initiated",
"servicePortOnProxy": 10,
"networkIds": {
"livenet": 1,
"testnet": 3,
"ropsten": 3,
"rinkeby": 4,
"development": 1337,
"development_parity": 17
},
"gasAllowanceError": "Returned error: gas required exceeds allowance or always failing transaction",
"gasAllowanceErrorMessage": "Failing call, this could be because of invalid inputs or function guards that may have been triggered, or an unknown error.",
"transactionMethods": {
"eth_sendTransaction": "eth_sendTransaction",
"eth_sendRawTransaction": "eth_sendRawTransaction",
"eth_getTransactionReceipt": "eth_getTransactionReceipt"
}
},
"storage": {
"init": "init",
"initiated": "initiated",
"restart": "restart",
"exit": "storageExit"
},
"codeGenerator": {
"gasLimit": 6000000
},
"logs": {
"logPath": ".embark/logs/",
"maxLogLength": 1500
},
"deploymentStrategy": {
"implicit": "implicit",
"explicit": "explicit"
},
"embarkResourceOrigin": "http://embark",
"ens": {
"whitelist": [
"eth",
"xyz"
]
},
"dappArtifacts": {
"dir": "config",
"blockchain": "blockchain.json",
"storage": "storage.json",
"communication": "communication.json",
"embarkjs": "embarkjs.js",
"embarkjsnode": "embarkjs.node.js",
"contractsJs": "contracts",
"symlinkDir": "modules"
},
"environments": {
"development": "development"
}
}