From 1911ea006d77dd2ecc9121d3dfc97217593a5fb4 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 6 May 2014 14:59:35 +0800 Subject: [PATCH 1/2] more info in package.json --- package.json | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2d7758c..a60ab4f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,30 @@ { - "name": "components-jquery", + "name": "jquery", + "description": "JavaScript library for DOM operations", "version": "2.1.0", - "description": "jQuery component", - "keywords": ["jquery"], - "main": "./jquery.js" + "homepage": "http://jquery.com", + "author": { + "name": "jQuery Foundation and other contributors", + "url": "https://github.com/jquery/jquery/blob/master/AUTHORS.txt" + }, + "repository": { + "type": "git", + "url": "https://github.com/jquery/jquery.git" + }, + "keywords": [ + "jquery", + "javascript", + "browser", + "library" + ], + "bugs": { + "url": "http://bugs.jquery.com" + }, + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt" + } + ] } + From 531c2be9d1d3cd75804276a2d6bf5b8e43731b92 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 6 May 2014 15:02:31 +0800 Subject: [PATCH 2/2] Add spm support in package.json http://spmjs.io/ --- README.md | 1 + package.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 414d422..e39a59e 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,4 @@ Package Managers * [Bower](http://bower.io/): `jquery` * [Component](https://github.com/component/component): `components/jquery` * [Composer](http://packagist.org/packages/components/jquery): `components/jquery` +* [spm](http://spmjs.io/package/jquery): `jquery` diff --git a/package.json b/package.json index a60ab4f..612190c 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,9 @@ "type": "MIT", "url": "https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt" } - ] + ], + "spm": { + "main": "jquery.js" + } }