{"id":17688017,"url":"https://github.com/blaise-io/grunt-gcc-rest","last_synced_at":"2025-07-18T17:03:37.638Z","repository":{"id":10485046,"uuid":"12664455","full_name":"blaise-io/grunt-gcc-rest","owner":"blaise-io","description":"Grunt plugin for compiling code using Google Closure Compiler’s REST API.","archived":false,"fork":false,"pushed_at":"2016-02-29T15:57:24.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T16:05:54.898Z","etag":null,"topics":[],"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/blaise-io.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":"2013-09-07T12:18:30.000Z","updated_at":"2016-08-10T07:25:58.000Z","dependencies_parsed_at":"2022-09-11T16:31:48.432Z","dependency_job_id":null,"html_url":"https://github.com/blaise-io/grunt-gcc-rest","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blaise-io%2Fgrunt-gcc-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blaise-io%2Fgrunt-gcc-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blaise-io%2Fgrunt-gcc-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blaise-io%2Fgrunt-gcc-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blaise-io","download_url":"https://codeload.github.com/blaise-io/grunt-gcc-rest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250262610,"owners_count":21401715,"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-10-24T11:43:09.931Z","updated_at":"2025-04-22T14:46:48.398Z","avatar_url":"https://github.com/blaise-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-gcc-rest [![Build Status](https://travis-ci.org/blaise-io/grunt-gcc-rest.png?branch=master)](https://travis-ci.org/blaise-io/grunt-gcc-rest)\n\n\u003e Grunt plugin for compiling code using Google Closure Compiler’s REST API.\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out\nthe [Getting Started](http://gruntjs.com/getting-started) guide, as it explains\nhow to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as\ninstall and use Grunt plugins. Once you're familiar with that process, you may\ninstall this plugin with this command:\n\n```shell\nnpm install grunt-gcc-rest --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile\nwith this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-gcc-rest');\n```\n\n## The `gcc_rest` task\n\n### Overview\nIn your project's Gruntfile, add a section named `gcc_rest`\nto the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n    gcc_rest: {\n        options: {\n            params: {}\n        }\n    }\n});\n```\n\n### Options\n\n#### options.params\nType: `Object`\nDefault value: `{}`\n\nThis parameter contains the request parameters sent to the Google Closure Compiler's REST API.\n\n[Documentation on Google Closure Compiler's request parameters can be found here](https://developers.google.com/closure/compiler/docs/api-ref).\nThe [additional web service options](http://code.google.com/p/closure-compiler/wiki/AdditionalWebserviceOptions) are also supported.\nUnsupported parameters will print a warning. grunt-gcc-rest does not overwrite Google Closure Compiler's default settings.\n\n### Usage Example\n\n```js\ngrunt.initConfig({\n    gcc_rest: {\n        files: {\n            'destination.js': ['source/*.js']\n        },\n        options: {\n            params: {\n                language: 'ECMASCRIPT5_STRICT',\n                compilation_level: 'ADVANCED_OPTIMIZATIONS',\n                warning_level: 'VERBOSE'\n            }\n        }\n    }\n});\n```\n\n## Release History\n - 2016-02-29: v0.1.6 Support Grunt 1.0\n - 2014-03-06: v0.1.5 Fix issues when compiling to multiple files\n - 2013-11-08: v0.1.4 Let gcc-rest take care of error logging\n - 2013-11-08: v0.1.3 Fix issue when compiling multiple tasks\n - 2013-10-05: v0.1.2 Fix error in handling gcc-rest logging\n - 2013-09-08: v0.1.0 Initial version\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblaise-io%2Fgrunt-gcc-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblaise-io%2Fgrunt-gcc-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblaise-io%2Fgrunt-gcc-rest/lists"}