{"_id":"gulp-prettier","_rev":"3336636","name":"gulp-prettier","description":"Format files with Prettier","dist-tags":{"latest":"6.0.0"},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"time":{"modified":"2024-07-10T07:59:47.000Z","created":"2017-01-15T00:38:56.415Z","6.0.0":"2023-11-03T15:26:53.106Z","5.0.0":"2023-07-05T20:26:45.217Z","4.0.0":"2021-07-31T09:27:18.135Z","3.0.0":"2020-03-21T22:12:30.454Z","2.3.0":"2019-11-11T09:59:00.914Z","2.2.0":"2019-10-21T21:38:45.743Z","2.1.0":"2019-02-01T19:14:58.081Z","2.0.0":"2018-05-01T21:39:11.368Z","1.1.0":"2017-01-16T03:36:20.748Z","1.0.0":"2017-01-15T00:38:56.415Z"},"users":{"jackvial":true,"davidnyhuis":true,"brofox":true},"author":{"name":"Thomas Vantuycom","email":"thomasvantuycom@proton.me","url":"https://www.thomasvantuycom.com"},"repository":{"type":"git","url":"git+https://github.com/thomasvantuycom/gulp-prettier.git"},"versions":{"6.0.0":{"name":"gulp-prettier","version":"6.0.0","description":"Format files with Prettier","license":"MIT","repository":{"type":"git","url":"git+https://github.com/thomasvantuycom/gulp-prettier.git"},"author":{"name":"Thomas Vantuycom","email":"thomasvantuycom@proton.me","url":"https://www.thomasvantuycom.com"},"type":"module","exports":"./index.js","engines":{"node":">=18"},"scripts":{"test":"xo && ava"},"keywords":["gulp","prettier","gulp-prettier","gulpplugin"],"dependencies":{"plugin-error":"^2.0.0","prettier":"^3.0.0"},"devDependencies":{"@semantic-release/changelog":"^6.0.0","@semantic-release/git":"^10.0.0","ava":"^5.1.0","p-event":"^6.0.0","semantic-release":"^22.0.0","vinyl":"^3.0.0","xo":"^0.56.0"},"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog","@semantic-release/npm",["@semantic-release/git",{"message":"release: ${nextRelease.version}"}],"@semantic-release/github"]},"_id":"gulp-prettier@6.0.0","gitHead":"ca2fb7ec9a95a0e22b3b2c0022395a04bd2f1834","bugs":{"url":"https://github.com/thomasvantuycom/gulp-prettier/issues"},"homepage":"https://github.com/thomasvantuycom/gulp-prettier#readme","_nodeVersion":"20.9.0","_npmVersion":"10.2.3","dist":{"shasum":"2a58c41ba8d0e90338ce821eda23d4a3d2859d2d","size":2643,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-prettier/download/gulp-prettier-6.0.0.tgz"},"_npmUser":{"name":"thomasvantuycom","email":"thomasvantuycom@proton.me"},"directories":{},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-prettier_6.0.0_1699025212881_0.4804124884087555"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-03T15:26:53.106Z","publish_time":1699025213106,"_source_registry_name":"default","_cnpm_publish_time":1699025213106},"5.0.0":{"name":"gulp-prettier","description":"Format files with Prettier","version":"5.0.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/TheDancingCode/gulp-prettier.git"},"scripts":{"test":"ava"},"keywords":["gulp","prettier","gulp-prettier","gulpplugin"],"engines":{"node":">=16"},"author":{"name":"Thomas Vantuycom"},"license":"MIT","dependencies":{"plugin-error":"^2.0.0","prettier":"^3.0.0","through2":"^4.0.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.0","@semantic-release/git":"^9.0.0","ava":"^5.1.0","p-event":"4.2.0","semantic-release":"^17.2.3","vinyl":"^3.0.0"},"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog","@semantic-release/npm",["@semantic-release/git",{"message":"release: ${nextRelease.version}"}],"@semantic-release/github"]},"gitHead":"1adf88351263145766440c635d59f00b37509190","bugs":{"url":"https://github.com/TheDancingCode/gulp-prettier/issues"},"homepage":"https://github.com/TheDancingCode/gulp-prettier#readme","_id":"gulp-prettier@5.0.0","_nodeVersion":"20.3.1","_npmVersion":"7.24.2","dist":{"shasum":"bb1cfbeb7c52e310ac1c66f6c18da7f508126172","size":2699,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-prettier/download/gulp-prettier-5.0.0.tgz"},"_npmUser":{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},"directories":{},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-prettier_5.0.0_1688588805068_0.6563347803027662"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-05T20:26:45.217Z","publish_time":1688588805217,"_source_registry_name":"default","_cnpm_publish_time":1688588805217},"4.0.0":{"name":"gulp-prettier","description":"Format files with Prettier","version":"4.0.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/TheDancingCode/gulp-prettier.git"},"scripts":{"test":"ava"},"keywords":["gulp","prettier","gulp-prettier","gulpplugin"],"engines":{"node":">=12"},"author":{"name":"Thomas Vantuycom"},"license":"MIT","dependencies":{"plugin-error":"^1.0.1","prettier":"^2.0.0","through2":"^4.0.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.0","@semantic-release/git":"^9.0.0","ava":"^3.5.0","semantic-release":"^17.2.3","vinyl":"^2.1.0"},"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog","@semantic-release/npm",["@semantic-release/git",{"message":"release: ${nextRelease.version}"}],"@semantic-release/github"]},"gitHead":"6934ec6f8ba744a7f127f6846c625c4555d8b31e","bugs":{"url":"https://github.com/TheDancingCode/gulp-prettier/issues"},"homepage":"https://github.com/TheDancingCode/gulp-prettier#readme","_id":"gulp-prettier@4.0.0","_nodeVersion":"16.6.0","_npmVersion":"7.20.3","dist":{"shasum":"95e783084d1efbdd588625b2a8214e11d43f2557","size":2681,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-prettier/download/gulp-prettier-4.0.0.tgz"},"_npmUser":{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},"directories":{},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-prettier_4.0.0_1627723638002_0.2779991077762074"},"_hasShrinkwrap":false,"publish_time":1627723638135,"_cnpm_publish_time":1627723638135},"3.0.0":{"name":"gulp-prettier","description":"Create vinyl streams to pipe to prettier","version":"3.0.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bhargavrpatel/gulp-prettier.git"},"scripts":{"lint":"prettier --single-quote --write **/*.js && eslint .","pretest":"npm run lint","test":"mocha"},"keywords":["gulp","prettier","gulp-prettier","gulpplugin"],"engines":{"node":">=10"},"author":{"name":"Bhargav R. Patel"},"license":"MIT","dependencies":{"plugin-error":"^1.0.1","prettier":"^2.0.0","through2":"^3.0.0"},"devDependencies":{"eslint":"^6.8.0","mocha":"^7.1.1","vinyl":"^2.1.0"},"gitHead":"3ed1629f860158030ccaaf1e97e4bad16b9e619e","bugs":{"url":"https://github.com/bhargavrpatel/gulp-prettier/issues"},"homepage":"https://github.com/bhargavrpatel/gulp-prettier#readme","_id":"gulp-prettier@3.0.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"shasum":"21c7de272fc7528168af6086e8edae6a645168a8","size":3582,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-prettier/download/gulp-prettier-3.0.0.tgz"},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"_npmUser":{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-prettier_3.0.0_1584828750108_0.21959751667422855"},"_hasShrinkwrap":false,"publish_time":1584828750454,"_cnpm_publish_time":1584828750454},"2.3.0":{"name":"gulp-prettier","description":"Create vinyl streams to pipe to prettier","version":"2.3.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bhargavrpatel/gulp-prettier.git"},"scripts":{"lint":"prettier --single-quote --write **/*.js && eslint .","pretest":"npm run lint","test":"mocha"},"keywords":["gulp","prettier","gulp-prettier","gulpplugin"],"engines":{"node":">=4"},"author":{"name":"Bhargav R. Patel"},"license":"MIT","dependencies":{"plugin-error":"^1.0.1","prettier":"^1.5.3","safe-buffer":"^5.1.2","through2":"^3.0.0"},"devDependencies":{"eslint":"^4.19.0","mocha":"^5.0.4","vinyl":"^2.1.0"},"gitHead":"82ef98fa6fa4f1d29a7efbea652ba0f399cc5002","bugs":{"url":"https://github.com/bhargavrpatel/gulp-prettier/issues"},"homepage":"https://github.com/bhargavrpatel/gulp-prettier#readme","_id":"gulp-prettier@2.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},"dist":{"shasum":"143a5d75ee6a79e5c647b108c6a28ce7d26e3edd","size":3549,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-prettier/download/gulp-prettier-2.3.0.tgz"},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-prettier_2.3.0_1573466340766_0.819374756492433"},"_hasShrinkwrap":false,"publish_time":1573466340914,"_cnpm_publish_time":1573466340914},"2.2.0":{"name":"gulp-prettier","description":"Create vinyl streams to pipe to prettier","version":"2.2.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bhargavrpatel/gulp-prettier.git"},"scripts":{"lint":"prettier --single-quote --write **/*.js && eslint .","pretest":"npm run lint","test":"mocha"},"keywords":["gulp","prettier","gulp-prettier","gulpplugin"],"engines":{"node":">=4"},"author":{"name":"Bhargav R. Patel"},"license":"MIT","dependencies":{"plugin-error":"^1.0.1","prettier":"^1.5.3","safe-buffer":"^5.1.2","through2":"^3.0.0"},"devDependencies":{"eslint":"^4.19.0","mocha":"^5.0.4","vinyl":"^2.1.0"},"gitHead":"63db7d9f3b2163abd29d4c3d06b7b93d5f852de4","bugs":{"url":"https://github.com/bhargavrpatel/gulp-prettier/issues"},"homepage":"https://github.com/bhargavrpatel/gulp-prettier#readme","_id":"gulp-prettier@2.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},"dist":{"shasum":"05bfa5659ad24007e645853a6887430a62f85db3","size":3467,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-prettier/download/gulp-prettier-2.2.0.tgz"},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-prettier_2.2.0_1571693925644_0.03159143563277933"},"_hasShrinkwrap":false,"publish_time":1571693925743,"_cnpm_publish_time":1571693925743},"2.1.0":{"name":"gulp-prettier","description":"Create vinyl streams to pipe to prettier","version":"2.1.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bhargavrpatel/gulp-prettier.git"},"scripts":{"lint":"prettier --single-quote --write **/*.js && eslint .","pretest":"npm run lint","test":"mocha"},"keywords":["gulp","prettier","gulp-prettier","gulpplugin"],"engines":{"node":">=4"},"author":{"name":"Bhargav R. Patel"},"license":"MIT","dependencies":{"plugin-error":"^1.0.1","prettier":"^1.5.3","safe-buffer":"^5.1.2","through2":"^3.0.0"},"devDependencies":{"eslint":"^4.19.0","mocha":"^5.0.4","vinyl":"^2.1.0"},"gitHead":"7f4cc9ebd2f606256677dae5833b1091af210bae","bugs":{"url":"https://github.com/bhargavrpatel/gulp-prettier/issues"},"homepage":"https://github.com/bhargavrpatel/gulp-prettier#readme","_id":"gulp-prettier@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"10.13.0","_npmUser":{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},"dist":{"shasum":"6e7b2a12395315fb9e1ebd4ea9ed9514410aec15","size":3437,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-prettier/download/gulp-prettier-2.1.0.tgz"},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-prettier_2.1.0_1549048497931_0.3131360803185663"},"_hasShrinkwrap":false,"publish_time":1549048498081,"_cnpm_publish_time":1549048498081},"2.0.0":{"name":"gulp-prettier","description":"Create vinyl streams to pipe to prettier","version":"2.0.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bhargavrpatel/gulp-prettier.git"},"scripts":{"lint":"prettier --single-quote --write **/*.js && eslint .","pretest":"npm run lint","test":"mocha"},"files":["index.js"],"keywords":["gulp","prettier","gulp-prettier","gulpplugin"],"engines":{"node":">=4"},"author":{"name":"Bhargav R. Patel"},"license":"MIT","dependencies":{"plugin-error":"^1.0.1","prettier":"^1.5.3","safe-buffer":"^5.1.2","through2":"^2.0.3"},"devDependencies":{"eslint":"^4.19.0","mocha":"^5.0.4","vinyl":"^2.1.0"},"gitHead":"c2f6e20bbf93e5fd91105cbda13efe9cfbda5965","bugs":{"url":"https://github.com/bhargavrpatel/gulp-prettier/issues"},"homepage":"https://github.com/bhargavrpatel/gulp-prettier#readme","_id":"gulp-prettier@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},"dist":{"shasum":"598ded9a1d43e495952992e53695785d84ab758c","size":2872,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-prettier/download/gulp-prettier-2.0.0.tgz"},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-prettier_2.0.0_1525210751288_0.6203296596064396"},"_hasShrinkwrap":false,"publish_time":1525210751368,"_cnpm_publish_time":1525210751368},"1.1.0":{"name":"gulp-prettier","description":"Create vinyl streams to pipe to prettier","version":"1.1.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bhargavrpatel/gulp-prettier.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 0"},"files":["index.js"],"keywords":["gulp","prettier","gulp-prettier"],"author":{"name":"Bhargav R. Patel"},"license":"MIT","dependencies":{"gulp-util":"^3.0.8","merge":"^1.2.0","prettier":"0.0.7","through2":"^2.0.3","vinyl-sourcemaps-apply":"^0.2.1"},"gitHead":"0e4c3f57cacfbce74fed4e5074ef38870cfe79b0","bugs":{"url":"https://github.com/bhargavrpatel/gulp-prettier/issues"},"homepage":"https://github.com/bhargavrpatel/gulp-prettier#readme","_id":"gulp-prettier@1.1.0","_shasum":"6fec92ed9e133216b602f2671b8828ce3c98f476","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.1","_npmUser":{"name":"ziikutv","email":"ziikutv@gmail.com"},"dist":{"shasum":"6fec92ed9e133216b602f2671b8828ce3c98f476","size":2407,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-prettier/download/gulp-prettier-1.1.0.tgz"},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-prettier-1.1.0.tgz_1484537780525_0.21940395864658058"},"directories":{},"publish_time":1484537780748,"_cnpm_publish_time":1484537780748,"_hasShrinkwrap":false},"1.0.0":{"name":"gulp-prettier","description":"Create vinyl streams to pipe to prettier","version":"1.0.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bhargavrpatel/gulp-prettier.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 0"},"files":["index.js"],"keywords":["gulp","prettier","gulp-prettier"],"author":{"name":"Bhargav R. Patel"},"license":"MIT","gitHead":"057e1ddcdfa4dfe7ea4084f7dd53e94b47572929","bugs":{"url":"https://github.com/bhargavrpatel/gulp-prettier/issues"},"homepage":"https://github.com/bhargavrpatel/gulp-prettier#readme","_id":"gulp-prettier@1.0.0","_shasum":"84ae8e229ef1d582792de2c3fb15e21ca73eb24f","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.1","_npmUser":{"name":"ziikutv","email":"ziikutv@gmail.com"},"dist":{"shasum":"84ae8e229ef1d582792de2c3fb15e21ca73eb24f","size":2352,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-prettier/download/gulp-prettier-1.0.0.tgz"},"maintainers":[{"name":"thedancingcode","email":"thomasvantuycom@protonmail.com"},{"name":"thomasvantuycom","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-prettier-1.0.0.tgz_1484440736182_0.9520244316663593"},"directories":{},"publish_time":1484440736415,"_cnpm_publish_time":1484440736415,"_hasShrinkwrap":false}},"readme":"# gulp-prettier \n\n> Format files with [Prettier](https://github.com/prettier/prettier)\n\n[![GitHub Workflow Status](https://github.com/TheDancingCode/gulp-prettier/actions/workflows/ci.yml/badge.svg)](https://github.com/thomasvantuycom/gulp-prettier/actions/workflows/ci.yml) [![npm version](https://img.shields.io/npm/v/gulp-prettier.svg)](https://www.npmjs.com/package/gulp-prettier) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n## Install\n\n```\nnpm install gulp-prettier --save-dev\n```\n\n## Usage\n\n```js\nimport gulp from 'gulp';\nimport prettier from 'gulp-prettier';\n\nfunction format() {\n  return gulp.src('src/*.js')\n    .pipe(prettier({ singleQuote: true }))\n    .pipe(gulp.dest('dist'));\n}\n\nexport default format;\n```\n\nTo check whether or not your files adhere to Prettier's formatting, use `prettier.check`. This can be used as a validation step in CI scenarios.\n\n```js\nimport gulp from 'gulp';\nimport prettier from 'gulp-prettier';\n\nfunction validate() {\n  return gulp.src('dist/*.js')\n    .pipe(prettier.check({ singleQuote: true }));\n}\n\nexport default validate;\n```\n\n## API\n\n### prettier([options])\n\nFormats your files using Prettier.\n\n#### options\n\nType: `Object`\n\nConsult the Prettier [options](https://prettier.io/docs/en/options.html).\n\n`editorconfig: true` can also be passed to enable [EditorConfig support](https://prettier.io/docs/en/api.html#prettierresolveconfigfilepath--options).\n\n### prettier.check([options])\n\nChecks if your files have been formatted with Prettier and, if not, throws an error with a list of unformatted files. This is useful for running Prettier in CI scenarios.\n\n#### options\n\nType: `Object`\n\nConsult the Prettier [options](https://prettier.io/docs/en/options.html).\n\n`editorconfig: true` can also be passed to enable [EditorConfig support](https://prettier.io/docs/en/api.html#prettierresolveconfigfilepath--options).\n\n## License\n\nMIT © [Thomas Vantuycom](https://github.com/thomasvantuycom)\n","_attachments":{},"homepage":"https://github.com/thomasvantuycom/gulp-prettier#readme","bugs":{"url":"https://github.com/thomasvantuycom/gulp-prettier/issues"},"license":"MIT"}