Skip to content

Commit

Permalink
Add twilio servlet
Browse files Browse the repository at this point in the history
  • Loading branch information
bhelx committed Jan 21, 2025
1 parent ae7f55a commit 4a56a73
Show file tree
Hide file tree
Showing 13 changed files with 1,167 additions and 0 deletions.
42 changes: 42 additions & 0 deletions servlets/twilio/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
*.swp

pids
logs
results
tmp

# Build
public/css/main.css

# Coverage reports
coverage

# API keys and secrets
.env

# Dependency directory
node_modules
bower_components

# Editors
.idea
*.iml

# OS metadata
.DS_Store
Thumbs.db

# Ignore built ts files
dist/**/*

# ignore yarn.lock
yarn.lock

4 changes: 4 additions & 0 deletions servlets/twilio/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
.git

Empty file added servlets/twilio/.prettierrc
Empty file.
12 changes: 12 additions & 0 deletions servlets/twilio/esbuild.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const esbuild = require('esbuild');

esbuild
.build({
entryPoints: ['src/index.ts'],
outdir: 'dist',
bundle: true,
sourcemap: true,
minify: false, // might want to use true for production build
format: 'cjs', // needs to be CJS for now
target: ['es2020'], // don't go over es2020 because quickjs doesn't support it
})
Loading

0 comments on commit 4a56a73

Please sign in to comment.