Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
RECEIVE_EMAIL=test@example.com
FIELDS=["PAGE SENT TO", "INCIDENT", "CALL TYPE", "ADDRESS", "APT / FLR", "LOCATION", "CROSS STREETS", "EMD CODE", "LATITUDE", "LONGITUDE"]
SLACK_BOT_TOKEN=xoxb-xxxxxxxxxxxxxxxxxxxxxxxx
SLACK_SIGNING_SECRET=randomstringfromslackhere
SLACK_CHANNEL=XXXXXXXXX
HTTP_PORT=3000
HEADSUP_URL=headsupurlhere(orblanktodisable)
HEADSUP_TOKEN=randomstringhere
GOOGLE_MAPS_API_KEY=superlongapikey
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ dist

# TernJS port file
.tern-port

*.env
92 changes: 66 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "herald",
"version": "1.1.0",
"version": "2.0.0",
"description": "A package to parse text message dispatches and send them to Slack",
"main": "server.js",
"scripts": {
Expand All @@ -23,7 +23,8 @@
"dotenv": "^16.0.2",
"mailparser": "^3.5.0",
"nodemailer": "^6.7.8",
"simple-smtp-listener": "^1.0.1"
"simple-smtp-listener": "^1.0.1",
"smtp-server": "^3.18.0"
},
"overrides": {
"simple-smtp-listener": {
Expand Down
Loading
Loading