UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

77 lines (76 loc) 2.24 kB
{ "name": "@simpleapps-com/augur-api", "version": "0.3.0", "description": "TypeScript client library for Augur microservices API endpoints", "keywords": [ "augur", "api", "client", "typescript", "microservices" ], "license": "MIT", "author": "SimpleEnigma", "exports": { ".": { "types": "./dist/types/index.d.ts", "require": "./dist/cjs/index.js", "import": "./dist/esm/index.js" } }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", "directories": { "doc": "api-reference", "test": "tests" }, "files": [ "dist", "README.md", "QUICKSTART.md", "API-DISCOVERY.md", "AUTHENTICATION.md", "PERFORMANCE.md" ], "scripts": { "build": "npm run build:cjs && npm run build:esm && npm run build:types && npm run build:package-json", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json", "build:types": "tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types", "build:package-json": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json && echo '{\"type\":\"module\"}' > dist/esm/package.json", "clean": "rm -rf dist", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:e2e": "jest --config jest.e2e.config.js", "test:e2e:watch": "jest --config jest.e2e.config.js --watch", "test:users": "ts-node test-users.ts", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "format": "prettier --write .", "format:check": "prettier --check .", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run clean && npm run build" }, "dependencies": { "axios": "^1.6.5", "zod": "^3.22.4" }, "devDependencies": { "@types/jest": "^29.5.12", "@types/node": "^20.11.5", "@typescript-eslint/eslint-plugin": "^8.35.0", "@typescript-eslint/parser": "^8.35.0", "eslint": "^8.56.0", "eslint-plugin-complexity": "^1.0.2", "jest": "^29.7.0", "prettier": "^3.6.2", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, "engines": { "node": ">=16.0.0" }, "module": "dist/esm/index.js" }