UNPKG

@bbachain/spl-token-swap

Version:

JavaScript/TypeScript bindings for the Solana Program Library (SPL) Token Swap program.

81 lines (80 loc) 2.86 kB
{ "name": "@bbachain/spl-token-swap", "version": "0.1.3", "author": "BBAChain Labs <developers@bbachain.com>", "repository": "https://github.com/bbachain/program-executor", "license": "Apache-2.0", "keywords": [ "token-swap", "bbachain", "blockchain", "amm", "swap" ], "publishConfig": { "access": "public" }, "files": [ "dist" ], "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "scripts": { "check:publish-ready": "yarn build && yarn lint", "preversion": "yarn check:publish-ready", "postversion": "git add package.json && git commit -m \"chore: update $npm_package_name to v$npm_package_version\" && git tag $npm_package_name@$npm_package_version", "prepublishOnly": "yarn check:publish-ready", "postpublish": "git push origin && git push origin --tags", "build:docs": "typedoc", "build": "rimraf dist && tsc -p tsconfig.build.json", "api:gen": "DEBUG='(solita|rustbin):(info|error)' solita", "test": "cpr test/fixtures dist/test/fixtures -o && tape dist/test/*.js", "example:create-pool": "ts-node examples/create-liquidity-pool.ts", "lint": "eslint \"{src,test,examples}/**/*.ts\" --format stylish", "fix:lint": "yarn lint --fix", "prettier": "prettier \"{src,test,examples}/**/*.ts\" --check", "fix:prettier": "prettier --write src/ examples/", "fix": "yarn fix:lint && yarn fix:prettier" }, "dependencies": { "@bbachain/beet": "^0.0.1", "@bbachain/beet-bbachain": "^0.0.1", "@bbachain/buffer-layout": "^1.0.0", "@bbachain/buffer-layout-utils": "^1.0.0", "@bbachain/web3.js": "^1.0.3", "@bbachain/spl-token": "^0.1.5", "@metaplex-foundation/cusper": "^0.0.2", "bn.js": "^5.2.0", "debug": "^4.3.4", "rpc-websockets": "7.11.0" }, "devDependencies": { "@msgpack/msgpack": "^2.8.0", "@types/bn.js": "^5.1.1", "@types/debug": "^4.1.7", "@types/tape": "^4.13.2", "@typescript-eslint/eslint-plugin": "^5.44.0", "@typescript-eslint/parser": "^5.44.0", "cpr": "^3.0.1", "esbuild": "0.15.12", "esbuild-runner": "^2.2.1", "eslint": "^8.3.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "prettier": "^2.5.1", "rimraf": "^3.0.2", "spok": "^1.4.3", "supports-color": "^9.2.3", "tape": "^5.5.3", "ts-node": "^10.9.1", "typedoc": "^0.23.16", "typescript": "^4.9.3" } }