removed redundant files
This commit is contained in:
parent
5b83f21fc8
commit
8b608c5506
@ -1,12 +0,0 @@
|
||||
{
|
||||
"mailgun": {
|
||||
"api_key": "a4540f0b68d40922a8ee203a44ec880c-623424ea-7d804677",
|
||||
"server": "fitlien.cosqnet.com",
|
||||
"from_address": "postmaster@fitlien.cosqnet.com"
|
||||
},
|
||||
"twilio": {
|
||||
"account_sid": "AC5cfaae728ba68fb1aa6756d973b6e32b",
|
||||
"auth_token": "886ed704c7918078f361f5f88b42ffc0",
|
||||
"phone_number": "+12315005309"
|
||||
}
|
||||
}
|
||||
6224
functions/package-lock.json
generated
6224
functions/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,32 +0,0 @@
|
||||
{
|
||||
"name": "functions",
|
||||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build:watch": "tsc --watch",
|
||||
"serve": "npm run build && firebase emulators:start --inspect-functions",
|
||||
"shell": "npm run build && firebase functions:shell",
|
||||
"start": "npm run shell",
|
||||
"deploy": "firebase deploy --only functions",
|
||||
"logs": "firebase functions:log"
|
||||
},
|
||||
"engines": {
|
||||
"node": "22"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"dotenv": "^16.4.7",
|
||||
"firebase-admin": "^12.6.0",
|
||||
"firebase-functions": "^6.0.1",
|
||||
"form-data": "^4.0.1",
|
||||
"html-to-text": "^9.0.5",
|
||||
"long": "4.0.0",
|
||||
"mailgun.js": "^10.4.0",
|
||||
"twilio": "^5.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"firebase-functions-test": "^3.1.0",
|
||||
"typescript": "^5.8.2"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
@ -5,12 +5,8 @@ import { Message } from "firebase-admin/messaging";
|
||||
import * as express from "express";
|
||||
import * as logger from "firebase-functions/logger";
|
||||
import { onDocumentCreated } from "firebase-functions/firestore";
|
||||
// import * as dotenv from 'dotenv';
|
||||
import * as functions from "firebase-functions";
|
||||
|
||||
// dotenv.config();
|
||||
|
||||
admin.initializeApp();
|
||||
const formData = require('form-data');
|
||||
const Mailgun = require('mailgun.js');
|
||||
const { convert } = require('html-to-text');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user