{"id":15685226,"url":"https://github.com/aduth/grunt-jquerymanifest","last_synced_at":"2025-08-24T06:34:17.775Z","repository":{"id":6525113,"uuid":"7766099","full_name":"aduth/grunt-jquerymanifest","owner":"aduth","description":"Generate jQuery plugin manifest automatically from package.json values","archived":false,"fork":false,"pushed_at":"2013-12-30T01:13:48.000Z","size":145,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T18:09:36.064Z","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/aduth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-23T02:19:09.000Z","updated_at":"2015-03-11T14:40:37.000Z","dependencies_parsed_at":"2022-09-04T14:12:54.016Z","dependency_job_id":null,"html_url":"https://github.com/aduth/grunt-jquerymanifest","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/aduth%2Fgrunt-jquerymanifest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduth%2Fgrunt-jquerymanifest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduth%2Fgrunt-jquerymanifest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduth%2Fgrunt-jquerymanifest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aduth","download_url":"https://codeload.github.com/aduth/grunt-jquerymanifest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931555,"owners_count":21827112,"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-03T17:24:21.116Z","updated_at":"2025-05-07T18:09:41.500Z","avatar_url":"https://github.com/aduth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-jquerymanifest\r\n\r\n*Requires Grunt 0.4.0 or newer*\r\n\r\nGenerate jQuery plugin manifest automatically from package.json values\r\n\r\n## Getting Started\r\n\r\nIf you haven't used [grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](https://github.com/gruntjs/grunt/blob/devel/docs/getting_started.md) guide, as it explains how to create a gruntfile as well as install and use grunt plugins. Once you're familiar with that process, install this plugin with this command:\r\n\r\n```shell\r\nnpm install grunt-jquerymanifest --save-dev\r\n```\r\n\r\n## Usage\r\n\r\nBelow is an example gruntfile configuration:\r\n\r\n```javascript\r\ngrunt.initConfig({\r\n    jquerymanifest: {\r\n        options: {\r\n            source: grunt.file.readJSON('package.json'),\r\n            overrides: {\r\n                name: \"myPlugin\",\r\n                title: \"jquery.myPlugin\",\r\n                author: {\r\n                    name: \"Andrew Duthie\",\r\n                    email: \"andrew@andrewduthie.com\",\r\n                    url: \"http://www.andrewduthie.com\"\r\n                },\r\n                homepage: \"http://github.com/aduth/grunt-jquerymanifest\",\r\n                demo: \"http://github.com/aduth/grunt-jquerymanifest\"\r\n            }\r\n        }\r\n    }\r\n});\r\n\r\ngrunt.loadNpmTasks('grunt-jquerymanifest');\r\n\r\ngrunt.registerTask('default', ['jquerymanifest']);\r\n\r\n```\r\n\r\n## Automatic Mappings\r\n\r\nThe following manifest properties are automatically mapped from `package.json`:\r\n\r\n* `name` and `title` - Package `name`\r\n* `author` - Generates `people` object using package `author` as object, or with name as `author` if string\r\n* `licenses` - Generates `licenses` array using package `license` as object, or if string, with type as `license` and url as `http://opensource.org/licenses/\u003clicensename\u003e` (always check to ensure link is valid with license name)\r\n* `dependencies` - Defaults to `jQuery: \"*\"` if not otherwise defined in `package.json`\r\n\r\nAdditionally, a number of properties will be copied verbatim if they are defined in `package.json`:\r\n\r\n* `version`\r\n* `homepage`\r\n* `description`\r\n* `keywords`\r\n* `docs`\r\n* `demo`\r\n* `download`\r\n* `bugs`\r\n* `maintainers`\r\n\r\n## Options\r\n\r\n* `source` - This will typically be your package.json file. Specify either with a string (i.e. `\"package.json\"`) or the object itself (i.e. `grunt.file.readJSON('package.json')`)\r\n* `overrides` - An object containing custom values which will override any inferred value. For example, you might want to specify a `homepage` or `demo` URL here, since these are usually not defined as package.json properties\r\n\r\n## License\r\n\r\nCopyright (c) 2014 Andrew Duthie\r\n\r\nReleased under the MIT License (see LICENSE.txt)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faduth%2Fgrunt-jquerymanifest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faduth%2Fgrunt-jquerymanifest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faduth%2Fgrunt-jquerymanifest/lists"}