{"id":15077934,"url":"https://github.com/willfarrell/prettier-standard","last_synced_at":"2025-10-05T12:31:53.860Z","repository":{"id":47802792,"uuid":"130622008","full_name":"willfarrell/prettier-standard","owner":"willfarrell","description":"Just a simple wrapper around Prettier \u0026 Standard with auto-fix enabled.","archived":true,"fork":false,"pushed_at":"2021-08-12T23:27:25.000Z","size":422,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-17T10:45:10.874Z","etag":null,"topics":["prettier-js","standard-js"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willfarrell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-23T01:03:31.000Z","updated_at":"2023-01-28T03:34:32.000Z","dependencies_parsed_at":"2022-08-27T22:41:52.215Z","dependency_job_id":null,"html_url":"https://github.com/willfarrell/prettier-standard","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fprettier-standard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fprettier-standard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fprettier-standard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fprettier-standard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willfarrell","download_url":"https://codeload.github.com/willfarrell/prettier-standard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235399012,"owners_count":18983814,"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":["prettier-js","standard-js"],"created_at":"2024-09-25T05:00:21.403Z","updated_at":"2025-10-05T12:31:48.593Z","avatar_url":"https://github.com/willfarrell.png","language":"Shell","readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/willfarrell/prettier-standard/master/docs/imgs/header.png\" alt=\"JavaScript Formatting \u0026 Standard Style Wrapper\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  JavaScript Formatting \u0026 Standard Style\n  \u003cbr\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\nJust a simple wrapper around [Prettier](https://prettier.io/) \u0026 [Standard](https://standardjs.com/) with auto-fix enabled.\n\n## Why\n- Simplify `package.json` use\n- Filter non-`js` file extensions from `standard`, thinks `json` is `js`\n\n## Getting Started\n```bash\nnpm i -D prettier-standard-cli\n```\n\n## Deployment\n### cli\n- `prettier 'styles/*.{json,js}'`\n- `standard 'src/*.js'`\n- `prettier-standard 'src/**/*.{css,json,js}'`\n\n### package.json\n\n```json\n{\n  \"devDependencies\": {\n    \"lint-staged\":\"*\",\n    \"husky\":\"*\",\n    \"prettier-standard-cli\":\"*\"\n  },\n  \"scripts\": {\n    \"precommit\":\"lint-staged\",\n    \"lint\": \"prettier-standard 'src/**/*.{css,json,js}'\",\n  },\n  \"lint-staged\": {\n    \"src/**/*.{css,json,js}\": [\n      \"prettier-standard\",\n      \"git add\"\n    ]\n  }\n}\n```\n\n### package.json standalone equivalent\n```json\n{\n  \"devDependencies\": {\n    \"lint-staged\":\"*\",\n    \"husky\":\"*\",\n    \"prettier\":\"*\",\n    \"standard\":\"*\"\n  },\n  \"scripts\": {\n    \"precommit\":\"lint-staged\",\n    \"lint\": \"prettier --write --loglevel warn 'src/**/*.{css,json,js}' \u0026\u0026 standard --fix 'src/**/*.js'\",\n  },\n  \"lint-staged\": {\n    \"src/**/*.{css,json}\": [\n      \"prettier --write\",\n      \"git add\"\n    ],\n    \"src/**/*.js\": [\n      \"prettier --write\",\n      \"standard --fix\",\n      \"git add\"\n    ]\n  }\n}\n```\n\n## Built With\n- [Prettier](https://prettier.io/)\n- [Standard](https://standardjs.com/)\n\n## Authors\n- [willfarrell](https://github.com/willfarrell/)\n\n## License\nThis project is licensed under the MIT License - see the LICENSE file for details\n\n## Acknowledgments\n- [sheerun/prettier-standard](https://github.com/sheerun/prettier-standard) for the insperation\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfarrell%2Fprettier-standard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillfarrell%2Fprettier-standard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfarrell%2Fprettier-standard/lists"}