UNPKG

@fuel-ts/abi-typegen

Version:

Generates Typescript definitions from Sway ABI Json files

74 lines 1.87 kB
{ "name": "@fuel-ts/abi-typegen", "version": "0.103.0", "description": "Generates Typescript definitions from Sway ABI Json files", "author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)", "bin": { "fuels-typegen": "typegen.js" }, "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "engines": { "node": "^20.0.0 || ^22.0.0 || ^24.0.0" }, "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.mjs" }, "./cli": { "types": "./dist/cli.d.ts", "require": "./dist/cli.js", "import": "./dist/cli.mjs" }, "./runTypegen": { "types": "./dist/runTypegen.d.ts", "require": "./dist/runTypegen.js", "import": "./dist/runTypegen.mjs" } }, "typesVersions": { "*": { "cli": [ "./dist/cli.d.ts" ], "runTypegen": [ "./dist/runTypegen.d.ts" ] } }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/FuelLabs/fuels-ts.git" }, "license": "Apache-2.0", "dependencies": { "commander": "13.1.0", "glob": "10.4.5", "handlebars": "4.7.8", "mkdirp": "3.0.1", "ramda": "0.30.1", "rimraf": "5.0.10", "@fuel-ts/errors": "0.103.0", "@fuel-ts/utils": "0.103.0", "@fuel-ts/versions": "0.103.0" }, "devDependencies": { "@types/ramda": "0.30.2", "@types/rimraf": "3.0.2", "@internal/forc": "0.89.9" }, "scripts": { "pretest": "pnpm build:forc", "test": "cd ../.. && pnpm run test:filter packages/abi-typegen", "test:update-fixtures": "UPDATE_FIXTURES=true pnpm run test", "build": "tsup", "build:forc": "pnpm fuels-forc build -p test/fixtures/forc-projects --release", "postbuild": "tsx ../../scripts/postbuild.ts" } }