Browse Source
cleanup runners, add coverage script, fix typo
hk-custom-address
Kyle Drake
11 years ago
No known key found for this signature in database
GPG Key ID: 8BE721072E1864BE
3 changed files with
5 additions and
3 deletions
-
.gitignore
-
package.json
-
test/ec.js
|
|
@ -1,2 +1,3 @@ |
|
|
|
node_modules |
|
|
|
bitcoinjs-min.js |
|
|
|
coverage |
|
|
|
|
|
@ -35,8 +35,9 @@ |
|
|
|
"files": "test/*.js" |
|
|
|
}, |
|
|
|
"scripts": { |
|
|
|
"test": "istanbul test ./node_modules/.bin/_mocha -- --reporter list test/*.js", |
|
|
|
"compile": "browserify src/index.js -s Bitcoin | uglifyjs > bitcoinjs-min.js" |
|
|
|
"test": "./node_modules/.bin/istanbul test ./node_modules/.bin/_mocha -- --reporter list test/*.js", |
|
|
|
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter list test/*.js", |
|
|
|
"compile": "./node_modules/.bin/browserify -s Bitcoin | ./node_modules/.bin/uglifyjs > bitcoinjs-min.js" |
|
|
|
}, |
|
|
|
"dependencies": { |
|
|
|
"crypto-js": "~3.1.2-2" |
|
|
|
|
|
@ -6,7 +6,7 @@ var ecdsa = require('../').ecdsa; |
|
|
|
var ecparams = sec('secp256k1'); |
|
|
|
|
|
|
|
describe('ecdsa', function() { |
|
|
|
it('handles point ultiplication', function() { |
|
|
|
it('handles point multiplication', function() { |
|
|
|
var G = ecparams.getG(); |
|
|
|
var n = ecparams.getN(); |
|
|
|
|
|
|
|