{"id":19448291,"url":"https://github.com/csbun/grunt-file-modified","last_synced_at":"2026-06-06T23:32:20.141Z","repository":{"id":27218730,"uuid":"30689822","full_name":"csbun/grunt-file-modified","owner":"csbun","description":"check if files is modified","archived":false,"fork":false,"pushed_at":"2016-02-21T02:01:44.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-07T23:21:13.146Z","etag":null,"topics":[],"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/csbun.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-02-12T06:51:40.000Z","updated_at":"2016-02-21T02:01:45.000Z","dependencies_parsed_at":"2022-07-24T14:17:13.813Z","dependency_job_id":null,"html_url":"https://github.com/csbun/grunt-file-modified","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Fgrunt-file-modified","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Fgrunt-file-modified/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Fgrunt-file-modified/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Fgrunt-file-modified/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csbun","download_url":"https://codeload.github.com/csbun/grunt-file-modified/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240636664,"owners_count":19832922,"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":[],"created_at":"2024-11-10T16:25:52.408Z","updated_at":"2025-02-25T08:53:08.642Z","avatar_url":"https://github.com/csbun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-file-modified\n\n\u003e check if files is modified via git\n\n## Getting Started\nThis plugin requires Grunt `~0.4.5`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-file-modified --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-file-modified');\n```\n\n## The \"file_modified\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `file_modified` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  file_modified: {\n    your_task: {\n      options: {\n        paths: ['./']\n      }\n    }\n  },\n});\n```\n\n### Options\n\n#### options.paths\nType: `Array`\nDefault value: `['./']`\n\nFile paths to be check.\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n\n- __0.0.3__ use git diff --relative\n- __0.0.2__ use git diff\n- __0.0.1__ beta\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsbun%2Fgrunt-file-modified","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsbun%2Fgrunt-file-modified","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsbun%2Fgrunt-file-modified/lists"}