Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
keefertaylor committed Sep 28, 2019
1 parent 068d037 commit 1f432b0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
10 changes: 7 additions & 3 deletions package.json
@@ -1,8 +1,8 @@
{
"name": "xpring-js",
"version": "0.1.0",
"version": "1.0.2",
"description": "XpringJS provides a Javascript based SDK for interacting with the Ripple Ledger.",
"main": "index.js",
"main": "build/src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/xpring-eng/Xpring-JS.git"
Expand All @@ -14,8 +14,12 @@
},
"scripts": {
"pretest": "",
"test": "nyc mocha"
"test": "nyc mocha",
"prepublishOnly": "npm test && tsc -d"
},
"files": [
"build/**/*"
],
"homepage": "https://github.com/xpring-eng/Xpring-JS#readme",
"devDependencies": {
"@types/chai": "4.2.0",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
@@ -0,0 +1,2 @@
export { AccountInfo, SubmitSignedTransactionResponse, XRPAmount, Wallet, WalletGenerationResult, Utils } from "@xpring-eng/xpring-common-js";
export { default as XpringClient } from "./xpring-client"
1 change: 1 addition & 0 deletions test/integration-test.ts
Expand Up @@ -3,6 +3,7 @@ import XpringClient from "../src/xpring-client";
import { assert } from "chai";

/* eslint-disable @typescript-eslint/no-non-null-assertion */
/* eslint-disable @typescript-eslint/no-magic-numbers */

// A timeout for these tests.
const timeoutMs = 60 * 1000; // 1 minute
Expand Down
7 changes: 3 additions & 4 deletions tsconfig.json
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"allowJs": true,
"baseUrl": "src",
"rootDir": "./",
"outDir": "build",
Expand All @@ -11,12 +10,12 @@
"removeComments": true,
"strict": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"esModuleInterop": true
},
"include": [
"src/**/*",
"generated/*",
"test/fakes",
"xpring-common-js/*/*",
],
"xpring-common-js/*/*"
]
}

0 comments on commit 1f432b0

Please sign in to comment.