commit
4570b24a5d
|
@ -3,3 +3,7 @@
|
||||||
set -e -x
|
set -e -x
|
||||||
|
|
||||||
docker-compose up -d bigchaindb
|
docker-compose up -d bigchaindb
|
||||||
|
|
||||||
|
npm install
|
||||||
|
gem install cowsay
|
||||||
|
npm install -g codecov
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e -x
|
|
||||||
|
|
||||||
docker-compose run --rm js-bigchaindb-driver yarn test
|
|
|
@ -9,6 +9,7 @@
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.vscode
|
||||||
|
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.vscode
|
||||||
|
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,10 @@ services:
|
||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
node_js: 7
|
node_js:
|
||||||
|
- 8
|
||||||
|
- 9
|
||||||
|
- 10
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
@ -23,10 +26,8 @@ install:
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- .ci/travis-before-script.sh
|
- .ci/travis-before-script.sh
|
||||||
- gem install cowsay
|
|
||||||
- npm install -g codecov
|
|
||||||
|
|
||||||
script: yarn test
|
script: npm test
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"restructuredtext.confPath": "/home/michiel/projects/bigchaindb-driver/js-bigchaindb-driver"
|
|
||||||
}
|
|
|
@ -29,11 +29,11 @@ services:
|
||||||
retries: 3
|
retries: 3
|
||||||
command: -l DEBUG start
|
command: -l DEBUG start
|
||||||
tendermint:
|
tendermint:
|
||||||
image: tendermint/tendermint:0.12
|
image: tendermint/tendermint:0.19.2
|
||||||
volumes:
|
volumes:
|
||||||
- ./compose/tendermint/tmdata/config.toml:/tendermint/config.toml
|
- ./compose/tendermint/tmdata/config.toml:/tendermint/config.toml
|
||||||
entrypoint: ''
|
entrypoint: ''
|
||||||
ports:
|
ports:
|
||||||
- "46656"
|
- "46656"
|
||||||
- "46657"
|
- "46657"
|
||||||
command: bash -c "tendermint init && tendermint node"
|
command: sh -c "tendermint init && tendermint node --consensus.create_empty_blocks=false --proxy_app=tcp://bigchaindb:46658"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved
|
/* eslint-disable import/no-unresolved */
|
||||||
|
|
||||||
|
const driver = require('bigchaindb-driver')
|
||||||
require('dotenv').config()
|
require('dotenv').config()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved
|
/* eslint-disable import/no-unresolved */
|
||||||
|
|
||||||
|
const driver = require('bigchaindb-driver')
|
||||||
require('dotenv').config()
|
require('dotenv').config()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved
|
/* eslint-disable import/no-unresolved */
|
||||||
|
|
||||||
|
const driver = require('bigchaindb-driver')
|
||||||
require('dotenv').config()
|
require('dotenv').config()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
import bip39 from 'bip39' // eslint-disable-line import/no-unresolved
|
/* eslint-disable import/no-unresolved */
|
||||||
|
|
||||||
const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved
|
import bip39 from 'bip39'
|
||||||
|
|
||||||
|
const driver = require('bigchaindb-driver')
|
||||||
|
|
||||||
// ======== Create Keypair ======== //
|
// ======== Create Keypair ======== //
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"main": "./dist/node/index.js",
|
"main": "./dist/node/index.js",
|
||||||
"browser": "./dist/browser/bigchaindb-driver.cjs2.min.js",
|
"browser": "./dist/browser/bigchaindb-driver.cjs2.min.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint ./",
|
"lint": "./node_modules/.bin/eslint ./",
|
||||||
"build": "npm run clean && npm run build:cjs && npm run build:dist",
|
"build": "npm run clean && npm run build:cjs && npm run build:dist",
|
||||||
"build:bundle": "webpack",
|
"build:bundle": "webpack",
|
||||||
"build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node",
|
"build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node",
|
||||||
|
|
Loading…
Reference in New Issue