diff --git a/package.json b/package.json index b6611c4e13..7ffda30205 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,10 @@ "name": "rippled", "version": "0.0.1", "description": "Rippled Server", - "private": true, - "directories": { "test": "test" }, - "dependencies": { "ripple-lib": "0.7.25", "async": "~0.2.9", @@ -16,17 +13,15 @@ "simple-jsonrpc": "~0.0.2" }, "devDependencies": { + "coffee-script": "~1.6.3", "mocha": "~1.13.0" }, - "scripts": { - "test": "mocha --reporter spec --ui tdd --timeout 10000 --slow 600 test/*-test.js" + "test": "mocha test/*-test.{js,coffee}" }, - "repository": { "type": "git", "url": "git://github.com/ripple/rippled.git" }, - "readmeFilename": "README.md" } diff --git a/test/mocha.opts b/test/mocha.opts new file mode 100644 index 0000000000..bc72ee58e1 --- /dev/null +++ b/test/mocha.opts @@ -0,0 +1 @@ +--reporter spec --compilers coffee:coffee-script --ui tdd --timeout 10000 --slow 600 \ No newline at end of file diff --git a/test/runall.sh b/test/runall.sh index 571a28a423..7964ce735e 100755 --- a/test/runall.sh +++ b/test/runall.sh @@ -1,4 +1,4 @@ #!/bin/bash -mocha --ui tdd --reporter spec --timeout 10000 test/*-test.js +mocha test/*-test.{js,coffee}