feat: add JavaScript Socialhose API SDK
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "@socialhose/api",
|
||||
"version": "0.1.0",
|
||||
"description": "TypeScript SDK for the Socialhose Public API.",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"files": ["dist", "README.md", "LICENSE"],
|
||||
"main": "./dist/index.cjs",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.js",
|
||||
"require": "./dist/index.cjs"
|
||||
}
|
||||
},
|
||||
"engines": { "node": ">=18" },
|
||||
"scripts": {
|
||||
"build": "tsup src/index.ts --format esm,cjs --dts --sourcemap --clean",
|
||||
"test": "vitest run",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"prepublishOnly": "pnpm test && pnpm typecheck && pnpm build"
|
||||
},
|
||||
"keywords": ["socialhose", "social-listening", "social-media", "public-api", "monitoring"],
|
||||
"publishConfig": { "access": "public", "provenance": true },
|
||||
"devDependencies": {
|
||||
"@types/node": "20.16.0",
|
||||
"tsup": "8.3.0",
|
||||
"typescript": "5.6.2",
|
||||
"vitest": "2.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user