{ "name": "@bigcapital/sdk-ts", "version": "1.0.0", "description": "TypeScript types generated from the Bigcapital API OpenAPI/Swagger spec", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "scripts": { "generate": "node -e \"if(!require('fs').existsSync('./openapi.json')){console.error('\\n openapi.json not found. Run from repo root: pnpm run generate:sdk-types\\n'); process.exit(1)}\" && npx openapi-typescript ./openapi.json -o ./src/schema.ts", "build:cjs": "tsup src/index.ts --format cjs --dts --sourcemap", "build:esm": "tsup src/index.ts --format esm --dts --sourcemap", "build": "npm run build:cjs && npm run build:esm", "dev": "npm run build -- --watch", "typecheck": "tsc --noEmit" }, "author": "", "license": "ISC", "dependencies": { "openapi-typescript-fetch": "^2.2.1" }, "devDependencies": { "openapi-typescript": "^7.0.0", "tsup": "^8.3.0", "typescript": "^5.1.3" } }