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 0
/
package.json
44 lines (44 loc) · 1.52 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
{
"name": "travis-logs-to-papertrail",
"version": "0.0.5",
"description": "Lambda function to send Travis CI build logs to Papertrail.",
"homepage": "https://github.com/tdmalone/travis-logs-to-papertrail#readme",
"repository": "git+https://github.com/tdmalone/travis-logs-to-papertrail.git",
"main": "index.js",
"author": "Tim Malone <tdmalone@gmail.com>",
"license": "MIT",
"scripts": {
"lint": "cross-env DEBUG=eslint:cli-engine eslint --color --ignore-pattern '/coverage/' --ignore-pattern '/docs/' --ignore-pattern '!.eslintrc.js' \"**/*.js\"",
"fix": "yarn lint --fix",
"test": "yarn unit-tests && yarn docker-tests",
"docker-tests": "docker run -e CI -e PAPERTRAIL_HOST -e PAPERTRAIL_PORT -e TRAVIS_API_TOKEN --rm -v $PWD:/var/task lambci/lambda:nodejs6.10 index.handler '{ \"body\": \"payload=%7B%22id%22%3A336546217%2C%22repository%22%3A%7B%22name%22%3A%22travis-logs-to-papertrail-TESTER%22%7D%7D\" }'",
"unit-tests": "jest --verbose --coverage"
},
"keywords": [
"aws",
"travis-ci",
"lambda",
"logging",
"logs",
"papertrail"
],
"jest": {
"testMatch": [
"**/tests/**/*.js"
]
},
"dependencies": {
"@tdmalone/lambda-proxy-response": "^0.0.2",
"travis-ci": "^2.1.1",
"travis-log-stream": "^2.0.0",
"winston": "^2.4.0",
"winston-papertrail": "hyrwork/winston-papertrail"
},
"devDependencies": {
"cross-env": "^5.1.0",
"eslint": "^4.8.0",
"eslint-config-tdmalone": "^0.0.1",
"jest": "^21.2.1",
"jest-tobetype": "^1.1.0"
}
}