Merge branch '5_tokens' of github.com:blockworks-foundation/mango-client-ts into 5_tokens
This commit is contained in:
commit
1985bf60be
13
package.json
13
package.json
|
@ -16,7 +16,7 @@
|
|||
"node": ">=10"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build": "tsc --project ./tsconfig.production.json",
|
||||
"start": "ts-node src/tests.ts",
|
||||
"clean": "rm -rf lib",
|
||||
"prepare": "run-s clean build",
|
||||
|
@ -30,17 +30,18 @@
|
|||
"devDependencies": {
|
||||
"@tsconfig/node10": "^1.0.0",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"@types/chai": "^4.2.14",
|
||||
"@types/chai": "^4.2.17",
|
||||
"@types/jest": "^26.0.9",
|
||||
"@types/mocha": "^8.2.2",
|
||||
"@typescript-eslint/eslint-plugin": "^4.6.0",
|
||||
"@typescript-eslint/parser": "^4.6.0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"chai": "^4.2.0",
|
||||
"chai": "^4.3.4",
|
||||
"cross-env": "^7.0.2",
|
||||
"eslint": "^7.6.0",
|
||||
"eslint-config-prettier": "^6.11.0",
|
||||
"jest": "^26.6.3",
|
||||
"mocha": "^8.3.2",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.0.5",
|
||||
"ts-jest": "^26.2.0",
|
||||
|
@ -59,12 +60,10 @@
|
|||
"@project-serum/serum": "^0.13.20",
|
||||
"@project-serum/sol-wallet-adapter": "^0.1.4",
|
||||
"@solana/spl-token": "0.0.13",
|
||||
"@solana/web3.js": "^0.95.0",
|
||||
"@solana/web3.js": "^0.90.0",
|
||||
"bn.js": "^5.1.2",
|
||||
"borsh": "https://github.com/defactojob/borsh-js#field-mapper",
|
||||
"buffer-layout": "^1.2.0",
|
||||
"dotenv": "^10.0.0",
|
||||
"mocha": "^8.4.0"
|
||||
"buffer-layout": "^1.2.0"
|
||||
},
|
||||
"browserslist": [
|
||||
">0.2%",
|
||||
|
|
|
@ -4,7 +4,7 @@ import { Market, TokenInstructions, OpenOrders, Orderbook } from '@project-serum
|
|||
import { token } from '@project-serum/common';
|
||||
import { u64, NATIVE_MINT } from "@solana/spl-token";
|
||||
import { sleep } from '../src/utils';
|
||||
import fs from 'fs';
|
||||
|
||||
console.log = function () {}; // NOTE: Disable all unnecessary logging
|
||||
|
||||
const FAUCET_PROGRAM_ID = new PublicKey(
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"extends": "@tsconfig/node10/tsconfig.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"outDir": "./lib",
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"noImplicitAny": false,
|
||||
"resolveJsonModule": true,
|
||||
"sourceMap": true,
|
||||
"jsx": "react"
|
||||
},
|
||||
"include": ["./src/**/*"],
|
||||
"exclude": ["./src/**/*.test.js", "node_modules", "**/node_modules"]
|
||||
}
|
Loading…
Reference in New Issue