This repository has been archived by the owner on Dec 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 loc) · 1.73 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"name": "sftp-to-papertrail",
"version": "0.2.0",
"description": "A Node module that retrieves one or more log files via SFTP, and logs new entries to Papertrail. Deploys to AWS Lambda and uses S3 for maintaining state.",
"homepage": "https://github.com/tdmalone/sftp-to-papertrail#readme",
"repository": "git+https://github.com/tdmalone/sftp-to-papertrail.git",
"main": "index.js",
"author": "Tim Malone <[email protected]>",
"license": "MIT",
"scripts": {
"lint": "cross-env DEBUG=eslint:cli-engine eslint --color --ignore-pattern '/coverage/' --ignore-pattern '/docs/' --ignore-pattern '!.eslintrc.js' \"**/*.js\"",
"lint:docs": "documentation lint *.js",
"fix": "yarn lint --fix",
"docs": "documentation build *.js --output docs --format html --sort-order alpha",
"test": "yarn unit-tests && yarn docker-tests",
"unit-tests": "jest --verbose --coverage",
"docker-tests": "docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_DEFAULT_REGION -e STP_SFTP_HOST -e STP_SFTP_PORT -e STP_SFTP_USERNAME -e STP_SFTP_PASSWORD -e STP_SFTP_PATH -e STP_S3_BUCKET -e STP_S3_REGION -e STP_SFTP_HOST -e STP_PAPERTRAIL_HOST -e STP_PAPERTRAIL_PORT --rm -v $PWD:/var/task lambci/lambda:nodejs6.10 index.handler {}"
},
"keywords": [
"aws",
"lambda",
"papertrail",
"s3",
"sftp"
],
"jest": {
"testMatch": [
"**/tests/**/*.js"
]
},
"dependencies": {
"aws-sdk": "^2.170.0",
"ssh2-sftp-client": "^2.0.1",
"winston": "^2.4.0",
"winston-papertrail": "^1.0.5"
},
"devDependencies": {
"cross-env": "^5.1.0",
"documentation": "^5.3.5",
"eslint": "^4.8.0",
"eslint-config-tdmalone": "^0.0.1",
"jest": "^21.2.1",
"jest-tobetype": "^1.1.0"
}
}