{"name":"tooling","version":"1.0.0-beta.3","description":"Painless build tool for JavaScript apps.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/egoist/tooling.git"},"author":{"name":"EGOIST","email":"0x142857@gmail.com","url":"github.com/egoist"},"engines":{"node":">=4"},"bin":{"tooling":"cli.js"},"scripts":{"test":"xo lib/*.js"},"files":["cli.js","lib"],"keywords":[],"devDependencies":{"xo":"latest"},"xo":{"semicolon":false,"space":2},"dependencies":{"autoprefixer":"^6.3.7","babel-loader":"^6.2.4","babel-plugin-transform-react-jsx":"^6.8.0","babel-plugin-transform-runtime":"^6.12.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-1":"^6.5.0","babel-runtime":"^6.11.6","co":"^4.6.0","css-loader":"^0.23.1","extract-text-webpack-plugin":"^1.0.1","fs-promise":"^0.5.0","globby":"^6.0.0","html-webpack-plugin":"^2.22.0","json-loader":"^0.5.4","magical-move":"^0.3.1","meow":"^3.7.0","opn":"^4.0.2","postcss-import":"^8.1.2","postcss-loader":"^0.9.1","postcss-nested":"^1.0.0","postcss-simple-vars":"^3.0.0","progress-bar-webpack-plugin":"^1.8.0","raw-loader":"^0.5.1","style-loader":"^0.13.1","systemjs":"^0.19.35","webpack":"^1.13.1","webpack-hot-server":"^0.5.1","webpack-livereload-plugin":"^0.8.1"},"gitHead":"78e6e830bf2e2174b76d8310ee7658a7ea2f796b","bugs":{"url":"https://github.com/egoist/tooling/issues"},"homepage":"https://github.com/egoist/tooling#readme","_id":"tooling@1.0.0-beta.3","_shasum":"7f45ff1840110d2f103c81af33e721c3a05e2c04","_from":".","_npmVersion":"3.10.5","_nodeVersion":"4.2.4","_npmUser":{"name":"kchan","email":"kchanzen@gmail.com"},"dist":{"shasum":"7f45ff1840110d2f103c81af33e721c3a05e2c04","tarball":"http://registry-npm.ywwl.com/tooling/download/tooling-1.0.0-beta.3.tgz","integrity":"sha512-Kfojc8qfNR7kCMI3giKY6Xdlo+ZXgYEUCQqcAZncCNOEzn96+jrnsJryTMwCBMNf3n1qgf6q/Vb6TpfavebKxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWeSyaRiUiTdTILvluLUB3cTMLB/slWOygkULMTbRzDAiEArCFw2PulInX/gd2t5Z57vK9WVPrrKG9HvBsmpvnJdKQ="}],"size":1494108,"noattachment":false,"key":"/tooling/-/tooling-1.0.0-beta.3.tgz"},"maintainers":[{"name":"kchan","email":"kchanzen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/tooling-1.0.0-beta.3.tgz_1470146006824_0.4739353754557669"},"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":1470146009938,"_cnpm_publish_time":1470146009938,"dist-tags":{"latest":"1.6.0","next":"2.0.0-beta.2"}}