incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [9/35] git commit: moved dependencies to package.json and updated readme to reflect dependency installation / instructions
Date Thu, 23 Feb 2012 17:53:18 GMT
moved dependencies to package.json and updated readme to reflect dependency installation /
instructions


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/aeffdf3a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/aeffdf3a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/aeffdf3a

Branch: refs/heads/ios
Commit: aeffdf3a12ee2b0b2a19301dbfd6f794f7834473
Parents: cebd5fd
Author: Fil Maj <filip.maj@nitobi.com>
Authored: Wed Feb 22 11:00:59 2012 -0800
Committer: Fil Maj <filip.maj@nitobi.com>
Committed: Wed Feb 22 11:00:59 2012 -0800

----------------------------------------------------------------------
 README.md    |   23 ++++++++++++++++++-----
 configure    |    2 --
 package.json |   39 +++++++++++++++++++++++++++++++++++----
 3 files changed, 53 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/aeffdf3a/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 6aabaea..ebde2ce 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@ A unified JavaScript layer for [Apache Cordova](http://incubator.apache.org/proj
 
 # Project Structure
 
-    callback-js
+    cordova-js
       |
       |-build/
       | Will contain any build modules (currently nothing here as it is all hacked
@@ -44,11 +44,26 @@ A unified JavaScript layer for [Apache Cordova](http://incubator.apache.org/proj
 
 # Building
 
-Just make sure you have `node`, `npm` and `jake` installed and run:
+Just make sure you have [node.js](http://nodejs.org) installed. It
+should come pre-installed with [npm](http://npmjs.org) - but if you
+install node and can't run `npm` then head over to the website and
+install it yourself. Make sure you have all of the node dependencies
+installed by running the following command from the repository root:
+
+    npm install
+
+Then all of the build tasks can be run via:
 
     jake
 
-It will build into the `./pkg` folder.
+This will run the "build" and "test" tasks by default. All of the available tasks
+are:
+
+- build: creates platform versions of cordova-js and builds them into
+  the `pkg` directory.
+- test: runs all of the unit tests inside node.
+- btest: creates a server so you can run the tests inside a browser.
+- clean: cleans out the `pkg` directory
 
 # How It Works
 
@@ -86,8 +101,6 @@ or to run in the browser:
     jake btest
 
 
-Coming soon, nodeJS running of tasks!
-
 Final testing should always be done with the [Mobile Spec test application](https://github.com/apache/incubator-cordova-mobile-spec).
 
 # Integration

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/aeffdf3a/configure
----------------------------------------------------------------------
diff --git a/configure b/configure
deleted file mode 100755
index 01fe8a1..0000000
--- a/configure
+++ /dev/null
@@ -1,2 +0,0 @@
-npm install -g jake
-npm install connect jsdom

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/aeffdf3a/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 85e07d2..92f25ac 100644
--- a/package.json
+++ b/package.json
@@ -1,15 +1,46 @@
 {
   "author": "Gord Tanner <gtanner@gmail.com> (http://github.com/gtanner)",
-  "name": "cordova",
-  "description": "Cordova Javascript",
+  "name": "cordova-js",
+  "description": "Cordova JavaScript: a unified JavaScript layer for the Cordova suite of
projects enabling cross-platform native mobile development of applications using HTML, CSS
and JavaScript.",
   "version": "0.0.1",
   "homepage": "http://incubator.apache.org/callback/",
   "repository": {
-    "url": ""
+    "type":"git",
+    "url": "http://git-wip-us.apache.org/repos/asf/incubator-cordova-js.git"
   },
   "engines": {
     "node": "~0.5.10"
   },
-  "dependencies": {},
+  "contributors":[
+    {
+      "name":"Fil Maj",
+      "email":"filmaj@apache.org"
+    },
+    {
+      "name":"Jesse MacFadyen",
+      "email":""
+    },
+    {
+      "name":"Bryce Curtis",
+      "email":""
+    },
+    {
+      "name":"Drew Walters",
+      "email":""
+    },
+    {
+      "name":"Patrick Mueller",
+      "email":""
+    },
+    {
+      "name":"Simon MacDonald",
+      "email":""
+    }
+  ],
+  "dependencies": {
+    "jake":"0.2.18",
+    "jsdom":"0.2.10",
+    "connect":"1.8.5"
+  },
   "devDependencies": {}
 }


Mime
View raw message