-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.63 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "@messages-dev/sdk",
"version": "0.1.1",
"description": "Official TypeScript SDK for the messages.dev iMessage API. Send and receive iMessage and SMS messages from Node.js, Bun, and the browser.",
"keywords": [
"imessage",
"imessage-api",
"sms",
"sms-api",
"messages",
"messaging",
"webhooks",
"typescript",
"sdk",
"messages-dev"
],
"license": "MIT",
"homepage": "https://messages.dev",
"repository": {
"type": "git",
"url": "https://github.com/messages-dev/sdk.git"
},
"bugs": {
"url": "https://github.com/messages-dev/sdk/issues"
},
"type": "module",
"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"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"build": "bun run build:clean && bun run build:js && bun run build:types",
"build:clean": "rm -rf dist",
"build:js": "bun build ./src/index.ts --outdir ./dist --target=browser --format=esm --external zod --sourcemap=linked && bun build ./src/index.ts --outdir ./dist --target=node --format=cjs --external zod --sourcemap=linked --entry-naming \"[dir]/[name].cjs\"",
"build:types": "tsc -p tsconfig.build.json",
"test": "bun test",
"typecheck": "tsc --noEmit",
"prepublishOnly": "bun run build"
},
"dependencies": {
"zod": "^3.24.0"
},
"devDependencies": {
"typescript": "^5.7.0",
"@types/bun": "latest"
}
}