{"name":"xo-init","version":"0.7.0","description":"Add XO to your project","license":"MIT","repository":{"type":"git","url":"git+https://github.com/xojs/xo-init.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["❤️","init","initialize","add","create","setup","generate","generator","scaffold","xo"],"dependencies":{"arrify":"^1.0.0","execa":"^0.9.0","has-yarn":"^1.0.0","minimist":"^1.1.3","path-exists":"^3.0.0","read-pkg-up":"^3.0.0","the-argv":"^1.0.0","write-pkg":"^3.1.0"},"devDependencies":{"ava":"*","dot-prop":"^4.0.0","temp-write":"^3.3.0","xo":"*"},"gitHead":"008e17e734c16d6fa44ab4f5d0eb24440879e7b7","bugs":{"url":"https://github.com/xojs/xo-init/issues"},"homepage":"https://github.com/xojs/xo-init#readme","_id":"xo-init@0.7.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-mrrCKMu52vz0u2tiOl8DoG709pBtnSp58bb4/j58a4jeXjrb1gV7dxfOBjOlXitYtfW2QnlxxxfAojoFcpynDg==","shasum":"634b4789e366b4f87f747ef0cee1a99ce273aa15","tarball":"http://registry-npm.ywwl.com/xo-init/download/xo-init-0.7.0.tgz","fileCount":4,"unpackedSize":5376,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQ5TUyEOzCYYzADAC8xDNAqkIIxAI6+BnGBelZLBUPSAiEAjTSlHujTs0MVHuwm+LXpYv+rWbEanYeSaAI8Q6EJTRc="}],"size":2734,"noattachment":false,"key":"/xo-init/-/xo-init-0.7.0.tgz"},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xo-init_0.7.0_1518494852646_0.9108957261135098"},"_hasShrinkwrap":false,"readme":"# xo-init [![Build Status](https://travis-ci.org/xojs/xo-init.svg?branch=master)](https://travis-ci.org/xojs/xo-init)\n\n> Add [XO](https://github.com/xojs/xo) to your project\n\n\n## Install\n\n```\n$ npm install xo-init\n```\n\n\n## Usage\n\n```js\nconst xoInit = require('xo-init');\n\nxoInit().then(() => {\n\tconsole.log('done');\n});\n```\n\n\n## API\n\n### xoInit([options])\n\nReturns a `Promise`.\n\n#### options\n\n#### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nCurrent working directory.\n\n#### args\n\nType: `Array`<br>\nDefault: CLI arguments *(`process.argv.slice(2)`)*\n\nOptions to put in [XO's config](https://www.npmjs.com/package/xo#config) in `package.json`.\n\nFor instance, with the arguments `['--space', '--env=node']` the following will be put in `package.json`:\n\n```json\n{\n\t\"name\": \"awesome-package\",\n\t\"xo\": {\n\t\t\"space\": true,\n\t\t\"envs\": [\"node\"]\n\t}\n}\n```\n\n\n## CLI\n\nInstall XO globally `$ npm install --global xo` and run `$ xo --init [<options>]`.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","publish_time":1518494852747,"_cnpm_publish_time":1518494852747,"dist-tags":{"latest":"0.7.0"}}