solgen
Version:
A TypeScript SDK generator for Solana IDL - Automatically generates type definitions, account interfaces, and instruction builders
102 lines (101 loc) • 2.98 kB
JSON
{
"name": "solgen",
"version": "0.1.4",
"description": "A TypeScript SDK generator for Solana IDL - Automatically generates type definitions, account interfaces, and instruction builders",
"license": "MIT",
"bin": "lib/main.js",
"files": [
"lib",
"!**/*.map",
"!**/.env",
"!**/.env.*",
"!**/example"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"keywords": [
"solana",
"web3",
"blockchain",
"idl",
"sdk-generator",
"typescript",
"code-generator",
"smart-contracts",
"solana-sdk",
"anchor",
"development-tools",
"web3-tools"
],
"scripts": {
"lint": "eslint src/**/*.ts",
"test": "jest",
"gen:example": "tsx src/main.ts ./example/cpswap.json ./example/generated",
"gen:pump-fun": "tsx src/main.ts ./example/pump-fun.json",
"build": "rm -rf lib && tsup src --format cjs --dts --sourcemap --no-splitting --minify -d lib --silent --platform=node",
"dev": "ts-node -r tsconfig-paths/register",
"watch": "rm -rf lib && tsup src --watch --format cjs,esm --dts --sourcemap --no-splitting --minify -d lib",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"build:publish": "npm run build && npm publish"
},
"dependencies": {
"@coral-xyz/anchor": "^0.30.1",
"@coral-xyz/borsh": "^0.30.1",
"@metaplex-foundation/mpl-token-metadata": "^2.13.0",
"@noble/hashes": "^1.6.1",
"@solana/buffer-layout": "^4.0.1",
"@solana/spl-token": "^0.4.9",
"@solana/spl-token-metadata": "^0.1.6",
"@solana/web3.js": "^1.98.0",
"@types/bn.js": "^5.1.6",
"axios": "^1.7.9",
"big.js": "^6.2.1",
"bignumber.js": "^9.1.2",
"bip39": "^3.1.0",
"bn.js": "^5.2.1",
"bs58": "^6.0.0",
"camelcase": "^6.3.0",
"chalk": "4",
"commander": "^13.0.0",
"dayjs": "^1.11.13",
"decimal.js": "^10.4.3",
"decimal.js-light": "^2.5.1",
"ed25519-hd-key": "^1.3.0",
"jito-ts": "^4.1.2",
"js-sha256": "^0.11.0",
"lodash": "^4.17.21",
"reflect-metadata": "^0.1.13",
"snake-case": "^3.0.4",
"solay": "^0.1.0",
"toformat": "^2.0.0",
"ts-morph": "^25.0.0",
"typedi": "^0.10.0"
},
"devDependencies": {
"@babel/core": "^7.18.0",
"@babel/preset-env": "^7.18.0",
"@babel/preset-typescript": "^7.17.12",
"@tsconfig/node14": "^1.0.3",
"@types/big.js": "^6.1.3",
"@types/node": "^17.0.45",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"babel-jest": "^27.5.1",
"dotenv": "^16.4.7",
"eslint": "^8.15.0",
"eslint-plugin-tsdoc": "^0.2.16",
"jest": "^27.5.1",
"lint-staged": "^12.4.1",
"prettier": "^2.6.2",
"ts-jest": "^27.0.7",
"ts-jest-resolver": "^2.0.0",
"ts-node": "^10.7.0",
"tsup": "^5.12.8",
"tsx": "^4.19.2",
"typescript": "^4.7.3"
}
}