UNPKG

@trendmoon/api-client

Version:
57 lines 2.12 kB
{ "name": "@trendmoon/api-client", "version": "0.1.4", "description": "Official TypeScript client for Trendmoon API", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc -p tsconfig.json", "clean": "rm -rf dist", "prepare": "npm run build", "test": "vitest --config vitest.config.ts", "test:coverage": "vitest run --coverage --config vitest.config.ts", "test:run": "vitest run --config vitest.config.ts", "test:watch": "vitest --watch --config vitest.config.ts", "dev": "tsc --watch", "version": "node -e \"require('fs').writeFileSync('CHANGELOG.md', require('fs').readFileSync('CHANGELOG.md', 'utf8').replace('## [Unreleased]', '## [Unreleased]\\n\\n## [' + require('./package.json').version + '] - ' + new Date().toISOString().split('T')[0]))\" && git add CHANGELOG.md", "postversion": "git push --follow-tags", "test:mock": "vitest run --config vitest.config.ts tests/*.mock.test.ts tests/AlertService.test.ts tests/CategoryCoinService.test.ts", "test:integration": "vitest run --config vitest.config.ts tests/CategoryService.test.ts tests/ChatService.test.ts tests/CoinService.test.ts tests/MessageService.test.ts tests/UserService.test.ts tests/ChatActivityService.test.ts tests/TrendmoonApiClient.test.ts tests/SocialService.test.ts" }, "files": [ "dist/**/*", "README.md" ], "keywords": [ "trendmoon", "api", "client", "typescript", "sdk" ], "author": "", "license": "ISC", "dependencies": { "node-fetch": "^2.7.0", "dotenv": "^16.4.5", "zod": "^3.22.4" }, "devDependencies": { "typescript": "^5.3.3", "vitest": "^1.6.0", "@vitest/coverage-v8": "^1.6.0", "@types/node": "^20.14.8", "@types/node-fetch": "^2.6.11" }, "engines": { "node": ">=16.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/Trend-Spotter/trendmoon-api-client.git" }, "bugs": { "url": "https://github.com/Trend-Spotter/trendmoon-api-client/issues" }, "homepage": "https://github.com/Trend-Spotter/trendmoon-api-client" }