{"_id":"@asjuanguilherme/prettier-config","name":"@asjuanguilherme/prettier-config","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@asjuanguilherme/prettier-config","version":"1.0.0","description":"Prettier configuration","main":"index.js","repository":{"type":"git","url":"git+https://github.com/asjuanguilherme/prettier-config.git"},"keywords":["prettier","config","prettier-config","format"],"author":{"name":"Juan Guilherme"},"license":"MIT","bugs":{"url":"https://github.com/asjuanguilherme/prettier-config/issues"},"homepage":"https://github.com/asjuanguilherme/prettier-config#readme","peerDependencies":{"prettier":">3.0.3"},"devDependencies":{"prettier":"^3.0.3"},"publishConfig":{"access":"public"},"gitHead":"cfd1ab6c2865576393e361613131e49137ec1f0d","_id":"@asjuanguilherme/prettier-config@1.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-VhK+WtJc1s7siELXVmm9AbOvug8OVvLE6J9K5qoP9MT6PR50q1Jv83KfThJfib9W8JIbYgKfZ4fT2FngFKDQug==","shasum":"b40dba43ccb86b5986807928b87914731f4f413a","tarball":"https://registry.npmjs.org/@asjuanguilherme/prettier-config/-/prettier-config-1.0.0.tgz","fileCount":4,"unpackedSize":3612,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9BHNZCqgwXR6bioSCLqFqCLk1me7Q+WyPvsW21CZzrAiA0L5YK8w2RTIxfIo/OzOipnRNvMmz5S+SdTR82YBRYQA=="}]},"_npmUser":{"name":"asjuanguilherme","email":"asjuanguilherme@gmail.com"},"directories":{},"maintainers":[{"name":"asjuanguilherme","email":"asjuanguilherme@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-config_1.0.0_1701501313392_0.37986190438466827"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-02T07:15:13.313Z","1.0.0":"2023-12-02T07:15:13.579Z","modified":"2023-12-02T07:15:13.830Z"},"maintainers":[{"name":"asjuanguilherme","email":"asjuanguilherme@gmail.com"}],"description":"Prettier configuration","homepage":"https://github.com/asjuanguilherme/prettier-config#readme","keywords":["prettier","config","prettier-config","format"],"repository":{"type":"git","url":"git+https://github.com/asjuanguilherme/prettier-config.git"},"author":{"name":"Juan Guilherme"},"bugs":{"url":"https://github.com/asjuanguilherme/prettier-config/issues"},"license":"MIT","readme":"# Juan - Prettier Config\n\n## 1. How to install\n\nWith npm:\n\n```bash\nnpm install juan-prettier-config\n```\n\nOr with yarn:\n\n```bash\nyarn add juan-prettier-config\n```\n\n## 2. Create a Prettier configuration file\n\nCreate a file named `.prettierrc.js` or `.prettierrc` at the root of your project and import the configuration from `juan-prettier-config`:\n\n```javascript\n// .prettierrc.js or .prettierrc\n\nmodule.exports = require(\"juan-prettier-config\");\n```\n\nOr you can import the configuration file to your package.json file\n\n```json\n{\n  \"prettier\": \"juan-prettier-config\"\n}\n```\n\n## 3. Add a script to your `package.json` (optional)\n\nAdd a script to your `package.json` to make running Prettier easier:\n\n```json\n// package.json\n\n{\n  \"scripts\": {\n    \"format\": \"prettier --write .\"\n  }\n}\n```\n\nNow, you can run `npm run format` or `yarn format` to format your code using the Prettier configuration.\n\n## 4. Run Prettier\n\nNow, you can run Prettier on your code using the following command:\n\nWith npm:\n\n```bash\nnpx prettier --write .\n```\n\nOr with yarn:\n\n```bash\nyarn prettier --write .\n```\n\nThis command formats all files in the current directory using the Prettier configuration specified in the `.prettierrc.js` or `.prettierrc` file.\n\nThat's essentially all you need to do to start using your `juan-prettier-config` library in your project. Ensure that the files you want to format are in the specified directory or adjust the Prettier command as needed to include the desired files.\n","readmeFilename":"README.md"}