{"id":15290746,"url":"https://github.com/nevware21/grunt-plugins","last_synced_at":"2026-02-24T08:50:19.502Z","repository":{"id":39637546,"uuid":"375951918","full_name":"nevware21/grunt-plugins","owner":"nevware21","description":"Plugins for GruntJS","archived":false,"fork":false,"pushed_at":"2025-03-25T12:42:38.000Z","size":882,"stargazers_count":2,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T01:35:53.450Z","etag":null,"topics":["grunt","grunt-plugin","grunt-plugins","grunt-task","grunt-ts","npm","npmjs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/nevware21.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-11T08:09:29.000Z","updated_at":"2024-12-01T05:15:56.000Z","dependencies_parsed_at":"2024-06-19T06:15:52.644Z","dependency_job_id":"8bfa2dbf-f0bb-4b90-97af-8fbb5a0601d4","html_url":"https://github.com/nevware21/grunt-plugins","commit_stats":{"total_commits":90,"total_committers":4,"mean_commits":22.5,"dds":0.3222222222222222,"last_synced_commit":"0050dfbcd351bb961e2331f283c37c95f04b7be0"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevware21%2Fgrunt-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevware21%2Fgrunt-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevware21%2Fgrunt-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevware21%2Fgrunt-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nevware21","download_url":"https://codeload.github.com/nevware21/grunt-plugins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248695482,"owners_count":21146956,"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-plugin","grunt-plugins","grunt-task","grunt-ts","npm","npmjs","typescript"],"created_at":"2024-09-30T16:09:18.199Z","updated_at":"2025-10-18T18:24:06.080Z","avatar_url":"https://github.com/nevware21.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e@Nevware21 GruntJS Plugins\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eThis Monorepo is aimed at providing additional GruntTS support tasks for TypeScript\u003c/p\u003e\n\n![GitHub Workflow Status (main)](https://img.shields.io/github/actions/workflow/status/nevware21/grunt-plugins/ci.yml?branch=main)\n\n# Current Plugins\n\n| Plugin | Description | Version\n|--------|---------|------------------\n| [grunt-ts-plugin](./ts-plugin) | Grunt-ts-plugin is an npm package that provides a TypeScript compilation task for GruntJS build scripts. | [Changelog](./ts-plugin/CHANGELOG.md) \u003cbr /\u003e [![npm version](https://badge.fury.io/js/%40nevware21%2Fgrunt-ts-plugin.svg)](https://badge.fury.io/js/%40nevware21%2Fgrunt-ts-plugin) \u003cbr /\u003e [![downloads](https://img.shields.io/npm/dm/%40nevware21/grunt-ts-plugin.svg)](https://img.shields.io/npm/dm/%40nevware21/grunt-ts-plugin)\n| [grunt-eslint-ts](./eslint-ts-plugin) | Grunt-eslint-ts provides a wrapper for running `eslint` using the `@typescript-eslint` parser for processing TypeScript files. |  [Changelog](./eslint-ts-plugin/CHANGELOG.md)  \u003cbr /\u003e [![npm version](https://badge.fury.io/js/%40nevware21%2Fgrunt-eslint-ts.svg)](https://badge.fury.io/js/%40nevware21%2Fgrunt-eslint-ts) \u003cbr /\u003e [![downloads](https://img.shields.io/npm/dm/%40nevware21/grunt-eslint-ts.svg)](https://img.shields.io/npm/dm/%40nevware21/grunt-eslint-ts)\n\nNote: These plugins have currently only been tested with the Grunt `1.4.0`.\n\n# Quickstart\n\n## [grunt-ts-plugin](./ts-plugin/README.md)\n\nInstall the npm packare: `npm install @nevware21/grunt-ts-plugin --save-dev`\n\n### Required packages\n\n| Package | Descriptpion\n|---------|----------------------\n| TypeScript | `npm install typescript --save-dev` - if you don't have TypeScript installed in your project, run\n| GruntJS | `npm install grunt --save-dev` - if you don't have GruntJS installed in your project\n| Grunt-Cli | `npm install grunt-cli --save-dev` - Suggested, if you have never used Grunt on your system\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\nmodule.exports = function(grunt) {\n  grunt.initConfig({\n    ts: {\n      options : {\n        debug: false\n      },\n      default: {\n        tsconfig: './default/tsconfig.json'\n      },\n      task1: {\n        // Just use the tsconfig\n        tsconfig: './task1/tsconfig.json'\n      },\n      task2: {\n        // Use the tsconfig and add the additional src files, you *could* call a function to return\n        // a dynamic array with the src files. The task doesn't call the function it expects a string[].\n        tsconfig: './task1/tsconfig.json',\n        src: [\n          './src/**/*.ts'\n        ]\n      },\n      task3: {\n        // As with task2, but also concatenate the output into a single file, this is the same as defining\n        // the out or outFile paramater in the compileOptions within the tsconfig.json.\n        // If you have both outDir in the tsConfig.json and this parameter -- this value will be ignored.\n        tsconfig: './task1/tsconfig.json',\n        src: [\n          './src/**/*.ts'\n        ],\n        out: './out/task1-dist.js'\n      },\n      task4: {\n        // As with task3, since 0.5.0 the tsconfig may have be inlined and specify more\n        // than just the filename / location of the tsconfig.json\n        tsconfig: {\n          name: './task1/tsconfig.json',\n          src: [\n            './src/**/*.ts'\n          ],\n          out: './out/task1-dist.js'\n        }\n      },\n      task5: {\n        // As with task3, since 0.5.0 the tsconfig may contain multiple inlined definitions\n        // and override the content of the loaded tsconfig.json\n        tsconfig: [\n          {\n            name: './task1/tsconfig.json',\n            src: [\n              './src/**/*.ts'\n            ],\n            out: './out/task5-dist.js'\n          },\n          {\n            name: './task1/tsconfig.json',\n            tsconfig: {\n              compilerOptions: {\n                target: \"es6\"\n              }\n            }\n            src: [\n              './src/**/*.ts'\n            ],\n            out: './out/task5-es6-dist.js'\n          },\n          {\n            name: './task1/tsconfig.json',\n            tsconfig: {\n              compilerOptions: {\n                target: \"esnext\"\n              }\n            }\n            src: [\n              './src/**/*.ts'\n            ],\n            out: './out/task5-esnext-dist.js'\n          }\n        ]\n      }\n  });\n  grunt.loadNpmTasks(\"@nevware21/grunt-ts-plugin\");\n  grunt.registerTask(\"default\", [\"ts\"]);\n  grunt.registerTask(\"task1\", [\"ts:task1\"]);\n  grunt.registerTask(\"task2\", [\"ts:task2\"]);\n  grunt.registerTask(\"task3\", [\"ts:task3\"]);\n};\n```\n\n## [grunt-eslint-ts](./eslint-ts-plugin/README.md)\n\nInstall the npm packare: `npm install @nevware21/grunt-eslint-ts --save-dev`\n\n| Package | Descriptpion\n|---------|----------------------\n| ESLint | `npm install eslint --save-dev` - if you don't have ESLint installed in your project, run\n| @typescript-eslint/eslint-plugin | `npm install @typescript-eslint/eslint-plugin --save-dev` - if you don't have the @typescript plugin installed\n| @typescript-eslint/parser | `npm install @typescript-eslint/parser --save-dev` - if you dont have the parser installed\n| eslint-plugin-security (Optional) | `npm install eslint-plugin-security --save-dev` - If you want to auto inject the extra security plugin\n| TypeScript | `npm install typescript --save-dev` - if you don't have TypeScript installed in your project, run\n| GruntJS | `npm install grunt --save-dev` - if you don't have GruntJS installed in your project\n| Grunt-Cli | `npm install grunt-cli --save-dev` - Suggested, if you have never used Grunt on your system\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\nmodule.exports = function(grunt) {\n  grunt.initConfig({\n    \"eslint-ts\": {\n        options: {\n            format: \"codeframe\",\n            suppressWarnings: false\n        },\n        \"shared\": {\n            tsconfig: \"./shared/tsconfig.json\",\n            ignoreFailures: true,\n            src: [\n                // Adds extra source files above those listed in the tsconfig.json\n                './shared/src/**/*.ts'\n            ]\n        },\n        \"ts_plugin\": {\n            tsconfig: \"./ts-plugin/tsconfig.json\",\n            ignoreFailures: true\n        },\n        \"eslint_ts\": {\n            tsconfig: \"./eslint-ts-plugin/tsconfig.json\",\n            ignoreFailures: true\n        },\n        \"shared-fix\": {\n            // You can specify the options, either in an options object like there or directly in the task\n            // definition like those above\n            options: {\n                tsconfig: \"./shared/tsconfig.json\",\n                fix: true,\n                src: [\n                    './shared/src/**/*.ts'\n                ]                \n            }\n        },\n        \"ts_plugin-fix\": {\n            options: {\n                tsconfig: \"./ts-plugin/tsconfig.json\",\n                fix: true\n            }\n        },\n        \"eslint_ts-fix\": {\n            options: {\n                tsconfig: \"./eslint-ts-plugin/tsconfig.json\",\n                fix: true,\n            }\n        }\n    }\n  });\n\n  grunt.loadNpmTasks(\"@nevware21/grunt-eslint-ts\");\n  grunt.registerTask(\"lint\", [ \"eslint-ts:shared\", \"eslint-ts:ts_plugin\", \"eslint-ts:eslint_ts\" ]);\n  grunt.registerTask(\"lint-fix\", [ \"eslint-ts:shared-fix\", \"eslint-ts:ts_plugin-fix\", \"eslint-ts:eslint_ts-fix\" ]);\n};\n```\n\n## Contributing\n\nRead our [contributing guide](./CONTRIBUTING.md) to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnevware21%2Fgrunt-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnevware21%2Fgrunt-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnevware21%2Fgrunt-plugins/lists"}