From e7ae7e02de4e752a8f4f60b3d1c7b103e05a80f0 Mon Sep 17 00:00:00 2001 From: slackersoft Date: Tue, 16 Dec 2014 18:03:48 -0800 Subject: [PATCH] Bring npm and bower configurations in line with each other --- .gitignore | 1 + .npmignore | 10 ++++++++++ bower.json | 13 ++++++------- package.json | 11 ++++++++--- 4 files changed, 25 insertions(+), 10 deletions(-) create mode 100644 .npmignore diff --git a/.gitignore b/.gitignore index b716720..04bcf07 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .idea/ .rvmrc *.swp +bower_components node_modules diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..6877cd8 --- /dev/null +++ b/.npmignore @@ -0,0 +1,10 @@ +**/.* +Gemfile +Gemfile.lock +Gruntfile.js +Rakefile +bower_components +node_modules +spec +src +travis-script.sh diff --git a/bower.json b/bower.json index a55799d..af384e2 100644 --- a/bower.json +++ b/bower.json @@ -1,13 +1,15 @@ { "name": "jasmine-ajax", + "description": "A library for faking Ajax responses in your Jasmine suite.", "version": "2.99.0", + "main": "lib/mock-ajax.js", + "license": "MIT", + "homepage": "https://github.com/jasmine/jasmine-ajax", "authors": [ "JR Boyens ", "Gregg Van Hove " ], - "description": "A library for faking Ajax responses in your Jasmine suite.", - "main": "lib/mock-ajax.js", "dependencies": { "jasmine" : "~2.0" }, @@ -18,19 +20,16 @@ "jasmine", "ajax" ], - "license": "MIT", "ignore": [ "**/.*", "Gemfile", "Gemfile.lock", - "Gruntfile", + "Gruntfile.js", "Rakefile", - "app/bower_components", "bower_components", "node_modules", "spec", - "test", - "tests", + "src", "travis-script.sh" ] } diff --git a/package.json b/package.json index 69e206e..63bb154 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,16 @@ { "name": "jasmine-ajax", "description": "A library for faking Ajax responses in your Jasmine suite", - "url": "https://github.com/jasmine/jasmine-ajax", - "main": "lib/mock-ajax.js", "version": "2.99.0", - "private": false, + "main": "lib/mock-ajax.js", "license": "MIT", + + "url": "https://github.com/jasmine/jasmine-ajax", + "contributors": [ + "Gregg Van Hove ", + "JR Boyens " + ], + "private": false, "repository": { "type": "git", "url": "https://github.com/jasmine/jasmine-ajax"