@lifi/composer-sdk
Version:
Public Composer SDK for building and submitting flows
81 lines (80 loc) • 2.27 kB
JSON
{
"name": "@lifi/composer-sdk",
"version": "0.18.0",
"description": "Public Composer SDK for building and submitting flows",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/lifinance/Yggdrasil.git",
"directory": "ts/packages/composer-sdk"
},
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=24"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc --noEmit && tsdown",
"clean": "rm -rf dist out",
"pack:local": "yarn build && mkdir -p out && yarn pack --out 'out/%s-%v.tgz'",
"generate": "tsx scripts/generate-sdk/index.ts",
"test": "yarn check:types:test && vitest run --config vitest.config.ts",
"test:affected": "vitest run --since-last-run --config vitest.config.ts",
"check:types": "tsc --noEmit",
"check:types:test": "tsc -p tsconfig.test.json --noEmit",
"check:sdk-drift": "vitest run --config vitest.drift.config.ts",
"fix": "yarn fix:lint",
"fix:lint": "oxlint src --fix",
"lint": "oxlint src",
"test:lint": "oxlint src",
"example": "tsx src/examples/run.ts"
},
"peerDependencies": {
"@lifi/compose-spec": "0.18.0"
},
"dependencies": {
"abitype": "^1.2.3",
"effect": "^3.21.0",
"zod": "^4.6.6"
},
"devDependencies": {
"@lifi/compose-spec": "workspace:^",
"@lifi/oxlint-plugin": "workspace:^",
"@lifi/vitest-config": "workspace:^",
"@types/node": "^24.9.2",
"json-schema-to-typescript": "^16.0.0",
"oxfmt": "^0.76.0",
"oxlint": "^1.91.0",
"oxlint-tsgolint": "^7.0.2005",
"tsdown": "^0.23.0",
"tsx": "^4.23.15",
"typescript": "~7.0.2",
"vite": "^8.2.4",
"vitest": "^5.1.0"
},
"files": [
"dist/**",
"!dist/**/*.tsbuildinfo",
"src/**/*.ts",
"!src/**/*.spec.ts",
"!src/**/*.test.ts",
"!src/**/*.mock.ts",
"!src/**/*.typecheck.ts",
"!dist/**/*.typecheck.*"
]
}