{"name":"gulp-shared-tasks","version":"0.23.4","main":"build/src/index.js","scripts":{"test":"gulp test"},"husky":{"hooks":{"pre-push":"gulp check --full"}},"description":"Gulp tasks for a modern Node.js workflow (Babel / ESLint / Prettier / Jscpd / ava / Travis / nyc / Codecov / YAML)","keywords":["gulp","gulp-tasks","gulpjs","gulpfile","babel","eslint","prettier","codecov","travis-ci","yaml","watch","jscpd","npm","ava"],"license":"Apache-2.0","homepage":"https://git.io/fh5Ad","repository":{"type":"git","url":"git+https://github.com/ehmicky/gulp-shared-tasks.git"},"bugs":{"url":"https://github.com/ehmicky/gulp-shared-tasks/issues"},"author":{"name":"ehmicky","email":"ehmicky@gmail.com","url":"https://github.com/ehmicky"},"directories":{"lib":"src","test":"test"},"dependencies":{"@babel/preset-env":"^7.4.3","@gulp-sourcemaps/map-sources":"^1.0.0","async-done":"^1.3.1","ava":"^1.4.1","core-js":"^3.0.0","cross-fetch":"^3.0.2","del":"^4.1.0","eslint":"^5.16.0","eslint-config-prettier":"^4.1.0","eslint-config-standard":"^12.0.0","eslint-config-standard-prettier-fp":"^15.5.24","eslint-import-resolver-node":"^0.3.2","eslint-plugin-ava":"^6.0.0","eslint-plugin-eslint-comments":"^3.1.1","eslint-plugin-filenames":"^1.3.2","eslint-plugin-fp":"^2.3.0","eslint-plugin-html":"^5.0.3","eslint-plugin-import":"^2.16.0","eslint-plugin-markdown":"^1.0.0","eslint-plugin-node":"^8.0.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","eslint-plugin-unicorn":"^8.0.1","eslint-plugin-you-dont-need-lodash-underscore":"^6.4.0","fast-glob":"^2.2.6","find-up":"^3.0.0","gulp":"^4.0.0","gulp-babel":"^8.0.0","gulp-eslint":"^5.0.0","gulp-execa":"^0.2.0","gulp-if":"^2.0.2","gulp-prettier":"^2.1.0","gulp-yaml":"^2.0.3","is-ci":"^2.0.0","jscpd":"^2.0.13","keep-func-props":"^1.1.0","log-process-errors":"^3.4.2","moize":"^5.4.3","node-latest":"^3.1.0","nyc":"^13.3.0","plugin-error":"^1.0.1","prettier":"^1.16.4","release-it":"^10.4.0","stream-to-promise":"^2.2.0"},"devDependencies":{"@babel/register":"^7.4.0","husky":"^1.3.1"},"peerDependencies":{"ava":"^1.4.1","gulp":"^4.0.0"},"engines":{"node":">=8.10.0"},"gitHead":"a5a946057609c98d592227678ef5b92354ece589","_id":"gulp-shared-tasks@0.23.4","_nodeVersion":"11.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-YdYm8u6NBAHzmhs6bwpbOLc/f7WZcImDVha129yEKMeShjxMegG7N5+VVcLh2VJA+Pt1cGA0PG2He9npaJeqWQ==","shasum":"4f3dd8ff65aa8b7eef191bf5d244de4deeaea7ea","tarball":"http://registry-npm.ywwl.com/gulp-shared-tasks/download/gulp-shared-tasks-0.23.4.tgz","fileCount":59,"unpackedSize":142234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpIbNCRA9TVsSAnZWagAAhD0P/jJaGu45mnbjEl+EE0R7\n4eTsxUFj3ogOMLGYHyHtaRGM7Hb1QbgONe0dODp4qY/6g5vaKjuHbu8Ozni+\nxjIum5zdYa33zihzPW0zFBTGHr3qfQbe9lMiYzBQuKpl7Z5GFzaP4kk9JDos\nTxGeMEtX/WELGV/yJap8qiZEmNWOqFe3zP+W19kRs3WJ5GDp4Ulm7XN3EtlO\neMmBu8ntDySbqFjyHuHw9jJl+CK2Aa4IM1BaJSxIbunXndtOmvQGNyi4lIDa\n5siZYRJOH+6PJuzIhESuc7BXHNKTJ73qQpj/6WRRwnatlT+j89w3Ohw4LIcF\nR8ADTXvtw2rYcwbdyh11rMQgdr53KZVUbCRHOd3XAeFyWPM3+OhRbQxYieZc\nGckPwg6/0GRvZuJVz2XcCUd4z7Bfg+Z65bX3k7A2F2yK+9BpJJsNZo7tGKNH\nLCaK4WLXBHHMTRLLMf/yIrWL2mtNTnlgLITrTDD2WB3e5W5RvYQ/odE0sG5m\nGlIpZAYNr7j8yFzHUfLz6QQ2PlmzVMPSvv7zYNq8yTrQtp2Jnc9SZtjztCGZ\ny+04nQu++6OwRmtgjJeAVVNAQwUOyqaUWsq3/OQWJKA8uiBxUaNDb66ejnFu\nSKWtRLNb14gcldbuqS6Qhw25Gy+++petZ2mksowDJMLdqMXfMWxFzZ9kJK97\nMRq7\r\n=4CFp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG3ks9Ji22stXlgeQF0J4BkKPs8XF1mBugNYy/JxmW2cAiEAuS1Ca5gBta17bMQELNe8/sJPzi4Qc8TwD5Ld/KTL3BA="}],"size":42096,"noattachment":false,"key":"/gulp-shared-tasks/-/gulp-shared-tasks-0.23.4.tgz"},"maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-shared-tasks_0.23.4_1554286285326_0.027199386330079678"},"_hasShrinkwrap":false,"deprecated":"Renamed to @ehmicky/dev-tasks","readme":"[![Codecov](https://img.shields.io/codecov/c/github/ehmicky/gulp-shared-tasks.svg?label=tested&logo=codecov)](https://codecov.io/gh/ehmicky/gulp-shared-tasks)\n[![Travis](https://img.shields.io/badge/cross-platform-4cc61e.svg?logo=travis)](https://travis-ci.org/ehmicky/gulp-shared-tasks)\n[![Node](https://img.shields.io/node/v/gulp-shared-tasks.svg?logo=node.js)](https://www.npmjs.com/package/gulp-shared-tasks)\n[![Gitter](https://img.shields.io/gitter/room/ehmicky/gulp-shared-tasks.svg?logo=gitter)](https://gitter.im/ehmicky/gulp-shared-tasks)\n[![Twitter](https://img.shields.io/badge/%E2%80%8B-twitter-4cc61e.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ehmicky)\n[![Medium](https://img.shields.io/badge/%E2%80%8B-medium-4cc61e.svg?logo=medium)](https://medium.com/@ehmicky)\n\nAutomated tasks (linting, testing, building) for a Node.js development workflow\nusing [Babel](https://babeljs.io/), [ESLint](https://eslint.org/),\n[Prettier](https://prettier.io/), [Jscpd](https://github.com/kucherenko/jscpd),\n[Ava](https://github.com/avajs/ava), [Travis](https://travis-ci.org/),\n[nyc](https://github.com/istanbuljs/nyc) and [codecov](https://codecov.io/).\n\nThe task runner is [Gulp](https://gulpjs.com/), but you don't need to know Gulp\nto use these tasks.\n\n# Workflow\n\nCode is compiled from the `src` to the `build` directory using\n[Babel](https://babeljs.io/), so you can use the latest JavaScript features.\n\nLinting and formatting are performed with [ESLint](https://eslint.org/),\n[Prettier](https://prettier.io/) and\n[Jscpd](https://github.com/kucherenko/jscpd). We recommend using plugins with\nyour IDE (code editor) for both Prettier and ESLint so that linting/formatting\nis performed as you code.\n\nWe use [Ava](https://github.com/avajs/ava) to run tests. Each line of code must\nbe tested.\n\n# Usage\n\nAny task can be run using `gulp` for example:\n\n```bash\ngulp build\n```\n\nIf you're on `cmd.exe` (Windows) use `npx gulp ...` instead.\n\n# Overview\n\nThe main commands are:\n\n- [`gulp check`](#gulp-check): lint/format the JavaScript files.\n- [`gulp build`](#gulp-build): build source files and test files. Must be run\n  before running any code or unit tests.\n- [`gulp unit`](#gulp-unit): run unit tests.\n- [`gulp test`](#gulp-test): perform the three tasks above.\n\nUse `gulp checkw`, `gulp buildw` and `gulp unitw` to run them in watch mode.\n\n[Travis CI](https://travis-ci.org/) ensures that:\n\n- tests pass on all supported environments.\n- all source files are covered by tests and follow the same coding style.\n\n# Available tasks\n\n## `gulp check`\n\nLint and check source files:\n\n- format JavaScript files with [Prettier](https://prettier.io/).\n- lint and\n  [autofix](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems)\n  JavaScript files using [ESLint](https://eslint.org/) (see the\n  [coding style](https://github.com/ehmicky/eslint-config#coding-style)).\n- find duplicated code with [Jscpd](https://github.com/kucherenko/jscpd).\n\nThis is automatically triggered before any `git push`.\n\n## `gulp build`\n\nBuild source files and test files:\n\n- JavaScript files are transpiled with [Babel](https://babeljs.io/).\n- Other files are copied as is.\n\nSource files are built from the `src` directory to the `build/src` directory.\nTest files are built from the `test` directory to the `build/test` directory.\n\nThis must be done before running any code or unit tests.\n\n## `gulp unit`\n\nRun unit tests with [Ava](https://github.com/avajs/ava).\n\nTo specify\n[Ava options](https://github.com/avajs/ava/blob/master/docs/05-command-line.md),\nplease call `ava` directly instead. For example: `ava --update-snapshots`.\n\nTo target a single test file, use `ava build/test/file.js` not\n`ava test/file.js`.\n\nTest coverage is performed in CI ([Travis](https://travis-ci.org/)) and uploaded\nto [codecov](https://codecov.io/). It can also be performed locally using\n`nyc ava`.\n\n## `gulp test`\n\nRuns [`gulp check`](#gulp-check) then [`gulp build`](#gulp-build) then\n[`gulp unit`](#gulp-unit).\n\nThis is performed on CI ([Travis](https://travis-ci.org/)) for each OS (Windows,\nMac, Linux) and supported Node.js version.\n\n## `gulp checkw`, `gulp buildw`, `gulp unitw`, `gulp warnw`\n\nLike `gulp check`, `gulp build`, `gulp unit` and `gulp warn` but in watch mode.\nThe watch mode works even when installing/updating/uninstalling dependencies or\nchanging the Gulp tasks themselves.\n\nThey can be performed together, e.g. `gulp buildw` in one terminal tab and\n`gulp unitw` in another.\n\n# Other tasks\n\n## `gulp warn`\n\nCheck for security vulnerabilities (using\n[`npm audit`](https://docs.npmjs.com/cli/audit)) and outdated dependencies\n(using [`npm outdated`](https://docs.npmjs.com/cli/outdated)).\n\n## `gulp releasePatch`, `gulp releaseMinor`, `gulp releaseMajor`\n\nRelease a new patch/minor/major version on npm and GitHub using\n[`release-it`](https://github.com/webpro/release-it).\n\nThe new version will only be published to npm after CI tests have passed.\n\nOnly the repository owner can perform these tasks.\n\n## `gulp coverage`\n\nEnsures that files are fully covered by tests using\n[nyc](https://github.com/istanbuljs/nyc). This is meant to be performed on CI\n([Travis](https://travis-ci.org/)).\n\n# Custom tasks\n\nRepositories with a `gulp` top-level directory have additional tasks. Please\ncheck those files to see which custom tasks are available.\n\n# Support\n\nIf you found a bug or would like a new feature, _don't hesitate_ to\n[submit an issue on GitHub](../../issues).\n\nFor other questions, feel free to\n[chat with us on Gitter](https://gitter.im/ehmicky/gulp-shared-tasks).\n\nEveryone is welcome regardless of personal background. We enforce a\n[Code of conduct](CODE_OF_CONDUCT.md) in order to promote a positive and\ninclusive environment.\n\n# Contributing\n\nThis project was made with ❤️. The simplest way to give back is by starring and\nsharing it online.\n\nIf the documentation is unclear or has a typo, please click on the page's `Edit`\nbutton (pencil icon) and suggest a correction.\n\nIf you would like to help us fix a bug or add a new feature, please check our\n[guidelines](CONTRIBUTING.md). Pull requests are welcome!\n\n<!-- Thanks go to our wonderful contributors: -->\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://twitter.com/ehmicky\"><img src=\"https://avatars2.githubusercontent.com/u/8136211?v=4\" width=\"100px;\" alt=\"ehmicky\"/><br /><sub><b>ehmicky</b></sub></a><br /><a href=\"https://github.com/ehmicky/gulp-shared-tasks/commits?author=ehmicky\" title=\"Code\">💻</a> <a href=\"#design-ehmicky\" title=\"Design\">🎨</a> <a href=\"#ideas-ehmicky\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/ehmicky/gulp-shared-tasks/commits?author=ehmicky\" title=\"Documentation\">📖</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n","publish_time":1554286285423,"_cnpm_publish_time":1554286285423,"dist-tags":{"latest":"0.30.40"}}