Skip to content

Commit

Permalink
Added package.json to manage development dependancies. Fixes #16
Browse files Browse the repository at this point in the history
Updated the README to reflect the new setup procedure.
  • Loading branch information
aron committed Feb 15, 2011
1 parent b74d1aa commit ec9dd54
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Development

If you wish to develop annotator, you'll need to have a working installation of [Node.js][node] (v0.2.x). I'd highly recommend installing both Node.js and the [Node Package Manager][npm], after which you can run the following to get up and running:

npm install coffee-script@1.0.0 jsdom@0.1.21 htmlparser@1.7.3
npm install .

If that worked, you should be able to run the tests:

Expand Down
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "annotator",
"version": "1.0.0beta3",
"description": "Inline annotation for the web. Select text, images, or (nearly) anything else, and add your notes.",
"repositories": [
{
"type": "git",
"url": "http://github.com/okfn/annotator.git"
}
],
"dependencies": {
"coffee-script": "1.0.1",
"jsdom": "0.1.23"
}
}

0 comments on commit ec9dd54

Please sign in to comment.