{"name":"gulp-prettier","version":"7.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":">=24"},"scripts":{"test":"xo && ava"},"keywords":["gulp","prettier","gulp-prettier","gulpplugin"],"dependencies":{"plugin-error":"^2.0.1","prettier":"^3.9.5"},"devDependencies":{"@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","ava":"^8.0.1","p-event":"^7.1.0","semantic-release":"^25.0.7","vinyl":"^3.0.1","xo":"^4.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"]},"xo":{"rules":{"markdown/no-multiple-h1":"off"}},"gitHead":"16c754c6efde5c3b036f1eeeb8024ce92fb93784","_id":"gulp-prettier@7.0.0","bugs":{"url":"https://github.com/thomasvantuycom/gulp-prettier/issues"},"homepage":"https://github.com/thomasvantuycom/gulp-prettier#readme","_nodeVersion":"24.18.0","_npmVersion":"11.18.0","dist":{"integrity":"sha512-uH4xdAwI4MxajY6vJ+91aFVljy6+XgMxOY4I+utOhWz39i5nUV53/n58zEGstThGR94pY8YZCVvEsK752pJocA==","shasum":"2a7ed1a3c51511d8a1215640b5b9a957807cbbb4","tarball":"http://registry-npm.ywwl.com/gulp-prettier/download/gulp-prettier-7.0.0.tgz","fileCount":4,"unpackedSize":6889,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/gulp-prettier@7.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDgBHwv4CqZwy3z9I8RONfSSLqts+FA7Kn/MkZQwPsrKQIgBglImEsxsgksk+EARhwydlfvd2N1Sn0MNOqPLDvGpxU="}],"size":2695,"noattachment":false,"key":"/gulp-prettier/-/gulp-prettier-7.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f1a71a98-f063-4731-805d-df7871d83bfc"}},"directories":{},"maintainers":[{"name":"thomasvantuycom","email":"thomasvantuycom@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gulp-prettier_7.0.0_1784266545026_0.8263543163441023"},"_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```sh\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","publish_time":1784266545158,"_cnpm_publish_time":1784266545158,"dist-tags":{"latest":"7.0.0"}}