diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ee6d926 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: node_js +before_install: + - "npm install npm -g" +node_js: + - 0.11 + - 0.10 +env: + - TEST_SUITE=unit + - TEST_SUITE=coveralls +script: "npm run-script $TEST_SUITE" \ No newline at end of file diff --git a/README.md b/README.md index e69de29..13ab325 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,9 @@ +hdkey +===== + +[![build status](https://secure.travis-ci.org/cryptocoinjs/hdkey.png)](http://travis-ci.org/cryptocoinjs/hdkey) +[![Coverage Status](https://img.shields.io/coveralls/cryptocoinjs/hdkey.svg)](https://coveralls.io/r/cryptocoinjs/hdkey) + +A JavaScript component for [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki)(hierarchical deterministic keys). **API is very unstable at the moment. Don't even think about using this.** Should stabilize within the next few days. + +Thanks to the active BitcoinJS team and their hard work - some code borrowed from it. diff --git a/package.json b/package.json index a4f9077..a4c9273 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,6 @@ "deterministic", "crypto" ], - "author": "", - "license": "MIT", "bugs": { "url": "https://github.com/cryptocoinjs/hdkey/issues" }, @@ -31,11 +29,19 @@ "devDependencies": { "terst": "^0.1.0", "mocha": "^1.19.0", - "bs58": "^1.0.0" + "bs58": "^1.0.0", + "coveralls": "^2.10.0", + "mocha-lcov-reporter": "0.0.1", + "istanbul": "^0.2.10" }, "dependencies": { "sha512": "0.0.1", "eckey": "^0.4.2", "bigi": "^1.1.0" + }, + "scripts": { + "unit": "./node_modules/.bin/mocha", + "coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter list test/*.js", + "coveralls": "npm run-script coverage && node ./node_modules/.bin/coveralls < coverage/lcov.info" } }