{"name":"cerebral-cli-generator","version":"1.4.0","description":"A parser and generator of cerebral logic files, to make your life easier.
Ready for usage in cli's and editor plugins.","main":"lib/index.js","scripts":{"build:babel":"babel ./src --out-dir ./lib","test":"NODE_ENV=test babel-node ./test/index.js","test:coverage":"NODE_ENV=test babel-node ./node_modules/.bin/istanbul cover ./test/index.js","test:coverage:watch":"onchange -i 'src/**/*.js' 'test/specs/**/*.js' -- npm run test:coverage","prepublish":"npm run test && npm run build:babel"},"author":"","license":"ISC","dependencies":{"babylon":"6.9.0","clone":"1.0.2","deep-extend":"0.4.1","editorconfig":"0.13.2","mkdirp":"0.5.1","rc":"1.1.6","season":"5.3.0"},"devDependencies":{"babel-cli":"6.11.4","babel-core":"6.13.2","babel-plugin-transform-dev-warning":"0.1.0","babel-plugin-transform-replace-object-assign":"0.2.1","babel-preset-es2015":"6.13.2","babel-preset-stage-0":"6.5.0","chai":"3.5.0","glob":"7.0.5","istanbul":"1.1.0-alpha.1","mocha":"3.0.2","mock-fs":"3.11.0","onchange":"2.5.0","sinon":"1.17.5"},"gitHead":"1fb23b8b0b46d74e0f20b300ec94f7450f3c1a8f","_id":"cerebral-cli-generator@1.4.0","_shasum":"bd28e719908a6bfa6e5a942ae05ccc48c8749553","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"jeroenverfallie","email":"verfalliejeroen@gmail.com"},"dist":{"shasum":"bd28e719908a6bfa6e5a942ae05ccc48c8749553","tarball":"https://registry.npmmirror.com/cerebral-cli-generator/-/cerebral-cli-generator-1.4.0.tgz","size":9220,"integrity":"sha512-rI/NP/26OR4yyUXiLjgaMDbeVloc918cxFSPfAf97nbfOMnrO9G6qj2/uo9KqwBsS/Zwi1fokCOJ1eLQJ/O6dQ=="},"maintainers":[{"name":"jeroenverfallie","email":"verfalliejeroen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cerebral-cli-generator-1.4.0.tgz_1479457456085_0.6307663631159812"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T07:55:17.917Z","readme":"# cerebral-cli-generator\n\nA parser and generator of cerebral logic files, to make your life easier.
\nReady for usage in cli's and editor plugins.\n\n## The .cerebralrc format\n\nSee detailed docs [here](https://github.com/jeroenverfallie/cerebral-cli-generator/tree/master/docs/config.md).\n\n## The one method API..\n\n### `performOnFile(options)`\n\nOptions consist out of these properties:\n\n- `filePath`(required): The file on which to perform the generation of imports.\n- `config`(default null): A possible config, starting from the `generator` part of the .cerebralrc, is not required. If passed, it can have `useRcFile` to enable the `.cerebralrc` file usage.\n- `write`(default false): Whether to write away the result immediately in the passed filePath.\n- `logger`(default noop): A simple object with a `log` method in case you want some output. (barebones)\n\nThis will return the new generated content of the passed in file. Use this if write is disabled, for example in an atom plugin to perform `atom.editor.setText(...)`\n"}