post flow-to-ts cleanup

This commit is contained in:
Fred K. Schott
2018-01-29 11:06:40 -08:00
committed by Elliot Lee
parent dc39343899
commit 94196ab268
5 changed files with 4 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
{
"presets": ["es2015", "stage-1", "flow"]
}

View File

@@ -1,10 +0,0 @@
[ignore]
.*/ripple-lib/dist/.*
.*/ripple-lib/test/fixtures/.*
[include]
[libs]
[options]
module.system=node

View File

@@ -64,14 +64,13 @@
"clean": "rm -rf dist/npm", "clean": "rm -rf dist/npm",
"compile": "mkdir -p dist/npm/common && cp -r src/common/schemas dist/npm/common/ && tsc", "compile": "mkdir -p dist/npm/common && cp -r src/common/schemas dist/npm/common/ && tsc",
"watch": "tsc -w", "watch": "tsc -w",
"compile-with-source-maps": "babel -D --optional runtime -s -t -d dist/npm/ src/",
"prepublish": "npm run clean && npm run compile", "prepublish": "npm run clean && npm run compile",
"test": "nyc mocha", "test": "nyc mocha",
"coveralls": "cat ./coverage/lcov.info | coveralls", "coveralls": "cat ./coverage/lcov.info | coveralls",
"lint": "tslint -p ./", "lint": "tslint -p ./",
"perf": "./scripts/perf_test.sh", "perf": "./scripts/perf_test.sh",
"start": "babel-node scripts/http.js", "start": "node scripts/http.js",
"sauce": "babel-node scripts/sauce-runner.js" "sauce": "node scripts/sauce-runner.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@@ -1,6 +1,6 @@
'use strict'; 'use strict';
const createHTTPServer = require('../src/http').createHTTPServer; const createHTTPServer = require('../dist/npm/http').createHTTPServer;
const port = 5990; const port = 5990;
const serverUrl = 'wss://s1.ripple.com'; const serverUrl = 'wss://s1.ripple.com';

View File

@@ -2,7 +2,7 @@
import * as assert from 'assert' import * as assert from 'assert'
import * as _ from 'lodash' import * as _ from 'lodash'
import jayson from 'jayson' import * as jayson from 'jayson'
import {RippleAPI} from './api' import {RippleAPI} from './api'