-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
29 lines (29 loc) · 1.03 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "static-site-mailer",
"version": "1.0.0",
"description": "A contact form mailer using Serverless for static sites",
"main": "index.js",
"scripts": {
"deploy": "sls deploy",
"deploy-submit-form": "sls deploy function -f submitForm",
"invoke": "sls invoke -f submitForm",
"invoke-local": "sls invoke local -f submitForm -p ./tests/data.json",
"logs": "sls logs -f submitForm -t",
"serverless": "node_modules/.bin/serverless",
"sls": "node_modules/.bin/serverless",
"service-info": "sls info",
"test": "yarn test-honeypot && yarn test-ses && yarn test-send-to",
"test-honeypot": "sls invoke local -f submitForm -p ./tests/honeypot.json",
"test-ses": "sls invoke local -f submitForm -p ./tests/ses.json",
"test-send-to": "sls invoke local -f submitForm -p ./tests/send-to.json"
},
"author": "Brian Holt <[email protected]>",
"license": "MIT",
"dependencies": {
"aws-sdk": "^2.596.0",
"serverless": "^1.60.4"
},
"devDependencies": {
"prettier": "^1.19.1"
}
}