{"id":19863499,"url":"https://github.com/sturdynut/git-prepush-hook","last_synced_at":"2025-05-02T04:31:05.665Z","repository":{"id":57251102,"uuid":"43502516","full_name":"sturdynut/git-prepush-hook","owner":"sturdynut","description":"A really simple pre-push hook.","archived":false,"fork":false,"pushed_at":"2017-02-16T22:58:34.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T09:12:32.363Z","etag":null,"topics":["git","hooks"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/sturdynut.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":"2015-10-01T14:52:36.000Z","updated_at":"2017-09-25T14:23:21.000Z","dependencies_parsed_at":"2022-08-24T16:52:00.657Z","dependency_job_id":null,"html_url":"https://github.com/sturdynut/git-prepush-hook","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sturdynut%2Fgit-prepush-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sturdynut%2Fgit-prepush-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sturdynut%2Fgit-prepush-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sturdynut%2Fgit-prepush-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sturdynut","download_url":"https://codeload.github.com/sturdynut/git-prepush-hook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251986760,"owners_count":21675951,"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":["git","hooks"],"created_at":"2024-11-12T15:14:54.804Z","updated_at":"2025-05-02T04:31:03.472Z","avatar_url":"https://github.com/sturdynut.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-prepush-hook\n\n[![Dependency Status](https://david-dm.org/sturdynut/git-prepush-hook.svg)](https://david-dm.org/sturdynut/git-prepush-hook) \n[![devDependency Status](https://david-dm.org/sturdynut/git-prepush-hook/dev-status.png)](https://david-dm.org/sturdynut/git-prepush-hook?type=dev)\n\nA really simple pre-push hook.\n\n\u003e This package is completely inspired by https://github.com/nlf/precommit-hook, thank you [NLF](https://github.com/nlf).\n\n## Install\n`npm install git-prepush-hook`\n\n## Configuration\n\nConfigure the pre-push hooks via your `package.json`.\n\n```javascript\n{\n  \"name\": \"your_project\",\n  \"description\": \"just an example\",\n  \"scripts\": {\n    \"test\": \"gulp test\"\n  },\n  \"pre-push\": [\"test\"]\n}\n```\n\n\u003e Bugs or questions? [@sturdynut](http://twitter.com/sturdynut)\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsturdynut%2Fgit-prepush-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsturdynut%2Fgit-prepush-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsturdynut%2Fgit-prepush-hook/lists"}