mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 12:45:50 +00:00
post flow-to-ts cleanup
This commit is contained in:
committed by
Elliot Lee
parent
dc39343899
commit
94196ab268
10
.flowconfig
10
.flowconfig
@@ -1,10 +0,0 @@
|
|||||||
[ignore]
|
|
||||||
.*/ripple-lib/dist/.*
|
|
||||||
.*/ripple-lib/test/fixtures/.*
|
|
||||||
|
|
||||||
[include]
|
|
||||||
|
|
||||||
[libs]
|
|
||||||
|
|
||||||
[options]
|
|
||||||
module.system=node
|
|
||||||
@@ -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",
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user