Browse Source

hdkey: clean up package, add iojs to travis

master
JP Richardson 10 years ago
parent
commit
a5ec59514d
  1. 2
      .npmignore
  2. 5
      .travis.yml
  3. 9
      Makefile
  4. 12
      package.json

2
.npmignore

@ -1,4 +1,4 @@
coverage/
.travis.yml
.min-wid
.min-wd
Makefile

5
.travis.yml

@ -2,9 +2,10 @@ language: node_js
before_install:
- "npm install npm -g"
node_js:
- 0.11
- 0.12
- 0.10
- iojs
env:
- TEST_SUITE=unit
- TEST_SUITE=test
- TEST_SUITE=coveralls
script: "npm run-script $TEST_SUITE"

9
Makefile

@ -1,9 +0,0 @@
test: node-test browser-test
node-test:
@./node_modules/.bin/mocha
browser-test:
@./node_modules/.bin/mochify --wd -R spec
.PHONY: node-test browser-test

12
package.json

@ -21,13 +21,12 @@
},
"homepage": "https://github.com/cryptocoinjs/hdkey",
"devDependencies": {
"mocha": "^1.19.0",
"coveralls": "^2.10.0",
"istanbul": "^0.3.17",
"mocha": "^2.2.5",
"mocha-lcov-reporter": "0.0.1",
"istanbul": "^0.2.10",
"secure-random": "^1.0.0",
"mochify": "^1.1.2",
"crypto-browserify": "^3.2.4"
"mochify": "^2.10.0",
"secure-random": "^1.0.0"
},
"dependencies": {
"bigi": "^1.1.0",
@ -35,7 +34,8 @@
"coinstring": "^2.0.0"
},
"scripts": {
"unit": "./node_modules/.bin/mocha",
"browser-test": "mochify --wd -R spec",
"test": "standard && 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"
}

Loading…
Cancel
Save