UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

83 lines (82 loc) 2.5 kB
{ "name": "@simpleapps-com/augur-api", "version": "0.6.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", "API-SERVICES.md", "AUTHENTICATION.md", "PERFORMANCE.md", "TIPS-AND-TRICKS.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", "test:pricing-cache": "ts-node scripts/test-pricing-cache.ts", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "format": "prettier --write .", "format:check": "prettier --check .", "typecheck": "tsc --noEmit", "check": "npm run format && npm run lint && npm run typecheck", "prepublishOnly": "npm run clean && npm run build" }, "dependencies": { "axios": "^1.6.5", "zod": "^3.22.4" }, "devDependencies": { "@readme/openapi-parser": "^5.0.1", "@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", "openapi-types": "^12.1.3", "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" }