51 lines
1.6 KiB
JSON
51 lines
1.6 KiB
JSON
|
{
|
||
|
"name": "@omnivore/inbound-email-handler",
|
||
|
"version": "1.0.0",
|
||
|
"description": "",
|
||
|
"main": "build/src/index.js",
|
||
|
"types": "build/src/index.d.ts",
|
||
|
"files": [
|
||
|
"build/src"
|
||
|
],
|
||
|
"license": "Apache-2.0",
|
||
|
"keywords": [],
|
||
|
"scripts": {
|
||
|
"test": "yarn mocha -r ts-node/register --config mocha-config.json",
|
||
|
"test:typecheck": "tsc --noEmit",
|
||
|
"lint": "eslint src --ext ts,js,tsx,jsx",
|
||
|
"compile": "tsc",
|
||
|
"build": "tsc",
|
||
|
"start": "functions-framework --source=build/src/ --target=inboundEmailHandler",
|
||
|
"dev": "concurrently \"tsc -w\" \"nodemon --watch ./build/ --exec npm run start\"",
|
||
|
"gcloud-deploy": "gcloud functions deploy inboundEmailHandler --trigger-http --allow-unauthenticated --region=$npm_config_region --runtime nodejs14 --env-vars-file=../gcf-shared/env-$npm_config_env.yaml",
|
||
|
"deploy": "yarn build && yarn gcloud-deploy"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/addressparser": "^1.0.1",
|
||
|
"@types/json-bigint": "^1.0.1",
|
||
|
"@types/node": "^14.11.2",
|
||
|
"@types/rfc2047": "^2.0.1",
|
||
|
"@types/showdown": "^2.0.1",
|
||
|
"chai": "^4.3.6",
|
||
|
"eslint-plugin-prettier": "^4.0.0",
|
||
|
"mocha": "^10.0.0"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@google-cloud/functions-framework": "3.1.2",
|
||
|
"@google-cloud/pubsub": "^4.0.0",
|
||
|
"@omnivore/content-handler": "1.0.0",
|
||
|
"@sendgrid/client": "^7.6.0",
|
||
|
"@sentry/serverless": "^7.77.0",
|
||
|
"addressparser": "^1.0.1",
|
||
|
"axios": "^0.27.2",
|
||
|
"jsonwebtoken": "^8.5.1",
|
||
|
"parse-headers": "^2.0.4",
|
||
|
"parse-multipart-data": "^1.2.1",
|
||
|
"rfc2047": "^4.0.1",
|
||
|
"showdown": "^2.1.0"
|
||
|
},
|
||
|
"volta": {
|
||
|
"extends": "../../package.json"
|
||
|
}
|
||
|
}
|