From 7bed8094986b587d6a52a3dfdffef24e18259cd9 Mon Sep 17 00:00:00 2001 From: James Alley Date: Wed, 4 Mar 2015 14:55:49 -0800 Subject: [PATCH 1/8] updating package.json after running npm init; getting things in order so I can publish the build files to NPM right from the pure repo. Added an .npmigore file to that end. --- .npmignore | 10 ++++++++++ package.json | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..aefd30d --- /dev/null +++ b/.npmignore @@ -0,0 +1,10 @@ +.DS_Store +artifacts/ +bower_components/ +bower.json +CONTRIBUTING.md +Gruntfile.js +node_modules/ +release/ +src/ +tasks/ \ No newline at end of file diff --git a/package.json b/package.json index 97fa225..06acfbb 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,10 @@ { - "name": "pure", + "name": "purecss", "version": "0.6.1-pre", - "private": true, - "repository": "git://github.com/yahoo/pure.git", + "repository": { + "type": "git", + "url": "git://github.com/yahoo/pure.git" + }, "scripts": { "test": "grunt test" }, @@ -20,5 +22,38 @@ "grunt-css-selectors": "^1.1.0", "grunt-pure-grids": "^1.0.0", "grunt-stripmq": "0.0.6" - } + }, + "description": "Pure is a ridiculously tiny CSS library you can use to start any web project.", + "bugs": { + "url": "https://github.com/yahoo/pure/issues" + }, + "homepage": "https://github.com/yahoo/pure", + "main": "README.md", + "dependencies": { + "grunt": "^0.4.5", + "grunt-cli": "^0.1.13", + "grunt-contrib-csslint": "^0.2.0", + "grunt-contrib-compress": "^0.13.0", + "bower": "^1.3.12", + "grunt-contrib-concat": "^0.4.0", + "grunt-contrib-cssmin": "^0.6.2", + "grunt-contrib-watch": "^0.6.1", + "grunt-css-selectors": "^1.1.0", + "grunt-pure-grids": "^1.0.2", + "grunt-stripmq": "^0.0.6", + "grunt-contrib-copy": "^0.5.0", + "grunt-contrib-clean": "^0.5.0" + }, + "keywords": [ + "pure", + "css", + "purecss", + "yahoo" + ], + "authors": [ + "ericf ", + "tilomitra ", + "jamesalley " + ], + "license": "BSD" } From 5bfa287743ea5a9a47bf2125fc778c30be958989 Mon Sep 17 00:00:00 2001 From: James Alley Date: Wed, 4 Mar 2015 14:57:49 -0800 Subject: [PATCH 2/8] adding broader npmignore to ignore all files with preceding . --- .npmignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.npmignore b/.npmignore index aefd30d..22c5af6 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,4 @@ +.* .DS_Store artifacts/ bower_components/ From f0da6fb207e418c9fc2e24d10d8c61631690cf76 Mon Sep 17 00:00:00 2001 From: James Alley Date: Wed, 4 Mar 2015 15:21:47 -0800 Subject: [PATCH 3/8] adding EOF newline --- .npmignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.npmignore b/.npmignore index 22c5af6..0c27243 100644 --- a/.npmignore +++ b/.npmignore @@ -8,4 +8,4 @@ Gruntfile.js node_modules/ release/ src/ -tasks/ \ No newline at end of file +tasks/ From 54f3587c4c32f26cb0ef5f58d718acaec68453bd Mon Sep 17 00:00:00 2001 From: James Alley Date: Wed, 4 Mar 2015 15:27:18 -0800 Subject: [PATCH 4/8] redundant --- .npmignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.npmignore b/.npmignore index 0c27243..3b41eed 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,4 @@ .* -.DS_Store artifacts/ bower_components/ bower.json From 897bf379a69e85d9dc6bc00840f4e19b989f7587 Mon Sep 17 00:00:00 2001 From: James Alley Date: Wed, 4 Mar 2015 15:33:17 -0800 Subject: [PATCH 5/8] adding prepublish step --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 06acfbb..32c51dc 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "url": "git://github.com/yahoo/pure.git" }, "scripts": { - "test": "grunt test" + "test": "grunt test", + "prepublish": "grunt release" }, "devDependencies": { "bower": "^1.3.7", From b87103a545f3a1815a2a1eccb23f62fd4a681580 Mon Sep 17 00:00:00 2001 From: James Alley Date: Wed, 4 Mar 2015 15:41:13 -0800 Subject: [PATCH 6/8] stripping out these dependencies (artifact of running npm init??) and adding matt --- package.json | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/package.json b/package.json index 32c51dc..6a2ff7b 100644 --- a/package.json +++ b/package.json @@ -30,21 +30,6 @@ }, "homepage": "https://github.com/yahoo/pure", "main": "README.md", - "dependencies": { - "grunt": "^0.4.5", - "grunt-cli": "^0.1.13", - "grunt-contrib-csslint": "^0.2.0", - "grunt-contrib-compress": "^0.13.0", - "bower": "^1.3.12", - "grunt-contrib-concat": "^0.4.0", - "grunt-contrib-cssmin": "^0.6.2", - "grunt-contrib-watch": "^0.6.1", - "grunt-css-selectors": "^1.1.0", - "grunt-pure-grids": "^1.0.2", - "grunt-stripmq": "^0.0.6", - "grunt-contrib-copy": "^0.5.0", - "grunt-contrib-clean": "^0.5.0" - }, "keywords": [ "pure", "css", @@ -54,6 +39,7 @@ "authors": [ "ericf ", "tilomitra ", + "msweeney ", "jamesalley " ], "license": "BSD" From 0aecd4eec0c31829affe516dddbedc77e9ce488f Mon Sep 17 00:00:00 2001 From: James Alley Date: Wed, 4 Mar 2015 15:44:50 -0800 Subject: [PATCH 7/8] updating homepage and main --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6a2ff7b..ab9b8ba 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "bugs": { "url": "https://github.com/yahoo/pure/issues" }, - "homepage": "https://github.com/yahoo/pure", - "main": "README.md", + "homepage": "http://purecss.io", + "main": "build/pure-min.css", "keywords": [ "pure", "css", From 9a71ba4a87ea163caf17a83262de7ec9bb6138cd Mon Sep 17 00:00:00 2001 From: James Alley Date: Wed, 4 Mar 2015 16:05:57 -0800 Subject: [PATCH 8/8] adding files property to be explicit about what to include --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index ab9b8ba..29e9549 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "test": "grunt test", "prepublish": "grunt release" }, + "files": "build/", "devDependencies": { "bower": "^1.3.7", "grunt": "^0.4.5",