{"id":17091052,"url":"https://github.com/wldcordeiro/jest-runner-write-prettier","last_synced_at":"2026-04-09T22:52:29.764Z","repository":{"id":57280454,"uuid":"133724732","full_name":"wldcordeiro/jest-runner-write-prettier","owner":"wldcordeiro","description":"A Jest Runner for Prettier that writes the changes","archived":false,"fork":false,"pushed_at":"2018-05-17T07:45:09.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T08:42:55.717Z","etag":null,"topics":["javascript","jest","testing"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wldcordeiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-16T21:25:57.000Z","updated_at":"2020-04-24T19:12:07.000Z","dependencies_parsed_at":"2022-09-19T23:52:01.354Z","dependency_job_id":null,"html_url":"https://github.com/wldcordeiro/jest-runner-write-prettier","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/wldcordeiro/jest-runner-write-prettier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wldcordeiro%2Fjest-runner-write-prettier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wldcordeiro%2Fjest-runner-write-prettier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wldcordeiro%2Fjest-runner-write-prettier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wldcordeiro%2Fjest-runner-write-prettier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wldcordeiro","download_url":"https://codeload.github.com/wldcordeiro/jest-runner-write-prettier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wldcordeiro%2Fjest-runner-write-prettier/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264922866,"owners_count":23683701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","jest","testing"],"created_at":"2024-10-14T13:57:26.496Z","updated_at":"2026-04-09T22:52:24.721Z","avatar_url":"https://github.com/wldcordeiro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jest-runner-write-prettier\n\n## Usage\n\n### Install\n\nInstall `jest`_(it needs Jest 21+)_ and `jest-runner-write-prettier`\n\n```bash\nyarn add --dev jest jest-runner-write-prettier\n\n# or with NPM\n\nnpm install --save-dev jest jest-runner-write-prettier\n```\n\n### Add it to your Jest config\n\nIn your `package.json`\n\n```json\n{\n  \"jest\": {\n    \"runner\": \"jest-runner-write-prettier\",\n    \"moduleFileExtensions\": [\n      \"js\",\n      \"jsx\",\n      \"json\",\n      \"ts\",\n      \"tsx\",\n      \"css\",\n      \"less\",\n      \"scss\",\n      \"graphql\",\n      \"md\",\n      \"markdown\"\n    ],\n    \"testMatch\": [\n      \"**/*.js\",\n      \"**/*.jsx\",\n      \"**/*.json\",\n      \"**/*.ts\",\n      \"**/*.tsx\",\n      \"**/*.css\",\n      \"**/*.less\",\n      \"**/*.scss\",\n      \"**/*.graphql\",\n      \"**/*.md\",\n      \"**/*.markdown\"\n    ]\n  }\n}\n```\n\nOr in `jest.config.js`\n\n```js\nmodule.exports = {\n  runner: 'jest-runner-write-prettier',\n  moduleFileExtensions: [\n    'js',\n    'jsx',\n    'json',\n    'ts',\n    'tsx',\n    'css',\n    'less',\n    'scss',\n    'graphql',\n    'md',\n    'markdown'\n  ],\n  testMatch: [\n    '**/*.js',\n    '**/*.jsx',\n    '**/*.json',\n    '**/*.ts',\n    '**/*.tsx',\n    '**/*.css',\n    '**/*.less',\n    '**/*.scss',\n    '**/*.graphql',\n    '**/*.md',\n    '**/*.markdown'\n  ]\n}\n```\n\n### Run Jest\n\n```bash\nyarn jest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwldcordeiro%2Fjest-runner-write-prettier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwldcordeiro%2Fjest-runner-write-prettier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwldcordeiro%2Fjest-runner-write-prettier/lists"}