{ "name": "@thirdweb-dev/api", "version": "0.2.0", "repository": { "type": "git", "url": "git+https://github.com/thirdweb-dev/js.git#main" }, "author": "thirdweb eng ", "type": "module", "main": "./dist/cjs/exports/thirdweb.js", "module": "./dist/esm/exports/thirdweb.js", "types": "./dist/types/exports/thirdweb.d.ts", "typings": "./dist/types/exports/thirdweb.d.ts", "license": "Apache-2.0", "bugs": { "url": "https://github.com/thirdweb-dev/js/issues" }, "dependencies": { "@hey-api/client-fetch": "0.10.0" }, "engines": { "node": ">=18" }, "exports": { ".": { "types": "./dist/types/exports/thirdweb.d.ts", "import": "./dist/esm/exports/thirdweb.js", "default": "./dist/cjs/exports/thirdweb.js" }, "./package.json": "./package.json" }, "files": [ "dist/*", "src/*" ], "devDependencies": { "@biomejs/biome": "2.0.6", "@hey-api/openapi-ts": "0.97.3", "rimraf": "6.0.1", "tslib": "^2.8.1" }, "peerDependencies": { "typescript": ">=5.0.4" }, "peerDependenciesMeta": { "typescript": { "optional": true } }, "scripts": { "build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm build:types", "build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json", "build:esm": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json", "build:generate": "openapi-ts && pnpm format && pnpm fix", "build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap", "clean": "rimraf dist", "fix": "biome check --write ./src", "format": "biome format --write ./src", "lint": "biome check ./src" } }