forked from lambci/lambci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.51 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
{
"name": "lambci",
"version": "0.9.10",
"description": "A continuous integration system built on AWS Lambda",
"repository": "lambci/lambci",
"author": "Michael Hart <[email protected]>",
"license": "MIT",
"main": "index.js",
"engines": {
"node": ">=4.0.0"
},
"scripts": {
"test": "mocha",
"integration": "node test/integration.js",
"v": "node -p 'require(\"./package.json\").version'",
"publish": "npm run pkg:zip && ./publish.sh",
"pkg:zip": "rm -f lambda.zip && zip -qyr lambda.zip . [email protected]",
"lambda:update": "npm run pkg:zip && aws lambda update-function-code --function-name ${STACK:-lambci}-build --zip-file fileb://lambda.zip",
"stack:update": "aws cloudformation update-stack --stack-name ${STACK:-lambci} --template-body file://lambci.template --capabilities CAPABILITY_IAM --parameters ParameterKey=Version,ParameterValue=$(npm run -s v) ParameterKey=GithubToken,UsePreviousValue=True ParameterKey=Repositories,UsePreviousValue=True ParameterKey=SlackToken,UsePreviousValue=True ParameterKey=SlackChannel,UsePreviousValue=True",
"stack:status": "aws cloudformation describe-stacks --stack-name ${STACK:-lambci} --query 'Stacks[0].StackStatus'",
"docker": "docker build -t lambci/lambci ."
},
"dependencies": {
"ansi_up": "1.3.0",
"async": "1.5.2",
"aws-sdk": "2.7.27",
"nave": "1.0.1",
"npm": "lambci/npm#v2.15.11-lambci"
},
"devDependencies": {
"chai": "^3.5.0",
"docker-lambda": "^0.10.1",
"mocha": "^3.1.2"
}
}