{"id":19219941,"url":"https://github.com/huanghaiyang/grunt-tasks-relation","last_synced_at":"2025-07-21T11:02:13.995Z","repository":{"id":57255815,"uuid":"64906728","full_name":"huanghaiyang/grunt-tasks-relation","owner":"huanghaiyang","description":"grunt plugin for tasks relation","archived":false,"fork":false,"pushed_at":"2016-08-05T15:27:57.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T03:34:21.397Z","etag":null,"topics":["grunt","grunt-plugins","grunt-task"],"latest_commit_sha":null,"homepage":"","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/huanghaiyang.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":"2016-08-04T05:57:56.000Z","updated_at":"2019-06-16T14:16:12.000Z","dependencies_parsed_at":"2022-09-04T23:01:21.186Z","dependency_job_id":null,"html_url":"https://github.com/huanghaiyang/grunt-tasks-relation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huanghaiyang%2Fgrunt-tasks-relation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huanghaiyang%2Fgrunt-tasks-relation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huanghaiyang%2Fgrunt-tasks-relation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huanghaiyang%2Fgrunt-tasks-relation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huanghaiyang","download_url":"https://codeload.github.com/huanghaiyang/grunt-tasks-relation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240293285,"owners_count":19778472,"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":["grunt","grunt-plugins","grunt-task"],"created_at":"2024-11-09T14:33:22.993Z","updated_at":"2025-02-23T09:20:23.316Z","avatar_url":"https://github.com/huanghaiyang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## grunt-tasks-relation\ngrunt plugin for tasks relation.\n\n## install\n```\nnpm install grunt-tasks-relation --save-dev\n```\n\n## how to use\nload plugin in Gruntfile.js\n```\ngrunt.loadNpmTasks('grunt-tasks-relation');\n\n```\ntest example \n```javascript\ngrunt.initConfig({\n    jshint: {\n      all: [\n        'src/**/*.js'\n      ],\n      options: {\n        jshintrc: '.jshintrc'\n      }\n    },\n    clean: {\n      tests: ['tmp']\n    },\n    tasksRelation: {\n      files: []\n    },\n    watch: {\n      tasks: ['clean', 'jshint'],\n      scripts: {\n        files: 'src/**/*.js',\n        tasks: ['jshint'],\n        options: {\n          interrupt: true,\n        }\n      }\n    }\n  });\n```\n\nsee ```tasksRelation```\n\nnow you can run ```grunt tasksRelation``` on your command\n\n## example result\nplease execute ```npm test``` in this project, you will see\n\n```\nRunning \"tasksRelation:files\" (tasksRelation) task\n+-------------------------------------------------+\n+these tasks defined or used in your Gruntfile.js.+\n+-------------+-------------+------+-------------+\n|test         |jshint       |clean |tasksRelation|\n|test1        |tasksRelation|      |             |\n|watch        |clean        |jshint|             |\n|tasksRelation|             |      |             |\n|jshint       |             |      |             |\n|clean        |             |      |             |\n+-------------+-------------+------+-------------+\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuanghaiyang%2Fgrunt-tasks-relation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuanghaiyang%2Fgrunt-tasks-relation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuanghaiyang%2Fgrunt-tasks-relation/lists"}