Merge pull request #566 from maraoz/update/README
Update readme and add test coverage reports
This commit is contained in:
commit
e632a62c4e
5 changed files with 37 additions and 14 deletions
1
.coveralls.yml
Normal file
1
.coveralls.yml
Normal file
|
|
@ -0,0 +1 @@
|
|||
repo_token: LccCN5zLEHlHnI86wSoX97JAF4ZluucAh
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -50,3 +50,6 @@ version.js
|
|||
|
||||
android/package
|
||||
android/*.apk
|
||||
|
||||
|
||||
coverage/
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
[](http://travis-ci.org/bitpay/copay)
|
||||
[](https://coveralls.io/r/bitpay/copay)
|
||||
|
||||
# Copay
|
||||
Copay is a secure bitcoin wallet for friends and companies.
|
||||
Easy-to-use multisignature bitcoin wallet, bringing corporate-level security to ordinary people.
|
||||
|
||||
When friends or company executives join a Copay wallet, more than one person must sign every transaction. If your computer is compromised and your private keys are stolen, the bitcoins are still safe. This is in addition to state-of-the-art encrypted storage and communication.
|
||||
|
||||
|
||||
## Installation:
|
||||
|
||||
|
|
|
|||
37
package.json
37
package.json
|
|
@ -20,30 +20,39 @@
|
|||
"main": "app.js",
|
||||
"scripts": {
|
||||
"start": "node server.js",
|
||||
"test": "mocha"
|
||||
"test": "node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
||||
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter spec test"
|
||||
},
|
||||
"homepage": "https://github.com/bitpay/copay",
|
||||
"devDependencies": {
|
||||
"async": "~0.9.0",
|
||||
"bitcore": "git://github.com/bitpay/bitcore.git",
|
||||
"blanket": "^1.1.6",
|
||||
"browser-pack": "~2.0.1",
|
||||
"browserify": "~3.32.1",
|
||||
"buffertools": "~2.0.1",
|
||||
"chai": "~1.9.1",
|
||||
"commander": "~2.1.0",
|
||||
"coveralls": "^2.10.0",
|
||||
"express": "4.0.0",
|
||||
"grunt-browserify": "~2.0.0",
|
||||
"grunt-contrib-watch": "~0.5.3",
|
||||
"grunt-markdown": "~0.5.0",
|
||||
"grunt-mocha-test": "~0.8.2",
|
||||
"grunt-shell": "~0.6.4",
|
||||
"grunt-browserify": "~2.0.0",
|
||||
"grunt-markdown": "~0.5.0",
|
||||
"istanbul": "^0.2.10",
|
||||
"karma": "~0.12.9",
|
||||
"karma-chrome-launcher": "~0.1.3",
|
||||
"mocha": "~1.18.2",
|
||||
"karma-mocha": "~0.1.3",
|
||||
"buffertools": "~2.0.1",
|
||||
"browserify": "~3.32.1",
|
||||
"browser-pack": "~2.0.1",
|
||||
"commander": "~2.1.0",
|
||||
"uglifyify": "~1.2.3",
|
||||
"soop": "~0.1.5",
|
||||
"bitcore": "git://github.com/bitpay/bitcore.git",
|
||||
"chai": "~1.9.1",
|
||||
"sinon": "~1.9.1",
|
||||
"mocha": "~1.18.2",
|
||||
"mocha-lcov-reporter": "0.0.1",
|
||||
"node-cryptojs-aes": "=0.4.0",
|
||||
"async": "~0.9.0"
|
||||
"sinon": "~1.9.1",
|
||||
"soop": "~0.1.5",
|
||||
"travis-cov": "^0.2.5",
|
||||
"uglifyify": "~1.2.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"mocha": "^1.18.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@ var copay = copay || require('../copay');
|
|||
var API = API || copay.API;
|
||||
var Storage = Storage || require('../test/mocks/FakeStorage');
|
||||
|
||||
var blanket = require("blanket")({
|
||||
"pattern": "/js/"
|
||||
});
|
||||
|
||||
describe('API', function() {
|
||||
|
||||
it('should have a command called "echo"', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue