chore: prepare JavaScript SDK for npm publish

This commit is contained in:
Mo Elzubeir
2026-05-29 13:46:11 -05:00
parent c860cf6d88
commit d820a39223
4 changed files with 91 additions and 3 deletions
+9 -1
View File
@@ -3,8 +3,16 @@
"version": "0.1.0",
"description": "TypeScript SDK for the Socialhose Public API.",
"license": "MIT",
"author": "Socialhose",
"type": "module",
"sideEffects": false,
"packageManager": "pnpm@9.15.0",
"repository": {
"type": "git",
"url": "git+ssh://git@git.elzubeir.com/socialhose/sdk.git",
"directory": "sdks/javascript"
},
"homepage": "https://socialhose.net",
"files": [
"dist",
"docs",
@@ -29,7 +37,7 @@
"build": "tsup src/index.ts --format esm,cjs --dts --sourcemap --clean",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"prepublishOnly": "pnpm test && pnpm typecheck && pnpm build"
"prepublishOnly": "npm run test && npm run typecheck && npm run build"
},
"keywords": [
"socialhose",