{"name":"tooling","version":"0.16.2","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":">=4.0.0"},"scripts":{"test":"xo && cd example && npm install && ../tooling build"},"files":["index.js","tooling","commands","lib"],"keywords":["cli","prototype","vue","react","postcss","babel"],"dependencies":{"babel-core":"^6.5.2","babel-loader":"^6.2.0","babel-plugin-add-module-exports":"^0.1.2","babel-plugin-transform-runtime":"^6.3.13","babel-polyfill":"^6.5.0","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","cwd":"^0.9.1","deep-assign":"^2.0.0","extract-text-webpack-plugin":"^1.0.1","file-loader":"^0.8.5","html-webpack-plugin":"^2.8.1","jade":"^1.11.0","jade-loader":"^0.8.0","json-loader":"^0.5.4","npm-install-webpack-plugin":"^2.0.0","opn":"^4.0.1","path-exists":"^2.1.0","postcss-cssnext":"^2.4.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","shelljs":"^0.6.0","style-loader":"^0.13.0","update-notifier":"^0.6.0","update-pkg":"^0.1.1","url-loader":"^0.5.7","vue":"^1.0.13","vue-hot-reload-api":"^1.2.2","vue-html-loader":"^1.0.0","vue-loader":"^8.1.4","vue-style-loader":"^1.0.0","webpack":"^1.12.13","webpack-hot-middleware":"^2.9.1","webpack-hot-server":"^0.2.2"},"devDependencies":{"xo":"^0.12.1"},"tooling":{"entry":"example","index":{"title":"tooling index","template":"lib/index.jade"}},"xo":{"semicolon":false,"ignores":["example/**","build/**"]},"testen":{"node":["4.0.0","4.2.4","5.6.0"]},"gitHead":"964e5fb06e45473b7a44dce1cd595651851e0c1d","bugs":{"url":"https://github.com/egoist/tooling/issues"},"homepage":"https://github.com/egoist/tooling#readme","_id":"tooling@0.16.2","_shasum":"4239b3add3bd9e02f4b9ebfdd49358271fa22e04","_from":".","_npmVersion":"3.7.2","_nodeVersion":"4.2.4","_npmUser":{"name":"kchan","email":"kchanzen@gmail.com"},"dist":{"shasum":"4239b3add3bd9e02f4b9ebfdd49358271fa22e04","tarball":"http://registry-npm.ywwl.com/tooling/download/tooling-0.16.2.tgz","integrity":"sha512-pZV7eFAZ6P1Tveivc3e9x/FhahzeehuAbi19gS5/ni6up7sh1wxe1yIEJSubx/INXDce6eUCeNybBe9sK08lVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5t2K3vnrFpGsOc8ywKwL4NHcDJ+ujZST4BttYJkb8FAIgRAVpk0giMPZNanIe3IaI2OR/2JC9RjlyR21BtJbvl98="}],"size":8140,"noattachment":false,"key":"/tooling/-/tooling-0.16.2.tgz"},"maintainers":[{"name":"kchan","email":"kchanzen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/tooling-0.16.2.tgz_1457968398543_0.03302118042483926"},"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":1457968398986,"_cnpm_publish_time":1457968398986,"dist-tags":{"latest":"1.6.0","next":"2.0.0-beta.2"}}