From 058ee3b0adf88c4cdd3c9c6b4604d643f39f6075 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 16 Feb 2014 20:08:25 -0800 Subject: [PATCH] Add package.json --- CHANGELOG.md | 2 ++ README.md | 6 ++++-- bower.json | 21 +++++++++++---------- component.json | 12 ++++++------ package.json | 17 +++++++++++++++++ 5 files changed, 40 insertions(+), 18 deletions(-) create mode 100644 package.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 81be7a2..ff47984 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ === HEAD +* Add package.json for npm support. + === 3.0.0 (January 28, 2014) === 3.0.0-rc.1 (January 26, 2014) diff --git a/README.md b/README.md index 91dc161..80ec51a 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,11 @@ normalizing. Download from the [project page](http://necolas.github.io/normalize.css/). -Install with [Bower](http://bower.io/): `bower install --save normalize-css` +Install with [Component(1)](https://github.com/component/component/): `component install necolas/normalize.css` -Install with [Component(1)](http://component.io/): `component install necolas/normalize.css` +Install with [npm](http://npmjs.org/): `npm install --save normalize.css` + +Install with [Bower](http://bower.io/): `bower install --save normalize.css` ## What does it do? diff --git a/bower.json b/bower.json index b43cfe2..473f60f 100644 --- a/bower.json +++ b/bower.json @@ -1,12 +1,13 @@ { - "name": "normalize-css", - "version": "3.0.0", - "main": "normalize.css", - "author": "Nicolas Gallagher", - "ignore": [ - "CHANGELOG.md", - "CONTRIBUTING.md", - "component.json", - "test.html" - ] + "name": "normalize-css", + "version": "3.0.0", + "main": "normalize.css", + "author": "Nicolas Gallagher", + "ignore": [ + "CHANGELOG.md", + "CONTRIBUTING.md", + "component.json", + "package.json", + "test.html" + ] } diff --git a/component.json b/component.json index b9061e9..0a9b8b6 100644 --- a/component.json +++ b/component.json @@ -1,8 +1,8 @@ { - "name": "normalize-css", - "repo": "necolas/normalize.css", - "version": "3.0.0", - "styles": ["normalize.css"], - "author": "Nicolas Gallagher", - "license": "MIT" + "name": "normalize.css", + "repo": "necolas/normalize.css", + "version": "3.0.0", + "styles": ["normalize.css"], + "author": "Nicolas Gallagher", + "license": "MIT" } diff --git a/package.json b/package.json new file mode 100644 index 0000000..a7e14e2 --- /dev/null +++ b/package.json @@ -0,0 +1,17 @@ +{ + "name": "normalize.css", + "version": "3.0.0", + "description": "Normalize.css as a node packaged module", + "style": "normalize.css", + "files": [ + "normalize.css", + "component.json" + ], + "homepage": "http://necolas.github.io/normalize.css", + "repository": { + "type": "git", + "url": "git://github.com/necolas/normalize.css.git" + }, + "author": "Nicolas Gallagher", + "license": "MIT" +}