@crvouga/mockingbird-service-twilio 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server.js ADDED
@@ -0,0 +1,12 @@
1
+ import {
2
+ DEFAULT_PORT,
3
+ createServer,
4
+ serveTarget
5
+ } from "./chunk-37HPXDSK.js";
6
+ import "./chunk-VOBVFMYN.js";
7
+ export {
8
+ DEFAULT_PORT,
9
+ createServer,
10
+ serveTarget
11
+ };
12
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
package/package.json ADDED
@@ -0,0 +1,97 @@
1
+ {
2
+ "name": "@crvouga/mockingbird-service-twilio",
3
+ "version": "0.1.0",
4
+ "description": "Stateful mock of Twilio Verify, Lookup v2, Messaging and Recordings on one port, with signed inbound SMS and voice webhooks (Mockingbird service contract).",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "files": [
9
+ "dist",
10
+ "README.md",
11
+ "CHANGELOG.md"
12
+ ],
13
+ "main": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
+ },
20
+ "./server": {
21
+ "types": "./dist/server.d.ts",
22
+ "default": "./dist/server.js"
23
+ }
24
+ },
25
+ "bin": {
26
+ "mockingbird-twilio": "./dist/cli.js"
27
+ },
28
+ "publishConfig": {
29
+ "access": "public",
30
+ "provenance": true
31
+ },
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "git+https://github.com/crvouga/mockingbird.git",
35
+ "directory": "packages/service/twilio"
36
+ },
37
+ "homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/twilio#readme",
38
+ "keywords": [
39
+ "mockingbird",
40
+ "service",
41
+ "twilio",
42
+ "verify",
43
+ "otp",
44
+ "lookup",
45
+ "sms",
46
+ "mock"
47
+ ],
48
+ "mockingbird": {
49
+ "runtime": "portable",
50
+ "entries": {
51
+ "server": "node",
52
+ "cli": "node"
53
+ },
54
+ "layer": "service",
55
+ "category": "communication",
56
+ "displayName": "Twilio",
57
+ "status": "wip",
58
+ "playground": {
59
+ "headers": {
60
+ "authorization": "Basic QUMwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDptb2NraW5nYmlyZA=="
61
+ }
62
+ }
63
+ },
64
+ "scripts": {
65
+ "generate": "bun ../../openapi/codegen/dist/cli.js",
66
+ "generate:check": "bun ../../openapi/codegen/dist/cli.js --check",
67
+ "openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate",
68
+ "build": "bun ../../../scripts/bundle-service.ts",
69
+ "typecheck": "tsc -p tsconfig.json --noEmit",
70
+ "lint": "biome check .",
71
+ "test": "bun test",
72
+ "parity": "bun scripts/parity.ts",
73
+ "portability": "bun ../../../scripts/portability.ts",
74
+ "pack:check": "bun ../../../scripts/pack-check.ts"
75
+ },
76
+ "dependencies": {
77
+ "@crvouga/mockingbird-service-sqlite": "0.3.0",
78
+ "hono": "4.11.9",
79
+ "libphonenumber-js": "1.13.4"
80
+ },
81
+ "devDependencies": {
82
+ "fast-check": "4.9.0",
83
+ "@crvouga/mockingbird-testing": "0.1.0",
84
+ "@crvouga/mockingbird-service-sqlite": "0.0.0-development",
85
+ "@crvouga/mockingbird-parity": "0.0.0-development",
86
+ "@crvouga/mockingbird-openbao": "0.0.0-development",
87
+ "@crvouga/mockingbird-openapi-codegen": "0.1.0",
88
+ "@crvouga/mockingbird-openapi-metadata": "0.0.0-development",
89
+ "@crvouga/mockingbird-core": "0.0.0-development",
90
+ "@crvouga/mockingbird-sqlite": "0.0.0-development",
91
+ "@crvouga/mockingbird-openapi": "0.0.0-development",
92
+ "@crvouga/mockingbird-service": "0.0.0-development",
93
+ "@crvouga/mockingbird-http-codec": "0.0.0-development",
94
+ "@crvouga/mockingbird-adapter-node": "0.0.0-development",
95
+ "twilio": "5.10.0"
96
+ }
97
+ }