UNPKG

admitad-api-client

Version:

A TypeScript/JavaScript client for the Admitad API with built-in authentication and token management

60 lines (59 loc) 1.58 kB
{ "name": "admitad-api-client", "version": "1.1.0", "description": "A TypeScript/JavaScript client for the Admitad API with built-in authentication and token management", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "files": [ "dist/**/*", "README.md", "LICENSE" ], "scripts": { "build": "tsc && node scripts/fix-imports.js", "build:watch": "tsc --watch", "test": "bun run test/client.test.ts", "example": "bun run examples/basic-usage.ts", "example:aliexpress": "bun run examples/aliexpress-commission.ts", "example:links": "bun run examples/url-shortener-deeplinks.ts", "dev": "bun run --watch index.ts", "prepublishOnly": "npm run build", "clean": "rm -rf dist", "fix-imports": "node scripts/fix-imports.js" }, "keywords": [ "admitad", "api", "client", "affiliate", "marketing", "typescript", "javascript", "aliexpress", "commission" ], "author": "Roman Zagrebin <seenyat@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/seenyat/admitad-api-client.git" }, "bugs": { "url": "https://github.com/seenyat/admitad-api-client/issues" }, "homepage": "https://github.com/seenyat/admitad-api-client#readme", "engines": { "node": ">=18.0.0" }, "devDependencies": { "@types/bun": "latest", "glob": "^11.0.2", "typescript": "^5.0.0", "typescript-transform-paths": "^3.5.5" }, "peerDependencies": { "typescript": "^5.0.0" } }