mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 01:36:56 +01:00
commit
4570b24a5d
@ -3,3 +3,7 @@
|
||||
set -e -x
|
||||
|
||||
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
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,6 +9,7 @@
|
||||
*.sublime-workspace
|
||||
*.sublime-workspace
|
||||
.DS_Store
|
||||
.vscode
|
||||
|
||||
.env
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
*.sublime-workspace
|
||||
*.sublime-workspace
|
||||
.DS_Store
|
||||
.vscode
|
||||
|
||||
.env
|
||||
|
||||
|
@ -5,7 +5,10 @@ services:
|
||||
|
||||
language: node_js
|
||||
|
||||
node_js: 7
|
||||
node_js:
|
||||
- 8
|
||||
- 9
|
||||
- 10
|
||||
|
||||
cache:
|
||||
directories:
|
||||
@ -23,10 +26,8 @@ install:
|
||||
|
||||
before_script:
|
||||
- .ci/travis-before-script.sh
|
||||
- gem install cowsay
|
||||
- npm install -g codecov
|
||||
|
||||
script: yarn test
|
||||
script: npm test
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,3 +0,0 @@
|
||||
{
|
||||
"restructuredtext.confPath": "/home/michiel/projects/bigchaindb-driver/js-bigchaindb-driver"
|
||||
}
|
@ -29,11 +29,11 @@ services:
|
||||
retries: 3
|
||||
command: -l DEBUG start
|
||||
tendermint:
|
||||
image: tendermint/tendermint:0.12
|
||||
image: tendermint/tendermint:0.19.2
|
||||
volumes:
|
||||
- ./compose/tendermint/tmdata/config.toml:/tendermint/config.toml
|
||||
entrypoint: ''
|
||||
ports:
|
||||
- "46656"
|
||||
- "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()
|
||||
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
@ -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 ======== //
|
||||
/**
|
||||
|
@ -13,7 +13,7 @@
|
||||
"main": "./dist/node/index.js",
|
||||
"browser": "./dist/browser/bigchaindb-driver.cjs2.min.js",
|
||||
"scripts": {
|
||||
"lint": "eslint ./",
|
||||
"lint": "./node_modules/.bin/eslint ./",
|
||||
"build": "npm run clean && npm run build:cjs && npm run build:dist",
|
||||
"build:bundle": "webpack",
|
||||
"build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node",
|
||||
|
Loading…
Reference in New Issue
Block a user