{"name":"tooling","version":"0.9.3","description":"One tooling, No setup.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/egoist/tooling.git"},"author":{"name":"egoist","email":"0x142857@gmail.com","url":"github.com/egoist"},"bin":{"tooling":"./tooling"},"main":"index.js","engines":{"node":">=5.0.0"},"scripts":{"test":"xo && ./tooling build -e example --use react","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"files":["index.js","tooling","commands","lib"],"keywords":["cli","prototype","vue","react","postcss","babel"],"dependencies":{"babel-core":"^6.4.5","babel-loader":"^6.2.0","babel-plugin-transform-runtime":"^6.3.13","babel-preset-es2015":"^6.3.13","babel-preset-react":"^6.3.13","babel-preset-react-hmre":"^1.0.1","babel-preset-stage-0":"^6.3.13","babel-runtime":"^5.8.35","browser-sync":"^2.10.1","browser-sync-webpack-plugin":"^1.0.1","commander":"^2.9.0","css-loader":"^0.23.1","extract-text-webpack-plugin":"^0.9.1","file-loader":"^0.8.5","html-webpack-plugin":"^1.7.0","json-loader":"^0.5.4","npm-install-webpack-plugin":"^2.0.0","object-string":"0.0.1","open":"0.0.5","path-exists":"^2.1.0","postcss-loader":"^0.8.0","precss":"^1.3.0","raw-loader":"^0.5.1","react":"^0.14.5","react-dom":"^0.14.5","rucksack-css":"^0.8.5","style-loader":"^0.13.0","update-notifier":"^0.6.0","url-loader":"^0.5.7","vue":"^1.0.13","vue-hot-reload-api":"^1.2.2","vue-html-loader":"^1.0.0","vue-loader":"^7.5.0","webpack":"^1.12.9","webpack-hot-server":"^0.1.1"},"devDependencies":{"cz-conventional-changelog":"^1.1.5","semantic-release":"^4.3.5","xo":"^0.12.1"},"tooling":{"index":{"title":"tooling index","template":"example/index.template"}},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"xo":{"semicolon":false,"ignores":["example/**","build/**"]},"gitHead":"3c21b3aab09831359a377bc05b8c5afbddb8e10b","bugs":{"url":"https://github.com/egoist/tooling/issues"},"homepage":"https://github.com/egoist/tooling#readme","_id":"tooling@0.9.3","_shasum":"889eba94d401f421aa32ce8f9fec13d3510db4dc","_from":".","_npmVersion":"2.14.17","_nodeVersion":"5.5.0","_npmUser":{"name":"kchan","email":"kchanzen@gmail.com"},"dist":{"shasum":"889eba94d401f421aa32ce8f9fec13d3510db4dc","tarball":"http://registry-npm.ywwl.com/tooling/download/tooling-0.9.3.tgz","integrity":"sha512-PT17usERY8EoQY5uqLBQNUh8EFkwpwMdnuYhAN0znSld/WSOuu251+PK2rA+68rDn5Ee4wX9FwKnJD6eOqwpiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF78nxVE1ouDb5kHsAEprq/i5fzHSfhxcmmH48K/xUTNAiBXnJ9c4eIg06586UXAAEVlT06oxm3OUPYmJMvwB1e1lQ=="}],"size":7035,"noattachment":false,"key":"/tooling/-/tooling-0.9.3.tgz"},"maintainers":[{"name":"kchan","email":"kchanzen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/tooling-0.9.3.tgz_1454489424351_0.6484745643101633"},"directories":{},"readme":"<p align=\"center\">\n  <img src=\"https://rawgit.com/egoist/tooling/master/media/logo.svg\" alt=\"\">\n  <br><strong>tooling</strong> is a universal <br>CLI for any front-end framework.\n</p>\n<br>\n<p align=\"center\"><a href=\"https://npmjs.com/package/tooling\"><img src=\"https://img.shields.io/npm/v/tooling.svg?style=flat\" alt=\"NPM version\"></a> <a href=\"https://npmjs.com/package/tooling\"><img src=\"https://img.shields.io/npm/dm/tooling.svg?style=flat\" alt=\"NPM downloads\"></a> <a href=\"https://circleci.com/gh/egoist/tooling\"><img src=\"https://img.shields.io/circleci/project/egoist/tooling/master.svg?style=flat\" alt=\"Build Status\"></a> <a href=\"https://github.com/egoist/donate\"><img src=\"https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&amp;style=flat\" alt=\"donate\"></a></p>\n\n## Install\n\nRecommend to install `tooling` as devDependency in your project.\n\n```bash\nyarn add tooling --dev\n```\n\nNote that you can execute `./node_modules/.bin/tooling` via `yarn tooling`\n\n## Getting started\n\nFirst populate an entry file `index.js` in your project:\n\n```js\nsetInterval(() => {\n  document.body.innerHTML = new Date()\n}, 1000)\n```\n\n**Development mode:**\n\n```bash\nyarn tooling dev index.js\n```\n\nThen open `http://localhost:4000` and test it out yourself!\n\n**Production mode: (minified and optimized)**\n\n```bash\nyarn tooling build index.js\n```\n\nThen you can deploy generated files in `./dist` folder.\n\n**Build in library mode:**\n\nSimilar to production mode, but it generates a UMD format bundle:\n\n```bash\nyarn tooling build index.js --lib LibraryName\n# then window.LibraryName will also be available\n```\n\nYou may [exclude some modules](/docs/config.md#externals) from your library.\n\n## What's inside?\n\n### Babel\n\nBabel with `babel-preset-latest` for transpiling ES2015+ code, you can override it by providing `.babelrc` in your project root.\n\n### PostCSS\n\nThe Default postcss plugins only contain the `autoprefixer` with `browsers: ['ie > 8', 'last 4 versions']`, you can override it by providing `postcss.config.js` in your project root.\n\n### Static folder\n\nBy default `./static/*` will be copied to `./dist/*`, thus all resource in the `./static` folder can be accessible via `http://localhost:4000/*`.\n\n### Homepage\n\nThe `index.html` for homepage is generated by [html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin), you can check out the default template we use at [lib/template.html](/lib/template.html), you can also populate a `template.html` in project root to override it. The title of homepage is inferred by this order if you have a `package.json`: `pkg.productName > pkg.title`, you can also set this via CLI options `--html.title <title>`, if none is present, it fallbacks to `Tooling App`.\n\n## Config file\n\nYou can keep CLI options here, check out the [docs](/docs/config.md).\n\n## Adapter\n\nAn adapter can mutate the webpack config tooling uses, it can use all options in config file and is often used to adapt specific framework like `react` and `vue`.\n\nCheck out the [docs](/docs/adapter.md) for adapter.\n\n## List of adapters\n\n- [vue](https://github.com/egoist/tooling-vue)\n- [preact](https://github.com/egoist/tooling-preact)\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n\n## Author\n\n**tooling** © [egoist](https://github.com/egoist), Released under the [MIT](./LICENSE) License.<br>\nAuthored and maintained by egoist with help from contributors ([list](https://github.com/egoist/tooling/contributors)).\n\n> [egoistian.com](https://egoistian.com) · GitHub [@egoist](https://github.com/egoist) · Twitter [@rem_rin_rin](https://twitter.com/rem_rin_rin)\n","publish_time":1454489426961,"_cnpm_publish_time":1454489426961,"dist-tags":{"latest":"1.6.0","next":"2.0.0-beta.2"}}