UNPKG

gill

Version:

a modern javascript/typescript client library for interacting with the Solana blockchain

120 lines 4.6 kB
{ "name": "gill", "license": "MIT", "version": "0.10.3", "description": "a modern javascript/typescript client library for interacting with the Solana blockchain", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.node.mjs", "require": "./dist/index.node.cjs" }, "./edge-light": { "types": "./dist/index.d.ts", "import": "./dist/index.node.mjs", "require": "./dist/index.node.cjs" }, "./workerd": { "types": "./dist/index.d.ts", "import": "./dist/index.node.mjs", "require": "./dist/index.node.cjs" }, "./browser": { "types": "./dist/index.d.ts", "import": "./dist/index.browser.mjs", "require": "./dist/index.browser.cjs" }, "./react-native": "./dist/index.native.mjs", "./node": { "types": "./dist/node/index.d.ts", "import": "./dist/node/index.node.mjs", "require": "./dist/node/index.node.cjs" }, "./programs/token": { "types": "./dist/programs/token/index.d.ts", "import": "./dist/programs/token/index.node.mjs", "require": "./dist/programs/token/index.node.cjs" }, "./programs": { "types": "./dist/programs/index.d.ts", "import": "./dist/programs/index.node.mjs", "require": "./dist/programs/index.node.cjs" }, "./types": "./dist/index.d.ts" }, "browser": { "./dist/index.node.cjs": "./dist/index.browser.cjs", "./dist/index.node.mjs": "./dist/index.browser.mjs" }, "main": "./dist/index.node.cjs", "module": "./dist/index.node.mjs", "react-native": "./dist/index.native.mjs", "types": "./dist/index.d.ts", "type": "commonjs", "files": [ "./dist/" ], "sideEffects": false, "keywords": [ "blockchain", "solana", "web3", "web3js v2", "solana kit", "wallet", "dapps", "solana helpers", "@solana/web3.js", "@solana/kit", "@solana-developers/helpers", "treeshake" ], "author": "Solana Foundation DevRel <devrel@solana.org>", "homepage": "https://github.com/DecalLabs/gill#readme", "bugs": { "url": "https://github.com/DecalLabs/gill/issues" }, "browserslist": [ "supports bigint and not dead", "maintained node versions" ], "engines": { "node": ">=20.18.0" }, "dependencies": { "@solana-program/address-lookup-table": "^0.7.0", "@solana-program/compute-budget": "^0.8.0", "@solana-program/system": "^0.7.0", "@solana-program/token-2022": "^0.4.2", "@solana/assertions": "^2.1.1", "@solana/codecs": "^2.1.1", "@solana/kit": "^2.3.0", "@solana/transaction-confirmation": "^2.1.1" }, "peerDependencies": { "typescript": ">=5" }, "scripts": { "clean": "rimraf coverage dist build node_modules .turbo .docs", "clean:docs": "rimraf ../../docs/content/api/gill*", "generate-reexports": "npx esrun ./generate-reexports.ts", "compile:docs-core": "typedoc --options typedoc.core.json", "compile:docs-node": "typedoc --options typedoc.node.json", "compile:docs-programs": "typedoc --options typedoc.programs.json", "compile:docs": "pnpm compile:docs-core && pnpm compile:docs-node && pnpm compile:docs-programs && pnpm move:docs", "move:docs": "pnpm clean:docs && cp -rf ./.docs/* ../../docs/content/api/", "prebuild": "rimraf dist", "compile:js": "tsup --config ./tsup.config.package.ts", "compile:typedefs": "tsc -p ./tsconfig.declarations.json", "publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || (pnpm publish --tag ${PUBLISH_TAG:-canary} --access public --no-git-checks && (([ \"$PUBLISH_TAG\" != \"canary\" ] && pnpm dist-tag add $npm_package_name@$npm_package_version latest) || true))", "publish-packages": "pnpm prepublishOnly && pnpm publish-impl", "coverage": "pnpm test:unit:node --coverage", "coverage:open": "export BROWSER=brave && xdg-open ./coverage/lcov-report/index.html > /dev/null", "test:typecheck": "tsc --noEmit", "test:unit:node": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../packages/test-config/jest-unit.config.node.ts --rootDir . --silent", "test:unit:browser": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../packages/test-config/jest-unit.config.browser.ts --rootDir . --silent", "test:treeshakability:browser": "agadoo dist/index.browser.mjs", "test:treeshakability:native": "agadoo dist/index.native.mjs", "test:treeshakability:node": "agadoo dist/index.node.mjs && agadoo dist/node/index.node.mjs" } }