From f7f627a5bd08a4618abdf0dcbf42a0be6ce91448 Mon Sep 17 00:00:00 2001 From: Callum Macrae Date: Thu, 10 Jul 2014 14:37:48 +0100 Subject: [PATCH 1/2] Added package.json --- package.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 00000000..16e72b26 --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "jquery-ujs", + "version": "1.0.0", + "description": "Ruby on Rails unobtrusive scripting adapter for jQuery", + "main": "src/rails.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/rails/jquery-ujs.git" + }, + "contributors": [ + "Stephen St. Martin", + "Steve Schwartz" + ], + "license": "MIT", + "bugs": { + "url": "https://github.com/rails/jquery-ujs/issues" + }, + "homepage": "https://github.com/rails/jquery-ujs", + "dependencies": { + "jquery": ">=1.8.0" + } +} From 92a95a8991c156f9b371304960f021133468d57f Mon Sep 17 00:00:00 2001 From: Callum Macrae Date: Thu, 10 Jul 2014 14:40:54 +0100 Subject: [PATCH 2/2] Updated npm test --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 16e72b26..4d7ef388 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Ruby on Rails unobtrusive scripting adapter for jQuery", "main": "src/rails.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"See the wiki: https://github.com/rails/jquery-ujs/wiki/Running-Tests-and-Contributing\" && exit 1" }, "repository": { "type": "git",